Expand description
Schema definition and validation for RON (Rusty Object Notation) files.
Re-exports§
pub use span::Position;pub use span::Span;pub use span::Spanned;pub use schema::Schema;pub use schema::StructDef;pub use schema::FieldDef;pub use schema::SchemaType;pub use schema::EnumDef;pub use schema::parser::parse_schema;pub use ron::RonValue;pub use ron::RonStruct;pub use ron::parser::parse_ron;pub use validate::validate;pub use error::ValidationError;pub use error::ErrorKind;pub use error::SchemaParseError;pub use error::SchemaErrorKind;pub use error::RonParseError;pub use error::RonErrorKind;pub use diagnostic::extract_source_line;pub use diagnostic::SourceLine;
Modules§
- diagnostic
- Source line extraction for rendering error diagnostics.
- error
- Error types for schema parsing, RON parsing, and validation.
- ron
- RON data value types representing a parsed
.ronfile. - schema
- Schema AST types representing a parsed
.ronschemafile. - span
- Source location tracking types for mapping parsed values back to their origin in source text.
- validate
- Validation logic for checking RON data against a schema.