Cargo Features
[dependencies]
askar-storage = { version = "0.2.0", default-features = false, features = ["all_backends", "any", "migration", "pg_test", "postgres", "sqlite", "log"] }
- default = all_backends, log
-
These default features are set whenever
askar-storage
is added without
somewhere in the dependency tree.default-features = false - all_backends default = any, postgres, sqlite
- any all_backends
-
Affects
askar-storage::any
… - migration
-
Enables rmp-serde, macros of sqlx
Affects
askar-storage::migration
… - pg_test = postgres
- postgres all_backends pg_test?
-
Enables postgres and tls-rustls of sqlx
Affects
backend::postgres
… - sqlite all_backends
-
Affects
backend::sqlite
,askar-storage::migration
…
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.
- log default