Cargo Features
[dependencies]
cdk = { version = "0.5.0", default-features = false, features = ["mint", "swagger", "wallet", "bench"] }
- default = mint, wallet
-
These default features are set whenever
cdk
is added without
somewhere in the dependency tree.default-features = false - mint default swagger?
-
Enables futures
Affects
cdk_database::mint_memory
,cdk_database::MintDatabase
,cdk::cdk_lightning
,cdk::mint
,nuts::nut17
,nut02::MintKeySet
,nut06::Nuts.nut17
,cdk::cdk_database
… - swagger = mint
-
We do not commit to a MSRV with swagger enabled
Enables utoipa ^4
- wallet default
-
Enables reqwest
Affects
cdk_database::wallet_memory
,cdk_database::WalletDatabase
,cdk::wallet
,cdk::cdk_database
… - bench