extern crate self as substrate_data;
pub mod diagnostic;
mod forms;
mod model;
pub mod names;
mod sync;
mod utf8;
mod wire;
pub use atom::Atom;
pub use bumpalo::Bump;
pub use diagnostic::{Code, Diagnostic, Errors, Problem, Severity};
#[cfg(feature = "json")]
pub use forms::json;
#[cfg(feature = "toml")]
pub use forms::toml;
pub use forms::{patch, source, text};
pub use model::borrowed::{MapRef, ValueRef};
pub use model::value::{KindName, Map, Path, Ref, RefKey, Seg, Value, ValueKind};
pub use model::{atom, typed};
pub use schema::with;
pub use text::{Doc, LineCol, Span, Spans, SyntaxError};
pub use wire::stream::{Stream, StreamWriter};
pub use wire::{binary, frame, io};
pub mod schema;
pub use schema::{
Expected, Id, Kind, Kinds, NamedType, OneOrList, Ordered, Read, Reader, RefId, Resolve, Schema,
Shape, ShapeDoc, Uid, Unresolved, from_bytes_with, from_doc_with, from_text, from_value,
from_value_with, placed, read_bytes, read_ref_value, read_value, to_bytes, to_bytes_into,
to_text,
};
pub use substrate_data_derive::Schema;
#[cfg(doctest)]
mod readme;