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

Affects adapter::postgres

mysql full?

Enables mysql and runtime-tokio-rustls of sqlx

Affects adapter::mysql

sqlite full?

Add this line

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

Affects adapter::sqlite

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

Enables redis

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?
mongodb mongo?

Affects adapter::mongodb