Cargo Features

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

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

with-postgres with-all-sql? = sqlx, tokio

sql

Enables json, postgres and uuid of sqlx ^0.5.6

Affects sql::postgres_store

with-mysql with-all-sql? = sqlx, tokio

Enables mysql of sqlx ^0.5.6

Affects sql::mysql_store

with-sqlite with-all-sql? = sqlx, tokio

Enables sqlite of sqlx ^0.5.6

Affects sql::sqlite_store

with-all-sql with-all-async = with-mysql, with-postgres, with-sqlite
with-mongodb with-all-doc-db? = futures, mongodb, tokio

documents DBs

Affects impls::mongodb_store

with-all-doc-db with-all-async = with-mongodb
with-redis with-all-kv-db? = redis, tokio

key-value DBs

Affects impls::redis_store

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

all async

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 with-mysql? with-postgres? with-sqlite?

Enables sqlx ^0.5.6

mongodb with-mongodb?
redis with-redis?

Enables redis ^0.21.1

tokio with-mongodb? with-mysql? with-postgres? with-redis? with-sqlite?

Enables tokio

async runtime

futures with-mongodb?