TheNeikos / envious

Deserialize (potentially nested) environment variables into your custom structs
Apache License 2.0
60 stars 2 forks source link

fix case insensitivity with inconsistent casing #23

Closed tenuous-guidance closed 1 year ago

tenuous-guidance commented 1 year ago

I've kept with using ascii casing for consistency with the equality check. I don't think it will cause an issue for env parsing as I'm pretty sure whilst values can be unicode the variables can't be. However it may make a difference if using build_from_iter. I think that's still fine given that build_from_iter seems mostly useful for test cases, as the library is designed for environment variable parsing.

TheNeikos commented 1 year ago

bors merge

bors[bot] commented 1 year ago

Build succeeded: