CultLib/packages/cultnet-rs/examples
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Meta Vens 6bb41f39ea Give every cultcache-rs entry type one home store
Cut 5 (Rust). The four mirror loops in put, put_envelope, put_raw_envelope and
delete are deleted, and so is put_prepared_batch's route.len() != 1 branch.
resolve_route_index returns the single home store (the store that claims the
type, else the generic store) and replaces resolve_route_indices.

add_backing_store and add_generic_backing_store return Result and refuse a
second generic store or a type already claimed by another store, attaching
nothing when they refuse. Callers take the Result: the crate's tests, the
cultcache_interop example, cultnet-rs's tests and interop peer example, and
CultMeshNode::create_node in cultmesh-rs.

Tests: second_generic_store_is_rejected, type_claimed_twice_is_rejected;
type_specific_store_routes_before_generic_store stays, now attaching the routed
store before the generic one. No bytes change.

The store-composition contract's runtime table now records Rust, TypeScript
and Python as conforming to one home store per type, and the README routing
section drops its non-conformance note.

Version 0.1.0 -> 0.2.0.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-14 00:38:41 +02:00
..
cultnet_interop_peer.rs Give every cultcache-rs entry type one home store 2026-09-14 00:38:41 +02:00
media_delivery_probe.rs Let the media probe fragment on demand 2026-09-10 11:59:48 +02:00
runtime_presence_vector.rs Port gamecult.runtime_presence_health.v2 to cultnet-ts 2026-09-07 21:42:54 +02:00