From ee4d39597f0450476b7b45c95c5c9cea63fc4a2d Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Thu, 29 Oct 2026 18:27:12 +0100 Subject: [PATCH] cultnet-rs owns the Odin catalog connection id; cultmesh-rs re-exports it One spelling of 0x0d1d_0002, in the lower crate, before the presence publisher uses it. Co-Authored-By: Claude Opus 5.5 --- packages/cultmesh-rs/src/lib.rs | 2 +- packages/cultnet-rs/src/rudp.rs | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/cultmesh-rs/src/lib.rs b/packages/cultmesh-rs/src/lib.rs index e50719cd..89593f7a 100644 --- a/packages/cultmesh-rs/src/lib.rs +++ b/packages/cultmesh-rs/src/lib.rs @@ -28,7 +28,7 @@ mod rudp_document_server; pub use rudp_document_server::*; -pub const CULTMESH_RUDP_DOCUMENT_CATALOG_CONNECTION_ID: u32 = 0x0d1d_0002; +pub use cultnet_rs::CULTMESH_RUDP_DOCUMENT_CATALOG_CONNECTION_ID; pub trait CultMeshDocumentSet: Clone + Send + Sync + 'static { fn register_cache(&self, cache: &mut CultCache) -> Result<()>; diff --git a/packages/cultnet-rs/src/rudp.rs b/packages/cultnet-rs/src/rudp.rs index 37bf73d8..58930690 100644 --- a/packages/cultnet-rs/src/rudp.rs +++ b/packages/cultnet-rs/src/rudp.rs @@ -1480,6 +1480,10 @@ impl CultNetRudpSession { } } +/// The connection id of Odin's CultMesh document catalog, the RUDP endpoint that +/// accepts raw documents and serves raw snapshots. +pub const CULTMESH_RUDP_DOCUMENT_CATALOG_CONNECTION_ID: u32 = 0x0d1d_0002; + #[derive(Clone, Copy, Debug, PartialEq, Eq)] pub enum CultNetRudpSocketMode { Client,