|
@@ -11,11 +11,10 @@ license.workspace = true
|
|
|
|
|
|
|
|
|
|
|
|
|
[features]
|
|
[features]
|
|
|
-default = ["mint", "wallet", "auth", "nostr", "bip353"]
|
|
|
|
|
|
|
+default = ["mint", "wallet", "nostr", "bip353"]
|
|
|
wallet = ["dep:futures", "dep:reqwest", "cdk-common/wallet", "dep:rustls"]
|
|
wallet = ["dep:futures", "dep:reqwest", "cdk-common/wallet", "dep:rustls"]
|
|
|
nostr = ["wallet", "dep:nostr-sdk"]
|
|
nostr = ["wallet", "dep:nostr-sdk"]
|
|
|
mint = ["dep:futures", "dep:reqwest", "cdk-common/mint", "cdk-signatory"]
|
|
mint = ["dep:futures", "dep:reqwest", "cdk-common/mint", "cdk-signatory"]
|
|
|
-auth = ["dep:jsonwebtoken", "cdk-common/auth", "cdk-common/auth"]
|
|
|
|
|
bip353 = ["dep:hickory-resolver"]
|
|
bip353 = ["dep:hickory-resolver"]
|
|
|
# We do not commit to a MSRV with swagger enabled
|
|
# We do not commit to a MSRV with swagger enabled
|
|
|
swagger = ["mint", "dep:utoipa", "cdk-common/swagger"]
|
|
swagger = ["mint", "dep:utoipa", "cdk-common/swagger"]
|
|
@@ -56,7 +55,7 @@ futures = { workspace = true, optional = true, features = ["alloc"] }
|
|
|
url.workspace = true
|
|
url.workspace = true
|
|
|
utoipa = { workspace = true, optional = true }
|
|
utoipa = { workspace = true, optional = true }
|
|
|
uuid.workspace = true
|
|
uuid.workspace = true
|
|
|
-jsonwebtoken = { workspace = true, optional = true }
|
|
|
|
|
|
|
+jsonwebtoken.workspace = true
|
|
|
nostr-sdk = { workspace = true, optional = true }
|
|
nostr-sdk = { workspace = true, optional = true }
|
|
|
cdk-prometheus = {workspace = true, optional = true}
|
|
cdk-prometheus = {workspace = true, optional = true}
|
|
|
web-time.workspace = true
|
|
web-time.workspace = true
|
|
@@ -120,7 +119,7 @@ required-features = ["wallet"]
|
|
|
|
|
|
|
|
[[example]]
|
|
[[example]]
|
|
|
name = "auth_wallet"
|
|
name = "auth_wallet"
|
|
|
-required-features = ["wallet", "auth"]
|
|
|
|
|
|
|
+required-features = ["wallet"]
|
|
|
|
|
|
|
|
[[example]]
|
|
[[example]]
|
|
|
name = "bip353"
|
|
name = "bip353"
|