config-rs icon indicating copy to clipboard operation
config-rs copied to clipboard

kdl support

Open nbari opened this issue 2 years ago • 2 comments

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

nbari avatar Nov 17 '23 15:11 nbari

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.

matthiasbeyer avatar Nov 18 '23 12:11 matthiasbeyer