Skip to content

Latest commit

 

History

History
57 lines (35 loc) · 2.04 KB

Rust.md

File metadata and controls

57 lines (35 loc) · 2.04 KB

Rust

Language Features

Generated code depends on the following Cargo features:

  • derive
  • alloc

Generator Features

Feature Status Info
Union (polymorphic type) ✅ done
Enum (group of constants) ✅ done
Array (unordered collection) ✅ done
Tuple (ordered collection) ✅ done

Implement new

To generate a new method, use the preset RUST_COMMON_PRESET and provide the option implementNew: true.

Implement Default for enums

To generate Default implementation for enums that provide a default value, use the preset RUST_COMMON_PRESET and provide the option implementDefault: true.

Implement From<String> (serde_json)

TODO

Implement Into<String> (serde_json)

TODO

Implement From<FramedByteStream> (tokio_serde)

TODO

Implement From<FramedByteStream> (tokio_serde)

TOOD