Cargo Features

[dependencies]
rocket_firebase_auth = { version = "0.5.0", default-features = false, features = ["env", "encode", "rocket"] }
default = env, rocket

These default features are set whenever rocket_firebase_auth is added without default-features = false somewhere in the dependency tree.

env default

Enables support for reading in the Firebase Credentials from dotenv and non-dotenv files.

Enables dotenvy and serde_json

Affects errors::Env

encode

Enables support for encoding tokens on the backend

Enables chrono

Affects rocket_firebase_auth::EncodedToken

rocket default

Enables support for the implementation of the FromRequest trait in Rocket

Enables rocket

Affects plugins::rocket