From c4ff4519837ed8630b3921a8d3c260a15624a726 Mon Sep 17 00:00:00 2001 From: Andreas Reich Date: Tue, 15 Jul 2025 18:46:23 +0200 Subject: [PATCH 1/2] expose component identifier in re_sdk --- crates/top/re_sdk/src/lib.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/crates/top/re_sdk/src/lib.rs b/crates/top/re_sdk/src/lib.rs index f873119aa276..401e525e43e1 100644 --- a/crates/top/re_sdk/src/lib.rs +++ b/crates/top/re_sdk/src/lib.rs @@ -114,8 +114,9 @@ pub use time::{TimeCell, TimePoint, Timeline}; pub use re_types::{ Archetype, ArchetypeName, AsComponents, Component, ComponentBatch, ComponentDescriptor, - ComponentType, DatatypeName, DeserializationError, DeserializationResult, Loggable, - SerializationError, SerializationResult, SerializedComponentBatch, SerializedComponentColumn, + ComponentIdentifier, ComponentType, DatatypeName, DeserializationError, DeserializationResult, + Loggable, SerializationError, SerializationResult, SerializedComponentBatch, + SerializedComponentColumn, }; pub use re_byte_size::SizeBytes; From 70832517a41dead0c0a2a63de6f1e911f5a07a75 Mon Sep 17 00:00:00 2001 From: Andreas Reich Date: Tue, 15 Jul 2025 19:06:40 +0200 Subject: [PATCH 2/2] allow colons in archetype names --- crates/store/re_types_core/src/archetype.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/crates/store/re_types_core/src/archetype.rs b/crates/store/re_types_core/src/archetype.rs index 1adc96ac06c0..a1ec799fc2ce 100644 --- a/crates/store/re_types_core/src/archetype.rs +++ b/crates/store/re_types_core/src/archetype.rs @@ -117,8 +117,7 @@ impl ArchetypeName { pub fn sanity_check(&self) { let full_name = self.0.as_str(); debug_assert!( - !full_name.starts_with("rerun.archetypes.rerun.archetypes.") - && !full_name.contains(':'), + !full_name.starts_with("rerun.archetypes.rerun.archetypes."), "DEBUG ASSERT: Found archetype with full name {full_name:?}. Maybe some bad round-tripping?" ); }