Open chrisburnor opened 2 years ago
You are able to use this by implementing your own ProtoDeserializer
(replace the YAML deserializer with your own), such as:
Then just add it as an option
in ProtoPlugin
.
But maybe I'll change the default serialization to be feature-dependent. Then you can choose from a few common ones such as YAML/JSON, RON, and maybe one or two more built-in to the crate 🤔
A few additional file formats for the prototypes would be helpful. In particular Ron and Toml support would be a nice extension to Yaml and Json and are supported by existing libraries.