Cargo Features
[dependencies]
micron = { version = "0.1.0", default-features = false, features = ["axum", "stripe", "askama", "sled", "redb"] }
- default = askama, axum, sled, stripe
-
These default features are set whenever
micron
is added without
somewhere in the dependency tree.default-features = false - axum default = axum-extra
-
Enables axum ^0.7
Affects
micron::axum
… - stripe default = async-stripe
-
Affects
axum::stripe
,axum::StripeExt
,payment::stripe
,payment::Payment.stripe_session_id
,user::User.stripe_customer_id
…
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.
- axum-extra axum
-
Enables axum-extra ^0.9.2
- askama default
-
Enables askama ^0.12.1
Affects
axum::askama
… - sled default
- redb implicit feature
-
Enables redb
redb:
Rust Embedded DataBase
- async-stripe stripe
-
Enables async-stripe ^0.39