Skip to main content

Crate rete_core

Crate rete_core 

Source
Expand description

Core on-disk types for the Rete graph file format.

See docs/SPEC.md for the full design. This crate owns the byte-level layout (header, directory, blocks) and is deliberately free of any I/O or query logic so it compiles cleanly to both native and wasm32.

Re-exports§

pub use iri::iri_content_defect;
pub use iri::sanitize_iri_content;
pub use iri::sanitize_term;
pub use iri::term_defect;
pub use iri::IriDefect;
pub use iri::IriReport;

Modules§

card
Stable Dataset Card API — both halves of a card, so that every writer (rete build --card-file, the browser builder, any language binding, any third-party tool) produces the same card from the same graph.
format
Stable file-format, reader, and in-memory build API.
geo3
A 3D extension of the GeoSPARQL built-ins (geo3).
ingest
Ingestion: parse RDF text (N-Triples / N-Quads / Turtle) and assemble a complete .rete file image. Shared by the CLI’s build/validate commands and the wasm bindings (the playground’s in-browser builder).
iri
IRI validity — what may appear between the angle brackets of an N-Triples / N-Quads IRIREF, and the one lossy repair the exporter offers.
manifest
Manifest — a writable logical graph as an ordered log of immutable .rete segments.
query
Stable SPARQL, graph-pattern, federation, and result API.
range
Stable byte-range and lazy-open API for local or remote .rete files.
reasoning
Stable RDFS/OWL reasoning and schema-coherence API.
validation
Stable integrity and SHACL validation API.

Constants§

VERSION
The engine version, as published on crates.io.