mehcode / config-rs

⚙️ Layered configuration system for Rust applications (with strong support for 12-factor applications).
Apache License 2.0
2.57k stars 213 forks source link

File Format `k=v` support #383

Closed hal8888 closed 11 months ago

hal8888 commented 1 year ago

Hi, I need this kind of config format loaded from file:

CONFIG1=value
CONFIG2=123

When I tried with ini feature, it produces panic. Please support this kind of format in file, Thanks!

matthiasbeyer commented 1 year ago

Can you share the code you used that paniced? Because that looks like normal INI to me (like in the test, safe some whitespace).

jpmckinney commented 1 year ago

I am using ini just fine – need to share example code to reproduce and diagnose.

polarathene commented 11 months ago

Closing as reporter did not respond, feature should work with INI format already.