mirror of
https://github.com/OMGeeky/confique.git
synced 2026-02-15 13:58:00 +01:00
Fixes #2 I simply forgot to use the `deserialize_with` attribute for the env deserialization. The previous code was somewhat weirdly coded in that we would always deserialize `Option<T>` (as it's a partial type) and the "env variable not present" info would travel through the deserializer to the `Option<T> as Deserialize` impl. Now it's more straight forward.