7 releases
Uses new Rust 2024
| new 0.1.7 | Feb 9, 2026 |
|---|---|
| 0.1.6 | Feb 2, 2026 |
| 0.1.5 | Jan 28, 2026 |
| 0.0.0 | May 24, 2025 |
#10 in #eure
23 downloads per month
Used in 9 crates
(4 directly)
2.5MB
63K
SLoC
Eure Schema types and structures
This library provides schema type definitions for Eure documents,
following the specification in assets/eure-schema.schema.eure.
Type Variants
All types are variants of SchemaNodeContent:
Primitives:
Text- Text type with optional language and length/pattern constraintsInteger- Integer type with optional range and multiple-of constraintsFloat- Float type with optional range and multiple-of constraintsBoolean- Boolean type (no constraints)Null- Null typeAny- Any type (accepts any value)
Literal:
Literal- Exact value match (e.g.,status = "active")
Compounds:
Record- Fixed named fieldsArray- Ordered list with item typeMap- Dynamic key-value pairsTuple- Fixed-length ordered elementsUnion- Tagged union with named variants
Reference:
Reference- Type reference (local or cross-schema)
eure-schema
Schema definition and validation for Eure.
This crate provides a schema system for Eure files, allowing for validation, type checking, and enhanced editor support.
This crate is still under development and published for name reservation purpose.
Part of the Eure project - a minimalist, schema-friendly format with an algebraic data model that's compatible with JSON.
Dependencies
~8–11MB
~186K SLoC