Our great sponsors
ron | kdl-rs | |
---|---|---|
24 | 2 | |
3,118 | 280 | |
2.5% | 2.9% | |
7.9 | 1.2 | |
13 days ago | 18 days ago | |
Rust | Rust | |
Apache License 2.0 | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ron
-
XML is better than YAML
Whenever this kind of arguments come up, I am sad that RON (https://github.com/ron-rs/ron) is not better known. To me it feels like a cleaner and better JSON.
In any case, my little experience with it had made me hate YAML. Generally speaking, I have come to dislike any language with significant whitespace other than Haskell.
-
What config format do you prefer?
Part of the reason why I migrated away from RON in system76-scheduler is because I needed to rely on the 253-untagged-enums branch from https://github.com/MomoLangenstein/ron. Which still isn't resolved today: https://github.com/ron-rs/ron/pull/451.
-
Ron: Rusty Object Notation
Serde is strongly, strictly typed: you have to specify what type you want to decode to. It’s nothing like Python’s Pickle protocol.
See, for example, https://github.com/ron-rs/ron/blob/484fcab0686dfd18c7e29b6c1..., where it (in a type-inferency way) says “parse as Config”.
- JSON vs. XML with Douglas Crockford
- Ron – Rusty Object Notation
- They're rebuilding the Death Star of complexity
kdl-rs
-
The KDL Document Language
To me it looks amazing, and I was literally about to adopt it in one of my open source Rust-based projects, but then I realized that the Rust version (and only the Rust version) is restrictively licensed under the Parity Public License [1].
I want my open source project to be able to be used in commercial applications, and don't want any of my dependencies' licenses to restrict that.
[1]: https://github.com/kdl-org/kdl-rs/blob/87f836134c1d901ff5ce6...
What are some alternatives?
toml.io - Source Code for toml.io
json5 - JSON5 — JSON for Humans
Slim - Slim is a template language whose goal is to reduce the syntax to the essential parts without becoming cryptic.
kdl - the kdl document language specifications
kdl4j - KDL Parser for the JVM
minimal-yaml - A minimalist, zero-copy parser for a strict subset of the Yaml specification.
Kaitai Struct - Kaitai Struct: declarative language to generate binary data parsers in C++ / C# / Go / Java / JavaScript / Lua / Nim / Perl / PHP / Python / Ruby
yaml-reference-parser
kaydle - An alternative implementation of Kat's Document Language, including serde integration
typescript-json-schema - Generate json-schema from your Typescript sources