Cargo Features
[dependencies]
ellidri = { version = "3.0.0-beta", default-features = false, features = ["postgres", "sqlite"] }
- default = postgres, sqlite
-
These default features are set whenever
ellidri
is added without
somewhere in the dependency tree.default-features = false - postgres default = r2d2, r2d2_postgres, tokio-postgres
-
PostgreSQL support
Affects
auth::DbProvider
… - sqlite default = r2d2, r2d2_sqlite, rusqlite
-
SQLite support
Affects
auth::DbProvider
…
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.
- r2d2 postgres sqlite
- r2d2_sqlite sqlite
-
Enables r2d2_sqlite ^0.14
- r2d2_postgres postgres
-
Enables r2d2_postgres ^0.16
- rusqlite sqlite
-
Enables rusqlite ^0.21
- tokio-postgres postgres
-
Enables tokio-postgres ^0.5