Cargo Features

[dependencies]
cqrs-es2-store = { version = "0.2.0", default-features = false, features = ["with-mysql", "with-postgres", "with-sqlite", "with-all-sql", "with-mongodb", "with-all-doc-db", "with-redis", "with-all-kv-db", "with-all-sync"] }
default = with-all-sync

The with-all-sync feature is set by default whenever cqrs-es2-store is added without default-features = false somewhere in the dependency tree.

with-mysql with-all-sql? = mysql

sql

Affects sql::mysql_store

with-postgres with-all-sql? = postgres

Affects sql::postgres_store

with-sqlite with-all-sql? = rusqlite

Affects sql::sqlite_store

with-all-sql with-all-sync = with-mysql, with-postgres, with-sqlite
with-mongodb with-all-doc-db? = mongodb

documents DBs

Affects impls::mongodb_store

with-all-doc-db with-all-sync = with-mongodb
with-redis with-all-kv-db? = redis

key-value DBs

Affects impls::redis_store

with-all-kv-db with-all-sync = with-redis
with-all-sync default = with-all-doc-db, with-all-kv-db, with-all-sql

all sync

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.

mysql with-mysql?

Enables mysql ^21.0.1

mysql and mariadb driver

postgres with-postgres?

Enables postgres

postgres driver

rusqlite with-sqlite?

Enables rusqlite ^0.25.3

sqlite driver

mongodb with-mongodb?
redis with-redis?

Enables redis ^0.21.1