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-freeSyncScopetx(zwire-tx) — RebaseableOptimisticLayer, RAIIOptimisticGuard, atomictry_settle, and STM read-verifyDraftcollections(zwire-collections) — Exact 2-level Chunked B-Tree +O(1)Top-Kprotocol(zwire-protocol) — Zero-dep JSONWireValue, out-of-order hydration,ExternalSource,SyncBridge, andInspectorHookcompatible with@zwire/coreReactiveCollection— First-class reactivetop_k_signal(k)bridgingcollections+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§
- optics
- Monomorphized structural projections into a reactive atom.
- prelude
- Convenient re-exports of the most commonly used
zwireprimitives. - resource
- Executor-agnostic
#![no_std]asynchronous reactiveResource<T, E, K>. - store
- Fine-grained reactive key-value stores and mutable-draft projections (
#![no_std]).
Structs§
- Pure
Reactive Collection - High-throughput reactive collection backed directly by
zwire_collections::KeyedCollection(BTreeSet<(S, K, u32)>ordered index with cached(S, K)Top-K boundary pruning). - Reactive
Collection - Reactive bridge wrapping
zwire_collections::Collectionwithzwire_core::Scope. - RowEdit
- A detached edit of a keyed collection. Updating an item’s key replaces any displaced row.
- Sync
Pure Reactive Collection - Thread-safe high-throughput reactive collection backed directly by
zwire_collections::KeyedCollection(BTreeSet<(S, K, u32)>with cached(S, K)Top-K boundary pruning). - Sync
Reactive Collection - Thread-safe incremental reactive collection backed by a 2-level Chunked Sorted Block Index
with
O(log N)mutations andO(1)Top-K boundary pruning. - Transactional
Collection - Copy-on-write collection snapshots for draft isolation and replayable optimistic edits.