Cargo Features

rustling-data has no features set by default.

[dependencies]
rustling-data = { version = "0.1.0", features = ["full", "postgres", "mongo"] }
full = mongo, postgres
postgres full? = sqlx, tokio

Affects api::PostgresEntity, drivers::postgres

mongo full? = mongodb, tokio

Affects api::MongoError, drivers::mongo

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.

tokio mongo? postgres?
sqlx postgres?

Enables sqlx

Postgres feature

mongodb mongo?

Enables mongodb

Mongo feature