mirror of
https://github.com/OMGeeky/confique.git
synced 2025-12-28 07:18:02 +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.