Cargo Features

Rustorm has no features set by default.

[dependencies]
rustorm = { version = "0.20.0", features = ["with-postgres", "with-sqlite", "with-mysql", "db-auth"] }
with-postgres = postgres, postgres-shared, r2d2_postgres
with-sqlite = r2d2_sqlite, rusqlite
with-mysql = r2d2_mysql
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

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](https://rust-lang.github.io/rfcs/3491-remove-implicit-features.html).

postgres with-postgres?

Enables postgres ^0.15.1

r2d2_postgres with-postgres?

Enables r2d2_postgres ^0.14.0

postgres-shared with-postgres?
rusqlite with-sqlite?

Enables rusqlite ^0.21

r2d2_sqlite with-sqlite?

Enables r2d2_sqlite ^0.14

r2d2_mysql with-mysql?

Enables r2d2_mysql ^16.0.0