mehcode / config-rs

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

kdl support #498

Open nbari opened 7 months ago

nbari commented 7 months ago

Hi, are there plans for supporting kdl (kdl.dev)? any thoughts about it?

matthiasbeyer commented 7 months ago

Hi! If someone contributes it, sure. Problem is, though, that KDL (or XML fwiw) are not tree data formats, which is essentially what config-rs supports only. So it is really hard to integrate (in a nice way, not in a "it is working fundamentally"-like way), IMO.


I am only passively maintaining this crate, but if someone wants to step up and revamp the whole codebase, I am all for it (not saying here that I will merge it, though)! I even started my own rewrite some time ago (https://github.com/matthiasbeyer/config-rs-ng) but it stalled... life got in the way, as it always does with these things, and now I cannot find motivation to drive it to the finish line.


So to answer your question: It's a clear "maybe" :laughing: Sorry I cannot say more.