diff options
author | David Knaack <davidkna@users.noreply.github.com> | 2022-12-28 21:00:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-28 21:00:49 +0100 |
commit | 5d4cb6ff8f6bd1915aa2c16162950b270f1759b1 (patch) | |
tree | 5f780a1633103dd67e9c876fee3411da8cd0c314 /src/configs | |
parent | f183a4e4c294f6bf7c4f5a604816682cf8864555 (diff) |
feat(env_var): Add support for env_var.VAR in format (#4497)
Co-Authored-By: Segev Finer <24731903+segevfiner@users.noreply.github.com>
Co-authored-by: Segev Finer <24731903+segevfiner@users.noreply.github.com>
Diffstat (limited to 'src/configs')
-rw-r--r-- | src/configs/env_var.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/configs/env_var.rs b/src/configs/env_var.rs index d9a8db9a3..0ef6bae59 100644 --- a/src/configs/env_var.rs +++ b/src/configs/env_var.rs @@ -16,6 +16,7 @@ pub struct EnvVarConfig<'a> { pub default: Option<&'a str>, pub format: &'a str, pub disabled: bool, + pub description: &'a str, } impl<'a> Default for EnvVarConfig<'a> { @@ -27,6 +28,7 @@ impl<'a> Default for EnvVarConfig<'a> { default: None, format: "with [$env_value]($style) ", disabled: false, + description: "<env_var module>", } } } |