quartiq / miniconf

Rust serialize/deserialize/access reflection for trees (no_std, no alloc)
MIT License
23 stars 2 forks source link

add `traverse_by_key` and `{get,set}_by_key` methods and refactor several things #160

Closed jordens closed 11 months ago

jordens commented 11 months ago

close #155

jordens commented 11 months ago

These are some very intriguing changes that make miniconf way more flexible. I'm very interested to see. Is the intent with the key refactor to allow arbitrary path/separator syntaxes to be used without affecting the fundamental operation of miniconf?

Anything that can be turned into a usize (with the help of Miniconf) will be able to implement Key and thus work. I.e. pretty much any perfect hash.