Cargo Features
[dependencies]
cdk = { version = "0.8.1", default-features = false, features = ["wallet", "mint", "auth", "swagger", "bench"] }
- default = auth, mint, wallet
-
These default features are set whenever
cdk
is added without
somewhere in the dependency tree.default-features = false - wallet default
-
Enables reqwest, wallet of cdk-common
Affects
cdk::wallet
,oidc_client::GrantType
,oidc_client::AccessTokenRequest
,oidc_client::RefreshTokenRequest
,oidc_client::TokenResponse
… - mint default swagger?
-
Enables futures and reqwest, mint of cdk-common
Affects
cdk::mint
… - auth default
-
Enables jsonwebtoken, auth of cdk-common
Affects
mint::Mint.auth_localstore
,http_client::AuthHttpClient
,mint_connector::MintConnector.get_auth_wallet
,mint_connector::MintConnector.set_auth_wallet
… - swagger = mint
-
We do not commit to a MSRV with swagger enabled
Enables utoipa, swagger of cdk-common
- http_subscription bench