1extern crate self as substrate_data;
20
21pub mod diagnostic;
22mod forms;
23mod model;
24pub mod names;
25mod sync;
26mod utf8;
27mod wire;
28
29pub use atom::Atom;
30pub use bumpalo::Bump;
31pub use diagnostic::{Code, Diagnostic, Errors, Problem, Severity};
32#[cfg(feature = "json")]
33pub use forms::json;
34#[cfg(feature = "toml")]
35pub use forms::toml;
36pub use forms::{patch, source, text};
37pub use model::borrowed::{MapRef, ValueRef};
38pub use model::value::{KindName, Map, Path, Ref, RefKey, Seg, Value, ValueKind};
39pub use model::{atom, typed};
40pub use schema::with;
41pub use text::{Doc, LineCol, Span, Spans, SyntaxError};
42pub use wire::item_error::ItemError;
43pub use wire::items::Items;
44pub use wire::stream::Stream;
45pub use wire::stream_writer::StreamWriter;
46pub use wire::{binary, frame, io};
47pub mod schema;
48
49pub use schema::{
50 Expected, Id, Kind, Kinds, NamedType, OneOrList, Ordered, Read, Reader, RefId, Resolve, Schema,
51 Shape, ShapeDoc, Uid, Unresolved, from_bytes_with, from_doc_with, from_text, from_value,
52 from_value_with, placed, read_bytes, read_ref_value, read_value, to_bytes, to_bytes_into,
53 to_text,
54};
55pub use substrate_data_derive::Schema;
56
57#[cfg(doctest)]
58mod readme;