CultLib/packages/cultnet-rs/tests
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Meta Vens eff62e59fb Land R-N in Rust: cultnet.error.v0 code/details, matched byte-for-byte
CultNetMessage::Error gains typed code (CultNetErrorCode) and details
(CultNetErrorDetails) fields mirroring the landed C# reference
(CultNetErrorMessage/CultNetErrorDetails, CultNetSchemaMessages.cs). The
message now encodes/decodes through the raw cultnet.schema.v0 path
(encode_raw_cultnet_schema_message/parse_raw_cultnet_schema_message)
instead of the generic serde_json::Value round trip every other
CultNetMessage variant uses, because that path's BTreeMap-backed
serde_json::Value would sort keys alphabetically and break the C#
reference's fixed schemaVersion/error/routingHint/code/details map
order - every optional key is written nil, never omitted, matching
MessagePack C#'s always-five-key formatter.

Adds the SelectionRefusal -> CultNetMessage mapping the fix-batch-3
comment in selection.rs called out as pending on the C# shape landing,
covering all four codes (selection_invalid, cursor_stale, cursor_invalid,
reference_outside_target).

cultmesh-rs's one CultNetMessage::Error match gets an added `..` so it
still compiles against the wider variant; it does not read code/details.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-22 20:00:37 +02:00
..
fixtures Bring language packages into CultLib monorepo 2026-05-30 00:39:39 +01:00
byte_slot_migration.rs Measure what adding a bytes slot does to records already written 2026-09-10 00:42:26 +02:00
cultnet.rs CultNet selection cut1 fix batch 3, Rust half: R-R, the v0 lowering matches the C# pre-cut server 2026-09-22 19:32:02 +02:00
error_message.rs Land R-N in Rust: cultnet.error.v0 code/details, matched byte-for-byte 2026-09-22 20:00:37 +02:00
media_channel_delivery.rs Let a caller choose what the media channel does 2026-09-10 01:08:31 +02:00
media_stream_contracts.rs Carry media payloads as bin 2026-09-10 00:31:11 +02:00
media_stream_wire.rs Move the media wire envelope where both ends can reach it 2026-09-10 02:00:19 +02:00
provider_session.rs Add Rust provider session transport 2026-07-19 00:49:53 +01:00
rudp_server_hub.rs A reader returns "nothing" only when nothing is waiting 2026-09-11 01:21:37 +02:00
selection.rs Back out the guessed R-N wire shape; R-N is pending on this branch 2026-09-22 19:35:57 +02:00