Skip to main content

Crate rusty_rtos_json_core

Crate rusty_rtos_json_core 

Source
Expand description

rusty_rtos_json-core — the pure heart of rusty_rtos_json.

Rules this crate lives by (from the Kairos mission plan):

  1. no_std by default; alloc is a feature, never an assumption.
  2. No CPU, no registers, no allocator, no operating system. Ports and backends are separate WRAP crates.
  3. Every type that crosses to another Kairos package comes from rusty_rtos_core, so packages compose without conversions.
  4. Handles are indices, never pointers; nothing on a hot path allocates.
  5. forbid(unsafe). The C kernel’s trace is the oracle; the scalar path is the oracle; any faster path is gated identical against it.

Re-exports§

pub use search::Kind;
pub use search::Match;
pub use search::NotFound;
pub use search::Pair;
pub use search::Pairs;
pub use search::Stopped;
pub use search::iterate;
pub use search::pairs;
pub use search::search;
pub use validate::MAX_DEPTH;
pub use validate::Validity;
pub use validate::is_valid;
pub use validate::validate;
pub use rusty_rtos_core as rtos_core;

Modules§

prelude
The names a firmware wants in scope.
search
JSON_SearchConst and JSON_Iterate: query a document in place. JSON_SearchConst and JSON_Iterate: the query half of coreJSON.
validate
JSON_Validate: coreJSON’s strict ECMA-404 validator. JSON_Validate: coreJSON’s strict ECMA-404 validator, over a byte slice.

Constants§

VERSION
Crate version, for manifests and logs.