Cargo Features

Keyv has no features set by default.

[dependencies]
keyv = { version = "0.2.1", features = ["postgres", "mysql", "sqlite", "full", "redis", "mongo"] }
postgres full?

Enables postgres and runtime-tokio-rustls of sqlx ^0.7.4

Affects adapter::postgres

mysql full?

Enables mysql and runtime-tokio-rustls of sqlx ^0.7.4

Affects adapter::mysql

sqlite full?

Add this line

Enables runtime-tokio-native-tls and sqlite of sqlx ^0.7.4

Affects adapter::sqlite

full = mongo, mysql, postgres, redis, sqlite
redis full?

Enables redis ^0.25.3

Affects adapter::redis

mongo full? = mongodb

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.

sqlx mysql? postgres? sqlite?

Enables sqlx ^0.7.4

mongodb mongo?

Enables mongodb ^2.8.2

Affects adapter::mongodb