#elm #generate #type #typegen

build rust_elm_typegen

Generate Elm types from Rust types

1 unstable release

0.0.1 Jan 25, 2022

#37 in #elm

MIT/Apache

51KB
1K SLoC

Rust 1K SLoC // 0.0% comments Elm 323 SLoC

Rust Elm Typegen

Generate elm types from rust types. Right now this is barely usable and not announced.

rust_elm_typegen -i src/pomp.rs -o generated/PompData.elm -m PompData

Other Peoples Work

The json2elm tool from Alex Korban has been great for quickly seeing how a decoder/encoder should look in elm.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~1.7–2.3MB
~42K SLoC