Skip to main content

Crate zwire

Crate zwire 

Source
Expand description

zwire — zero-dependency, #![no_std] (alloc) transactional reactive state engine for Rust.

Umbrella facade re-exporting:

  • core (zwire-core) — Zero-global scoped push-pull arena & deadlock-free SyncScope
  • tx (zwire-tx) — Rebaseable OptimisticLayer, RAII OptimisticGuard, atomic try_settle, and STM read-verify Draft
  • collections (zwire-collections) — Exact 2-level Chunked B-Tree + O(1) Top-K
  • protocol (zwire-protocol) — Zero-dep JSON WireValue, out-of-order hydration, ExternalSource, SyncBridge, and InspectorHook compatible with @zwire/core
  • ReactiveCollection — First-class reactive top_k_signal(k) bridging collections + core

Re-exports§

pub use zwire_collections as collections;
pub use zwire_core as core;
pub use zwire_protocol as protocol;
pub use zwire_tx as tx;

Modules§

prelude
Convenient re-exports of the most commonly used zwire primitives.

Structs§

ReactiveCollection
Reactive bridge wrapping zwire_collections::Collection with zwire_core::Scope.