Cargo Features

rocket_auth2 has no features set by default.

[dependencies]
rocket_auth2 = { version = "0.5.1", features = ["sqlx-sqlite", "sqlx-postgres", "sqlx-mysql", "sled", "tokio-postgres", "redis", "rusqlite"] }
sqlx-sqlite

Enables sqlite of sqlx

sqlx-postgres

Enables postgres of sqlx

sqlx-mysql

Enables mysql of sqlx

sled

Enables bson and sled

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-postgres implicit feature

Enables tokio-postgres

tokio-postgres:

A native, asynchronous PostgreSQL client

redis implicit feature

Enables redis ^0.28

redis:

Redis driver for Rust

Affects session::redis

rusqlite implicit feature

Enables rusqlite ^0.31.0

rusqlite:

Ergonomic wrapper for SQLite

sqlx sqlx-mysql? sqlx-postgres? sqlx-sqlite?