Skip to content

Conversation

@Earnshhaw
Copy link

No description provided.

@djc
Copy link
Collaborator

djc commented Aug 5, 2025

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?

@epage
Copy link

epage commented Aug 5, 2025

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

@djc
Copy link
Collaborator

djc commented Aug 5, 2025

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.

@Earnshhaw
Copy link
Author

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.

@djc
Copy link
Collaborator

djc commented Aug 7, 2025

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants