Cargo Features
[dependencies]
askar-storage = { version = "0.1.1", default-features = false, features = ["all_backends", "any", "migration", "postgres", "sqlite", "pg_test", "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 ^0.7.3
Affects
askar-storage::migration
… - postgres all_backends pg_test?
-
Enables postgres and tls-rustls of sqlx ^0.7.3
Affects
backend::postgres
… - sqlite all_backends
-
Enables sqlite of sqlx ^0.7.3
Affects
backend::sqlite
,askar-storage::migration
… - pg_test = postgres
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