#reproto #json #derive #schema #protocols #format-json #yaml

reproto-derive

Rethinking Protocol Generators Derives a reproto schema from an existing JSON

16 releases

Uses old Rust 2015

0.3.36 Apr 28, 2018
0.3.32 Apr 15, 2018
0.3.21 Mar 20, 2018
0.3.13 Feb 17, 2018

#28 in #reproto

42 downloads per month
Used in reproto

MIT/Apache

190KB
5.5K SLoC

reproto schema deriver

Component that drives reproto derive, a tool for generating a schema from an existing document.

For a more thorough guide, see the documentation.

This component uses an intermediate representation called SIR (Structured Intermediate Representation), which permits it to support multiple input formats.

  • JSON, through serde_json (default, or --format json).
  • YAML, through serde_yaml (--format yaml).

Dependencies

~6.5MB
~149K SLoC