serde_yaml2
This crate provides serde integration for yaml-rust2
Usage
See examples dir for usage examples
Enum representation
Enums are represented using external tagging. For example:
will be represented as:
VariantA: ~
or
VariantB: [1, 4.5]
Running tests
Just execute
cargo test