pub fn is_production() -> boolExpand description
Whether the current app environment is production-like.
True when get_app_env resolves (case-insensitively) to production
or prod. Used by config validate(is_production) methods to reject
insecure-by-design settings (e.g. TLS skip_verify, plaintext disk
caches) outside of dev/test.