Cargo Features
[dependencies]
saasbase = { version = "0.1.0", default-features = false, features = ["axum", "sqlite", "askama", "sled", "redb", "redis", "tikv-client"] }
- default = askama, axum, sled
-
These default features are set whenever
saasbase
is added without
somewhere in the dependency tree.default-features = false - axum default = axum-extra
-
Enables axum
Affects
saasbase::axum
… - sqlite = rusqlite, tokio-rusqlite
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
- askama default
-
Affects
axum::askama
… - sled default
- redb implicit feature
-
Enables redb
redb:
Rust Embedded DataBase
- tokio-rusqlite sqlite?
-
Enables tokio-rusqlite ^0.5.1
- rusqlite sqlite?
-
Enables rusqlite ^0.31.0
- redis implicit feature
-
Enables redis ^0.25.3
redis:
Redis driver for Rust
- tikv-client implicit feature
-
Enables tikv-client
tikv-client:
The Rust language implementation of TiKV client