Cargo Features
[dependencies]
cdk-axum = { version = "0.9.0", default-features = false, features = ["redis", "swagger", "auth"] }
- default = auth
-
The
auth
feature is set by default whenevercdk-axum
is added without
somewhere in the dependency tree.default-features = false - redis
-
Enables redis ^0.23.3
Affects
config::ENV_CDK_MINTD_CACHE_REDIS_URL
,config::ENV_CDK_MINTD_CACHE_REDIS_KEY_PREFIX
… - swagger
-
Enables utoipa and swagger of cdk
cdk:
We do not commit to a MSRV with swagger enabled
Affects
cdk-axum::ApiDocV1
… - auth default
-
Affects
auth::get_auth_keysets
…