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

Add configparser to Serialization

Open Earnshhaw opened this issue 5 months ago • 5 comments

Earnshhaw avatar Aug 05 '25 20:08 Earnshhaw

On the one hand, 3.8M recent downloads seems somewhat popular, but I think the idiomatic approach would be using toml, which has 48M. It definitely doesn't belong in the section "Non-self-describing, no external schema file". Maybe there should be a new subsection within Serialization for self-describing formats (including config), which could have serde_json and toml?

djc avatar Aug 05 '25 20:08 djc

Would it also be worthwhile for a type of detailed comparison to link the serialization section to https://github.com/djkoloski/rust_serialization_benchmark ?

epage avatar Aug 05 '25 21:08 epage

Would it also be worthwhile for a type of detailed comparison to link the serialization section to https://github.com/djkoloski/rust_serialization_benchmark ?

Might make sense, though it doesn't really neatly fit into the existing structure.

djc avatar Aug 05 '25 21:08 djc

On the one hand, 3.8M recent downloads seems somewhat popular, but I think the idiomatic approach would be using toml, which has 48M. It definitely doesn't belong in the section "Non-self-describing, no external schema file". Maybe there should be a new subsection within Serialization for self-describing formats (including config), which could have serde_json and toml?

Created a new subsection in Serialization and put configparser, toml and serde_json there.

Earnshhaw avatar Aug 05 '25 22:08 Earnshhaw

I don't think we want to guide users towards configparser, so I would not include it here. But ultimately I think that's for @nicoburns to decide.

djc avatar Aug 07 '25 11:08 djc