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
//! A schema's value in and out of the forms: values, bytes, text.

mod read;
mod write;

#[cfg(feature = "toml")]
pub use read::from_toml;
pub use read::{
    field_names, from_bytes_with, from_doc, from_doc_with, from_text, from_value, from_value_with,
    placed, read_both, read_bytes, read_ref_value, read_value,
};
pub use write::{to_bytes, to_bytes_into, to_text};