Another serialization system: minimalist and canonicalization.
The official schema compiler and code generator are written in Rust, so you can install it via Cargo:
cargo install moleculec --locked
Note: the official code generator is only support two languages: Rust and C.
-
You can use the follow command to generate the code:
moleculec --language <language> --schema-file <schema-file>
-
More details can be found by the follow command:
moleculec --help
Molecule's reference implementation is in Rust and C.
Implementations in other languages are maintained by respective authors.
Licensed under MIT License.