Cargo Features
clia-rustorm has no features set by default.
[dependencies]
clia-rustorm = { version = "0.19.1", features = ["db-auth", "with-mysql", "with-postgres", "with-sqlite"] }
- db-auth
-
Use the database as authentication server for the user
Affects
database::Database.get_users
,database::Database.get_user_detail
,database::Database.get_roles
… - with-mysql = r2d2_mysql
- with-postgres = postgres, r2d2_postgres
- with-sqlite = r2d2_sqlite, rusqlite
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_mysql with-mysql?
-
Enables r2d2_mysql ^21.0.0
- r2d2_postgres with-postgres?
- r2d2_sqlite with-sqlite?
-
Enables r2d2_sqlite ^0.19.0
- rusqlite with-sqlite?
-
Enables rusqlite ^0.26.3
- postgres with-postgres?