Type-safe, layered, light-weight, `serde`-based configuration library
#[config(partial_attr(...))]
struct attribute to specify attributes for
the partial type.bool
from env. Also, the
match is done completely case insensitive now, such that e.g. "True", "tRuE"
are accepted now.#[allow(missing_docs)]
to some generated code to avoid problems in
crates that #[forbid(missing_docs)]
globally.Result
, Option
, Ok
, None
or Some
. A test has been added to make sure
this does not happen again in the future.
(Partially in #23, thanks @aschey)parse_env
attribute for custom parsing of environment variables (allows you
to load lists and other complex objects from env vars).
(in #22, thanks @cyphersnake)serde_yaml
to 0.9 (this is only an internal dependency).#[config(default = [1, 2, 3])
#[config(default = { "cat": 3, "dog": 5 })
PartialEq
for all meta
itemsSerialize
for meta::Expr
{toml,yaml}::format
to template
FormatOptions
and some meta
types #[non_exhaustive]