Skip to main content

Crate evorule_primitives

Crate evorule_primitives 

Source
Expand description

EvoRule primitives — base value types shared across the ecosystem.

This crate is the single definition site for the deterministic JSON value model (JsonValue, ObjectMap) and the I/O handler contract (IoHandler, IoResult).

§Design principles

  • Zero evorule-* dependencies (base-primitive layer discipline)
  • #![no_std] compatible (uses alloc only)
  • Deterministic iteration (BTreeMap-backed object maps)
  • Never panics (all conversions return Option / Result)

§Consumers

Ecosystem crates re-export these types via pub use shims, which keeps their public API paths and type identities unchanged (Rust identifies types by definition site — a re-export never creates a new type).

§Modules

  • value — JsonValue / ObjectMap deterministic data model
  • io_handler — object-safe async I/O handler trait

Re-exports§

pub use io_handler::IoHandler;
pub use io_handler::IoResult;
pub use value::JsonValue;
pub use value::ObjectMap;

Modules§

io_handler
I/O handler trait — object-safe, supports dynamic dispatch via trait objects.
value
JSON value types — deterministic data model.