We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I love this lib, simple and straight forward, thanks!
Just one thing that would be nice to have: In a case like this:
#[derive(Envconfig, Debug)] struct ProxyAuthConfig { enabled: bool, headers_username: Option<String>, headers_password: Option<String>, } #[derive(Envconfig, Debug)] struct LocalAuthConfig { enabled: bool, } #[derive(Envconfig, Debug)] struct AuthConfig { #[envconfig(nested = true)] proxy: ProxyAuthConfig, #[envconfig(nested = true)] local: LocalAuthConfig, } #[derive(Envconfig, Debug)] pub struct ConfigurationService { jwt_secret: String, #[envconfig(nested = true)] auth: AuthConfig, }
the auth.local.enabled would be named AUTH_LOCAL_ENABLED by default :)
auth.local.enabled
AUTH_LOCAL_ENABLED
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I love this lib, simple and straight forward, thanks!
Just one thing that would be nice to have:
In a case like this:
the
auth.local.enabled
would be namedAUTH_LOCAL_ENABLED
by default :)The text was updated successfully, but these errors were encountered: