substrate-data 0.3.1

One data model, text syntax, binary form, packed frames and schema system — for any program's files, saves and wire messages.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! A shape as data ([`ShapeDoc`]), for tools in other languages: an
//! editor builds property grids, pickers and hover docs from it, docs
//! generate their field tables from it. Its written form is the published
//! language of `docs/format.md` (§ Schemas, "describe").

mod definition_doc;
mod definitions;
mod field_doc;
mod shape_doc;
mod shape_node;
mod variant_doc;

pub use definition_doc::DefinitionDoc;
pub use field_doc::FieldDoc;
pub use shape_doc::ShapeDoc;
pub use shape_node::ShapeNode;
pub use variant_doc::VariantDoc;