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 whenever cdk-axum is added without default-features = false somewhere in the dependency tree.

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

Enables auth of cdk

Affects auth::get_auth_keysets