Expand description
config crate source adapter for literal adotenv documents and loaded
environments.
The source exposes only effective literal String values. Duplicate policy
and lookup participation follow the document or environment being wrapped.
With the load feature it also accepts a LoadedEnvironment.
Key names are handed to config unchanged. config 0.15 keeps key case,
treats . as a nested path separator and treats [/] as array-path
syntax; for example, A[0] and A[1] can become an array under A. A dotted key and a scalar key
with the same parent name collide: with A=1 and A.B=2, config exposes
either the scalar or the nested table, not both. The winner is an
implementation detail of config’s source map, so normalize or rename
keys before building a source when both shapes are needed.
Structs§
- Adotenv
Source - A
configsource containing the adapter’s effective string values.