Cargo Features
[dependencies]
cdk-common = { version = "0.15.2-rc.0", default-features = false, features = ["swagger", "wallet", "mint", "nostr", "prometheus", "http", "grpc", "bench", "test"] }
- default = mint, wallet
-
These default features are set whenever
cdk-commonis added withoutsomewhere in the dependency tree.default-features = false - swagger
- wallet default nostr?
-
Affects
database::wallet,cdk-common::wallet… - mint default
-
Affects
database::mint,cdk-common::melt,cdk-common::mint,cdk-common::payment,cdk-common::state,ws::notification_uuid_to_notification_string,ws::notification_to_ws_message… - nostr = wallet
- prometheus
-
Enables cdk-prometheus
Affects
payment::MetricsMintPayment… - http
-
Enables cdk-http-client
- grpc
-
Enables tonic
Affects
cdk-common::grpc… - bench
- test
-
Affects
mint::test,wallet::test…
Features from optional dependencies
In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.