Skip to main content

Module env

Module env 

Source
Expand description

Environment helpers for RustAuth core.

Modules§

logger

Functions§

allows_development_defaults
Whether development-oriented security defaults are explicitly allowed.
env_var
Reads RUSTAUTH_{suffix} from the process environment.
is_production
Returns true when RustAuth is running in a production environment.
is_production_posture
Whether security-sensitive defaults should assume a production deployment.