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 default-features = false somewhere in the dependency tree.

all_backends default = any, postgres, sqlite
any all_backends

Affects askar-storage::any

migration

Enables rmp-serde, macros of sqlx

Affects askar-storage::migration

postgres all_backends pg_test?

Enables postgres and tls-rustls of sqlx

Affects backend::postgres

sqlite all_backends

Enables sqlite of sqlx

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