repo
stringlengths
6
65
file_url
stringlengths
81
311
file_path
stringlengths
6
227
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 15:31:58
2026-01-04 20:25:31
truncated
bool
2 classes
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/store/re_redap_client/src/connection_registry.rs
crates/store/re_redap_client/src/connection_registry.rs
use std::collections::HashMap; use std::collections::hash_map::Entry; use std::error::Error as _; use std::sync::Arc; use itertools::Itertools as _; use re_auth::Jwt; use re_auth::credentials::CredentialsProviderError; use re_protos::cloud::v1alpha1::{EntryFilter, FindEntriesRequest}; use tokio::sync::RwLock; use toni...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/store/re_uri/src/lib.rs
crates/store/re_uri/src/lib.rs
//! Rerun uses its own URL scheme to access information across the network. //! //! The following schemes are supported: `rerun+http://`, `rerun+https://` and //! `rerun://`, which is an alias for `rerun+https://`. These schemes are then //! converted on the fly to either `http://` or `https://`. Rerun uses gRPC-based ...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/store/re_uri/src/redap_uri.rs
crates/store/re_uri/src/redap_uri.rs
use re_log_types::StoreId; use crate::{ CatalogUri, DEFAULT_PROXY_PORT, DEFAULT_REDAP_PORT, DatasetSegmentUri, EntryUri, Error, Fragment, Origin, ProxyUri, }; /// Parsed from `rerun://addr:port/recording/12345` or `rerun://addr:port/catalog` #[derive(Debug, PartialEq, Eq, Clone, Hash)] pub enum RedapUri { ...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/store/re_uri/src/fragment.rs
crates/store/re_uri/src/fragment.rs
use re_log_types::{DataPath, TimeCell, TimelineName}; use crate::TimeSelection; /// We use the `#fragment` of the URI to point to a specific entity or time. /// /// ``` /// # use re_uri::Fragment; /// # let tests = [ /// "selection=/entity/path", /// "selection=/entity/path[#42]", /// "selection=/entity/path[#42]&...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/store/re_uri/src/error.rs
crates/store/re_uri/src/error.rs
use std::str::FromStr; #[derive(thiserror::Error, Debug, PartialEq, Eq)] pub enum Error { #[error(transparent)] Parse(#[from] url::ParseError), #[error( "Invalid or missing scheme (expected one of: `rerun://`, `rerun+http://`, `rerun+https://`)" )] InvalidScheme, #[error("Invalid time...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/store/re_uri/src/time_selection.rs
crates/store/re_uri/src/time_selection.rs
use re_log_types::{AbsoluteTimeRange, AbsoluteTimeRangeF, TimeCell, Timeline}; use crate::Error; /// A time range selection as used in URIs, qualified with a timeline. #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, serde::Serialize, serde::Deserialize)] pub struct TimeSelection { pub timeline: Timeline, pu...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/store/re_uri/src/origin.rs
crates/store/re_uri/src/origin.rs
use std::net::SocketAddr; use crate::{Error, Scheme}; /// `scheme://hostname:port` #[derive( Debug, PartialEq, Eq, Clone, Hash, PartialOrd, Ord, serde::Serialize, serde::Deserialize, )] pub struct Origin { pub scheme: Scheme, pub host: url::Host<String>, pub port: u16, } impl Origin { pub fn from...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/store/re_uri/src/scheme.rs
crates/store/re_uri/src/scheme.rs
use crate::Error; /// The different schemes supported by Rerun. /// /// We support `rerun`, `rerun+http`, and `rerun+https`. #[derive( Debug, PartialEq, Eq, Copy, Clone, Hash, PartialOrd, Ord, serde::Serialize, serde::Deserialize, )] pub enum Scheme { Rerun, RerunHttp, RerunHttps, } impl std::fmt::Dis...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/store/re_uri/src/endpoints/catalog.rs
crates/store/re_uri/src/endpoints/catalog.rs
use crate::{Origin, RedapUri}; /// `scheme://hostname:port/catalog` #[derive(Clone, Debug, PartialEq, Eq, Hash)] pub struct CatalogUri { pub origin: Origin, } impl std::fmt::Display for CatalogUri { fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { write!(f, "{}/catalog", self.origi...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/store/re_uri/src/endpoints/dataset.rs
crates/store/re_uri/src/endpoints/dataset.rs
use re_log_types::StoreId; use crate::{Error, Fragment, Origin, RedapUri}; /// URI pointing at the data underlying a dataset. /// /// Currently, the following format is supported: /// `<origin>/dataset/$DATASET_ID/data?segment_id=$SEGMENT_ID&time_range=$TIME_RANGE` /// /// `segment_id` is currently mandatory, and `ti...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/store/re_uri/src/endpoints/mod.rs
crates/store/re_uri/src/endpoints/mod.rs
pub mod catalog; pub mod dataset; pub mod entry; pub mod proxy;
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/store/re_uri/src/endpoints/proxy.rs
crates/store/re_uri/src/endpoints/proxy.rs
use crate::{Origin, RedapUri}; #[derive(Clone, Debug, PartialEq, Eq, Hash)] pub struct ProxyUri { pub origin: Origin, } impl std::fmt::Display for ProxyUri { fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { write!(f, "{}/proxy", self.origin) } } impl ProxyUri { pub fn new(...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/store/re_uri/src/endpoints/entry.rs
crates/store/re_uri/src/endpoints/entry.rs
use re_log_types::EntryId; use crate::{Error, Origin, RedapUri}; /// URI for a remote entry. #[derive(Clone, Debug, PartialEq, Eq, Hash, serde::Deserialize, serde::Serialize)] pub struct EntryUri { pub origin: Origin, pub entry_id: EntryId, } impl std::fmt::Display for EntryUri { fn fmt(&self, f: &mut st...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/store/re_log_types/src/entry_id.rs
crates/store/re_log_types/src/entry_id.rs
use std::str::FromStr; /// The id for an entry (i.e. a dataset or a table) in a remote catalog. #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Debug, Hash)] #[cfg_attr(feature = "serde", derive(serde::Deserialize, serde::Serialize))] #[cfg_attr(feature = "serde", serde(transparent))] pub struct EntryId { pu...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/store/re_log_types/src/lib.rs
crates/store/re_log_types/src/lib.rs
//! The different types that make up the rerun log format. //! //! ## Feature flags #![doc = document_features::document_features!()] //! //! ## Mono-components //! //! Some components, mostly transform related ones, are "mono-components". //! This means that Rerun makes assumptions that depend on this component //! on...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
true
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/store/re_log_types/src/vec_deque_ext.rs
crates/store/re_log_types/src/vec_deque_ext.rs
use std::collections::VecDeque; use std::ops::Range; // -- // --- /// Extends [`VecDeque`] with extra sorting routines. pub trait VecDequeSortingExt<T> { /// Sorts `self`. /// /// Makes sure to render `self` contiguous first, if needed. fn sort(&mut self); /// Check whether `self` is sorted. ...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/store/re_log_types/src/hash.rs
crates/store/re_log_types/src/hash.rs
/// 64-bit hash. /// /// 10^-12 collision risk with 6k values. /// 10^-9 collision risk with 190k values. /// 10^-6 collision risk with 6M values. /// 10^-3 collision risk with 200M values. #[derive(Copy, Clone, Eq, PartialOrd, Ord)] pub struct Hash64(u64); impl re_byte_size::SizeBytes for Hash64 { #[inline...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/store/re_log_types/src/example_components.rs
crates/store/re_log_types/src/example_components.rs
//! Example components to be used for tests and docs use std::sync::Arc; use re_arrow_util::ArrowArrayDowncastRef as _; use re_byte_size::SizeBytes; use re_types_core::{ Component, ComponentDescriptor, ComponentType, DeserializationError, Loggable, SerializedComponentBatch, }; // ----------------------------...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/store/re_log_types/src/instance.rs
crates/store/re_log_types/src/instance.rs
/// A unique numeric index for each individual instance within a batch. /// /// Use [`Instance::ALL`] to refer to all instances in a batch. #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] #[cfg_attr(feature = "serde", derive(serde::Deserialize, serde::Serialize))] pub struct Instance(pub(crate) u64)...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/store/re_log_types/src/arrow_msg.rs
crates/store/re_log_types/src/arrow_msg.rs
//! [`ArrowMsg`] is the [`crate::LogMsg`] sub-type containing an Arrow payload. //! //! We have custom implementations of [`serde::Serialize`] and [`serde::Deserialize`] that wraps //! the inner Arrow serialization of an [`ArrowRecordBatch`]. use std::sync::Arc; use arrow::array::RecordBatch as ArrowRecordBatch; ///...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/store/re_log_types/src/index/time_type.rs
crates/store/re_log_types/src/index/time_type.rs
use std::ops::RangeInclusive; use std::sync::Arc; use arrow::array::{DurationNanosecondArray, Int64Array, TimestampNanosecondArray}; use arrow::buffer::ScalarBuffer; use arrow::datatypes::DataType as ArrowDataType; use arrow::error::ArrowError; use re_arrow_util::ArrowArrayDowncastRef as _; use super::TimeInt; use cr...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/store/re_log_types/src/index/timestamp.rs
crates/store/re_log_types/src/index/timestamp.rs
use std::ops::RangeInclusive; use std::str::FromStr as _; use super::{Duration, TimestampFormat}; use crate::TimestampFormatKind; use crate::external::re_types_core; /// Encodes a timestamp in nanoseconds since unix epoch. /// /// Can represent any time between the years 1678 - 2261 CE to nanosecond precision. #[deri...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/store/re_log_types/src/index/time_int.rs
crates/store/re_log_types/src/index/time_int.rs
use crate::{Duration, NonMinI64, TryFromIntError}; /// A 64-bit number describing either nanoseconds, sequence numbers or fully static data. /// /// Must be matched with a [`crate::TimeType`] to know what. /// /// Used both for time points and durations. #[derive(Clone, Copy, Hash, PartialEq, Eq, PartialOrd, Ord)] #[c...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/store/re_log_types/src/index/time_real.rs
crates/store/re_log_types/src/index/time_real.rs
use fixed::FixedI128; use fixed::traits::LossyInto as _; use super::NonMinI64; use crate::TimeInt; /// Either nanoseconds or sequence numbers. /// /// Must be matched with a [`crate::TimeType`] to know what. /// /// Used both for time points and durations. /// /// This is like [`TimeInt`] with added precision to be a...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/store/re_log_types/src/index/absolute_time_range.rs
crates/store/re_log_types/src/index/absolute_time_range.rs
use std::ops::RangeInclusive; use crate::{TimeInt, TimeReal}; // ---------------------------------------------------------------------------- /// An absolute time range using [`TimeInt`]. /// /// Can be resolved from [`re_types_core::datatypes::TimeRange`] (which *may* have relative bounds) using a given timeline & ...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/store/re_log_types/src/index/mod.rs
crates/store/re_log_types/src/index/mod.rs
//! Related to indices, i.e. timelines. mod absolute_time_range; mod duration; mod non_min_i64; mod time_cell; mod time_int; mod time_point; mod time_real; mod time_type; mod timeline; mod timestamp; mod timestamp_format; pub use self::absolute_time_range::{AbsoluteTimeRange, AbsoluteTimeRangeF}; pub use self::durati...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/store/re_log_types/src/index/timeline.rs
crates/store/re_log_types/src/index/timeline.rs
use crate::{AbsoluteTimeRange, TimeType, TimelineName, TimestampFormat}; // ---------------------------------------------------------------------------- /// A time frame/space, e.g. `log_time` or `frame_nr`, coupled with the type of time /// it keeps. #[derive(Clone, Copy, Debug, PartialEq, Eq, PartialOrd, Ord)] #[cf...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/store/re_log_types/src/index/non_min_i64.rs
crates/store/re_log_types/src/index/non_min_i64.rs
// Adapted from <https://github.com/LPGhatguy/nonmax> because we want a `NonMinI64`, while `nonmax` // only provides `NonMaxI64`. // // Copyright (c) 2020 Lucien Greathouse | MIT or Apache 2 // We need unsafety in order to hijack `NonZeroI64` for our purposes. #![expect( unsafe_code, clippy::undocumented_unsaf...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/store/re_log_types/src/index/timestamp_format.rs
crates/store/re_log_types/src/index/timestamp_format.rs
/// How to display a [`crate::Timestamp`]. #[derive(Clone, Copy, Debug, Default, PartialEq, Eq, Hash)] #[cfg_attr(feature = "serde", derive(serde::Deserialize, serde::Serialize))] pub enum TimestampFormatKind { /// Convert to the local timezone and display as such explicitly (e.g. with "+01" for CET). LocalTime...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/store/re_log_types/src/index/time_point.rs
crates/store/re_log_types/src/index/time_point.rs
use std::collections::{BTreeMap, btree_map}; use super::{NonMinI64, TimeCell, TimeInt, Timeline}; use crate::TimelineName; /// A point in time on any number of [`Timeline`]s. /// /// You can think of this as all the index values for one row of data. /// /// If a [`TimePoint`] is empty ([`TimePoint::default`]), the da...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/store/re_log_types/src/index/time_cell.rs
crates/store/re_log_types/src/index/time_cell.rs
use std::str::FromStr; use crate::{NonMinI64, TimeInt, TimeType}; pub struct OutOfRange; /// An typed cell of an index, e.g. a point in time on some unknown timeline. #[derive(Copy, Clone, Debug, Hash, PartialEq, Eq, PartialOrd, Ord)] #[cfg_attr(feature = "serde", derive(serde::Deserialize, serde::Serialize))] pub s...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/store/re_log_types/src/index/duration.rs
crates/store/re_log_types/src/index/duration.rs
use std::ops::RangeInclusive; /// A signed duration represented as nanoseconds since unix epoch #[derive(Copy, Clone, PartialOrd, Ord, PartialEq, Eq, Hash)] #[cfg_attr(feature = "serde", derive(serde::Deserialize, serde::Serialize))] pub struct Duration(i64); impl Duration { pub const MAX: Self = Self(i64::MAX); ...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/store/re_log_types/src/path/data_path.rs
crates/store/re_log_types/src/path/data_path.rs
use re_types_core::ComponentIdentifier; use crate::{EntityPath, Instance}; /// A general path to some data. /// /// This always starts with an [`EntityPath`], followed by an optional instance index, /// followed by an optional [`ComponentIdentifier`]. /// /// For instance: /// /// * `points` /// * `points:Color` /// ...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/store/re_log_types/src/path/natural_ordering.rs
crates/store/re_log_types/src/path/natural_ordering.rs
//! Implement natural ordering for strings, so that "file5" < "file10". //! //! Crates considered: //! * `human-sort`: <https://github.com/paradakh/human-sort/blob/d3e11b7f122961b45d13a6ff6f5cfe0e0b48a8a0/src/lib.rs> - overflows on large integers //! * `lexical-sort`: <https://lib.rs/crates/lexical-sort> - comes with a...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/store/re_log_types/src/path/component_path.rs
crates/store/re_log_types/src/path/component_path.rs
use re_types_core::ComponentIdentifier; use crate::path::EntityPath; /// A [`EntityPath`] plus a [`ComponentIdentifier`]. /// /// Example: `camera/left/points:Points3D:color` #[derive(Clone, Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] #[cfg_attr(feature = "serde", derive(serde::Deserialize, serde::Serialize))] pub ...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/store/re_log_types/src/path/entity_path_part.rs
crates/store/re_log_types/src/path/entity_path_part.rs
use re_string_interner::InternedString; use crate::PathParseError; pub const RESERVED_NAMESPACE_PREFIX: &str = "__"; const PROPERTIES_PART: &str = "__properties"; /// The different parts that make up an [`EntityPath`][crate::EntityPath]. /// /// A non-empty string. /// /// Note that the contents of the string is NOT...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/store/re_log_types/src/path/parse_path.rs
crates/store/re_log_types/src/path/parse_path.rs
use std::str::FromStr; use re_types_core::ComponentIdentifier; use crate::{ComponentPath, DataPath, EntityPath, EntityPathPart, Instance}; #[derive(thiserror::Error, Debug, PartialEq, Eq)] pub enum PathParseError { #[error("Expected path, found empty string")] EmptyString, #[error("No entity path found"...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/store/re_log_types/src/path/entity_path.rs
crates/store/re_log_types/src/path/entity_path.rs
use std::sync::Arc; use ahash::{HashMap, HashSet}; use itertools::Itertools as _; use re_byte_size::SizeBytes; use re_string_interner::InternedString; use crate::EntityPathPart; use crate::hash::Hash64; // ---------------------------------------------------------------------------- /// A 64 bit hash of [`EntityPath...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/store/re_log_types/src/path/mod.rs
crates/store/re_log_types/src/path/mod.rs
//! Every logged entity in Rerun is logged to an [`EntityPath`]. //! //! The path is made up out of several [`EntityPathPart`]s, //! which are just non-empty strings. mod component_path; mod data_path; mod entity_path; mod entity_path_filter; mod entity_path_part; pub mod natural_ordering; mod parse_path; pub use com...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/store/re_log_types/src/path/entity_path_filter.rs
crates/store/re_log_types/src/path/entity_path_filter.rs
use std::collections::BTreeMap; use ahash::HashMap; use itertools::Itertools as _; use crate::EntityPath; /// Error returned by [`EntityPathFilter::resolve_strict`] and [`EntityPathFilter::parse_strict`]. #[derive(thiserror::Error, Debug, PartialEq, Eq)] pub enum EntityPathFilterError { #[error("Path parse error...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
true
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/store/re_log_types/benches/vec_deque_ext.rs
crates/store/re_log_types/benches/vec_deque_ext.rs
#![expect(clippy::cast_possible_wrap)] //! Simple benchmark suite to keep track of how the different removal methods for [`VecDeque`] //! behave in practice. use std::collections::VecDeque; use criterion::{Criterion, criterion_group, criterion_main}; use itertools::Itertools as _; use re_log_types::{VecDequeInsertio...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/store/re_types/src/lib.rs
crates/store/re_types/src/lib.rs
//! DEPRECATED! Use `re_sdk_types` instead! #![deprecated = "Use re_sdk_types instead"] #[deprecated = "Use re_sdk_types instead"] pub use re_sdk_types::*;
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/top/rerun/build.rs
crates/top/rerun/build.rs
fn main() { re_build_tools::export_build_info_vars_for_crate("rerun"); }
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/top/rerun/src/sdk.rs
crates/top/rerun/src/sdk.rs
// NOTE: Have a look at `re_sdk/src/lib.rs` for an accurate listing of all these symbols. pub use re_sdk::*; /// Transform helpers, for use with [`archetypes::Transform3D`]. pub mod transform { pub use re_sdk_types::datatypes::{Angle, Quaternion, RotationAxisAngle}; } /// Coordinate system helpers, for use with [...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/top/rerun/src/clap.rs
crates/top/rerun/src/clap.rs
//! Integration with integration with the [`clap`](https://crates.io/crates/clap) command line argument parser. use std::path::PathBuf; use re_sdk::{RecordingStream, RecordingStreamBuilder}; // --- #[derive(Debug, Clone, PartialEq, Eq)] enum RerunBehavior { Connect(String), Save(PathBuf), Stdout, ...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/top/rerun/src/lib.rs
crates/top/rerun/src/lib.rs
//! # Rerun - Visualize streams of multimodal data. //! //! Add the `rerun` library to your crate with `cargo add rerun`. //! //! There is also a `rerun` binary. //! The binary is required in order to stream log data //! over the networks, and to open our `.rrd` data files. //! If you need it, install the `rerun` binar...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/top/rerun/src/demo_util.rs
crates/top/rerun/src/demo_util.rs
//! This module contains utilities to support Rerun examples. use std::ops::{Add, Mul, Sub}; #[cfg(feature = "glam")] use crate::external::glam; // --- /// Linear interpolator. #[inline] pub fn lerp<T>( a: T, b: T, t: f32, ) -> <<T as Sub<<f32 as Mul<T>>::Output>>::Output as Add<<f32 as Mul<T>>::Output>...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/top/rerun/src/log_integration.rs
crates/top/rerun/src/log_integration.rs
//! Integrates the Rerun SDK with the [`log`] crate. use log::Log as _; use re_sdk_types::archetypes::TextLog; use re_sdk_types::components::TextLogLevel; use crate::RecordingStream; // --- /// Implements a [`log::Log`] that forwards all events to the Rerun SDK. /// /// ``` /// let rec = rerun::RecordingStreamBuild...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/top/rerun/src/native_viewer.rs
crates/top/rerun/src/native_viewer.rs
use re_log_types::LogMsg; use re_viewer::external::eframe; /// Starts a Rerun viewer to visualize the contents of a given array of messages. /// The method will return when the viewer is closed. /// /// ⚠️ This function must be called from the main thread since some platforms require that /// their UI runs on the mai...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/top/rerun/src/commands/entrypoint.rs
crates/top/rerun/src/commands/entrypoint.rs
use std::net::IpAddr; use std::time::Duration; use clap::{CommandFactory as _, Subcommand}; use itertools::Itertools as _; use re_data_source::{AuthErrorHandler, LogDataSource}; use re_log_channel::{DataSourceMessage, LogReceiver, LogReceiverSet, SmartMessagePayload}; #[cfg(feature = "web_viewer")] use re_sdk::web_vie...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
true
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/top/rerun/src/commands/stdio.rs
crates/top/rerun/src/commands/stdio.rs
use std::path::PathBuf; use anyhow::Context as _; use crossbeam::channel; use itertools::Itertools as _; use re_chunk::external::crossbeam; use re_log_encoding::RrdManifest; // --- #[derive(Clone, Debug, PartialEq, Eq, Hash)] pub enum InputSource { Stdin, File(PathBuf), } impl std::fmt::Display for InputSou...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/top/rerun/src/commands/auth.rs
crates/top/rerun/src/commands/auth.rs
use clap::{Parser, Subcommand}; #[derive(Debug, Clone, Subcommand)] pub enum AuthCommands { /// Log into Rerun. /// /// This command opens a page in your default browser, allowing you /// to log in to the Rerun data platform. /// /// Once you've logged in, your credentials are stored on your ma...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/top/rerun/src/commands/mod.rs
crates/top/rerun/src/commands/mod.rs
/// Where are we calling [`run`] from? // TODO(jleibs): Maybe remove call-source all together. // However, this context of spawn vs direct CLI-invocation still seems // useful for analytics. We just need to capture the data some other way. pub enum CallSource { /// Called from a command-line-input (the terminal). ...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/top/rerun/src/commands/mcap/mod.rs
crates/top/rerun/src/commands/mcap/mod.rs
use std::collections::BTreeSet; use std::fs::File; use std::io::BufWriter; use std::sync::mpsc::Receiver; use clap::Subcommand; use re_log_encoding::Encoder; use re_log_types::{LogMsg, RecordingId}; use re_mcap::{LayerIdentifier, SelectedLayers}; use re_sdk::external::re_data_loader::McapLoader; use re_sdk::{Applicati...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/top/rerun/src/commands/analytics/mod.rs
crates/top/rerun/src/commands/analytics/mod.rs
use clap::Subcommand; // --- #[derive(Debug, Clone, Subcommand)] pub enum AnalyticsCommands { /// Prints extra information about analytics. Details, /// Deletes everything related to analytics. /// /// This will remove all pending data that hasn't yet been sent to our servers, as well as /// ...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/top/rerun/src/commands/rrd/merge_compact.rs
crates/top/rerun/src/commands/rrd/merge_compact.rs
use std::io::{IsTerminal as _, Write as _}; use anyhow::Context as _; use itertools::Either; use re_chunk_store::{ChunkStore, ChunkStoreConfig, ChunkStoreError}; use re_entity_db::EntityDb; use re_log_types::StoreId; use re_sdk::StoreKind; use crate::commands::read_rrd_streams_from_file_or_stdin; // --- #[derive(De...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/top/rerun/src/commands/rrd/stats.rs
crates/top/rerun/src/commands/rrd/stats.rs
use ahash::{HashMap, HashMapExt as _}; use itertools::Itertools as _; use re_log_encoding::ToApplication as _; use re_protos::log_msg::v1alpha1::log_msg::Msg; use crate::commands::read_raw_rrd_streams_from_file_or_stdin; // --- #[derive(Debug, Clone, clap::Parser)] pub struct StatsCommand { /// If set, the data ...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/top/rerun/src/commands/rrd/filter.rs
crates/top/rerun/src/commands/rrd/filter.rs
use std::collections::HashSet; use std::io::IsTerminal as _; use anyhow::Context as _; use arrow::array::{RecordBatch as ArrowRecordBatch, RecordBatchOptions}; use arrow::datatypes::{Field as ArrowField, Schema as ArrowSchema}; use itertools::Either; use re_build_info::CrateVersion; use re_chunk::external::crossbeam; ...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/top/rerun/src/commands/rrd/migrate.rs
crates/top/rerun/src/commands/rrd/migrate.rs
use std::time::Duration; use anyhow::Context as _; use camino::Utf8PathBuf; use indicatif::ProgressBar; use itertools::Itertools as _; use rayon::prelude::*; use re_build_info::CrateVersion; use re_log_encoding::rrd::EncodingOptions; #[derive(Debug, Clone, clap::Parser)] pub struct MigrateCommand { /// Paths to r...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/top/rerun/src/commands/rrd/verify.rs
crates/top/rerun/src/commands/rrd/verify.rs
use std::collections::HashSet; use arrow::array::AsArray as _; use itertools::Itertools as _; use re_log_types::LogMsg; use re_sdk_types::reflection::{ComponentDescriptorExt as _, Reflection}; use crate::commands::read_rrd_streams_from_file_or_stdin; // --- #[derive(Debug, Clone, clap::Parser)] pub struct VerifyCom...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/top/rerun/src/commands/rrd/mod.rs
crates/top/rerun/src/commands/rrd/mod.rs
mod compare; mod filter; mod merge_compact; mod migrate; mod print; mod route; mod stats; mod verify; // --- use anyhow::Context as _; use clap::Subcommand; use self::compare::CompareCommand; use self::filter::FilterCommand; use self::merge_compact::{CompactCommand, MergeCommand}; use self::migrate::MigrateCommand; u...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/top/rerun/src/commands/rrd/route.rs
crates/top/rerun/src/commands/rrd/route.rs
use std::fs::File; use std::io::BufWriter; use crossbeam::channel::Receiver; use re_log_encoding::Encoder; use re_protos::common::v1alpha1::ApplicationId; use re_protos::log_msg::v1alpha1::log_msg::Msg; use re_protos::log_msg::v1alpha1::{ArrowMsg, BlueprintActivationCommand, SetStoreInfo, StoreInfo}; use crate::comma...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/top/rerun/src/commands/rrd/compare.rs
crates/top/rerun/src/commands/rrd/compare.rs
use std::path::{Path, PathBuf}; use std::sync::Arc; use anyhow::Context as _; use itertools::{Itertools as _, izip}; use re_chunk::Chunk; // --- #[derive(Debug, Clone, clap::Parser)] pub struct CompareCommand { path_to_rrd1: String, path_to_rrd2: String, /// If specified, the comparison will focus purel...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/top/rerun/src/commands/rrd/print.rs
crates/top/rerun/src/commands/rrd/print.rs
use anyhow::Context as _; use arrow::array::RecordBatch; use itertools::Itertools as _; use re_arrow_util::RecordBatchExt as _; use re_byte_size::SizeBytes as _; use re_log_types::{LogMsg, SetStoreInfo}; use re_sdk::EntityPath; use crate::commands::read_rrd_streams_from_file_or_stdin; // --- #[derive(Debug, Clone, c...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/top/rerun/tests/rerun_tests.rs
crates/top/rerun/tests/rerun_tests.rs
/// Regression test for checking that `RowId`s are generated in-order (when single-threaded). /// /// Out-of-order row IDs is technically fine, but can cause unnecessary performance issues. /// /// See for instance <https://github.com/rerun-io/rerun/issues/4415>. #[test] fn test_row_id_order() { let mut hooks = re_...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/top/re_sdk/build.rs
crates/top/re_sdk/build.rs
fn main() { re_build_tools::export_build_info_vars_for_crate("re_sdk"); }
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/top/re_sdk/src/binary_stream_sink.rs
crates/top/re_sdk/src/binary_stream_sink.rs
use std::sync::Arc; use parking_lot::Mutex; use re_log::ResultExt as _; use re_log_encoding::Encoder; use re_log_types::LogMsg; use crate::RecordingStream; use crate::log_sink::SinkFlushError; use crate::sink::LogSink; /// The storage used by [`BinaryStreamSink`]. /// /// Reading from this consumes the bytes from th...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/top/re_sdk/src/global.rs
crates/top/re_sdk/src/global.rs
//! Keeps track of global and thread-local [`RecordingStream`]s and handles fallback logic between //! them. use std::cell::RefCell; use std::sync::OnceLock; use parking_lot::RwLock; use crate::{RecordingStream, StoreKind}; // --- #[derive(Clone, Copy, Debug, PartialEq, Eq)] enum RecordingScope { Global, T...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/top/re_sdk/src/lib.rs
crates/top/re_sdk/src/lib.rs
//! The Rerun logging SDK //! //! This is the bare-bones version of the [`rerun`](https://docs.rs/rerun/) crate. //! `rerun` exports everything in `re_sdk`, so in most cases you want to use `rerun` //! instead. //! //! Please read [the docs for the `rerun` crate](https://docs.rs/rerun/) instead. //! //! ## Feature flag...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/top/re_sdk/src/spawn.rs
crates/top/re_sdk/src/spawn.rs
/// Options to control the behavior of [`spawn`]. /// /// Refer to the field-level documentation for more information about each individual options. /// /// The defaults are ok for most use cases: `SpawnOptions::default()`. /// Use the partial-default pattern to customize them further: /// ```no_run /// let opts = re_s...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/top/re_sdk/src/log_sink.rs
crates/top/re_sdk/src/log_sink.rs
use std::fmt; use std::sync::Arc; use std::time::Duration; use parking_lot::Mutex; use re_chunk::ChunkBatcherConfig; use re_grpc_client::write::{Client as MessageProxyClient, GrpcFlushError, Options}; use re_log_encoding::{EncodeError, Encoder}; use re_log_types::{BlueprintActivationCommand, LogMsg, StoreId}; use cra...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/top/re_sdk/src/recording_stream.rs
crates/top/re_sdk/src/recording_stream.rs
use std::fmt; use std::io::IsTerminal as _; use std::sync::atomic::AtomicI64; use std::sync::{Arc, Weak}; use std::time::Duration; use ahash::HashMap; use crossbeam::channel::{Receiver, RecvTimeoutError, Sender}; use itertools::Either; use nohash_hasher::IntMap; use parking_lot::Mutex; use re_chunk::{ BatcherFlush...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
true
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/top/re_sdk/src/grpc_server.rs
crates/top/re_sdk/src/grpc_server.rs
use std::time::Duration; use re_chunk::ChunkBatcherConfig; use re_log_types::LogMsg; use crate::sink::SinkFlushError; /// A [`crate::sink::LogSink`] tied to a hosted Rerun gRPC server. /// /// The hosted gRPC server may be connected to by any SDK or Viewer. /// /// All data sent through this sink is immediately redi...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/top/re_sdk/src/web_viewer.rs
crates/top/re_sdk/src/web_viewer.rs
use re_chunk::ChunkBatcherConfig; use re_log_types::LogMsg; use re_web_viewer_server::{WebViewerServer, WebViewerServerError, WebViewerServerPort}; use crate::log_sink::SinkFlushError; // ---------------------------------------------------------------------------- /// Failure to host a web viewer and/or Rerun server...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/top/re_sdk/src/lenses/op.rs
crates/top/re_sdk/src/lenses/op.rs
//! Provides commonly used transformations of Arrow arrays. //! //! These operations should not be exposed publicly, but instead be wrapped by the [`super::ast::Op`] abstraction. // TODO(grtlr): Eventually we will want to make the types in here compatible with Datafusion UDFs. use std::sync::Arc; use arrow::array::{...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/top/re_sdk/src/lenses/ast.rs
crates/top/re_sdk/src/lenses/ast.rs
//! Private module with the AST-like definitions of lenses. //! //! **Note**: Apart from high-level entry points (like [`Op`] and [`Lens`], //! we should not leak these elements into the public API. This allows us to //! evolve the definition of lenses over time, if requirements change. use arrow::array::{AsArray as _...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/top/re_sdk/src/lenses/builder.rs
crates/top/re_sdk/src/lenses/builder.rs
//! Builder API for constructing lenses. use re_chunk::{ComponentIdentifier, EntityPath, TimelineName}; use re_log_types::{EntityPathFilter, TimeType}; use re_sdk_types::ComponentDescriptor; use super::ast::{OneToMany, OneToOne, Static}; use super::{LensError, Op, ast}; /// Builder for lenses with support for multip...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/top/re_sdk/src/lenses/error.rs
crates/top/re_sdk/src/lenses/error.rs
use re_chunk::{ComponentIdentifier, EntityPath, TimelineName}; use re_log_types::EntityPathFilter; use super::op::OpError; /// Different variants of errors that can happen when executing lenses. #[expect(missing_docs)] #[derive(Debug, thiserror::Error)] pub enum LensError { #[error( "Lens for input compon...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/top/re_sdk/src/lenses/sink.rs
crates/top/re_sdk/src/lenses/sink.rs
use re_chunk::Chunk; use re_log_types::{LogMsg, StoreId}; use super::Lens; use super::ast::{Lenses, OutputMode}; use crate::sink::LogSink; /// A sink which can transform a [`LogMsg`] and forward the result to an underlying backing [`LogSink`]. /// /// The sink will only forward components that are matched by a lens s...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/top/re_sdk/src/lenses/mod.rs
crates/top/re_sdk/src/lenses/mod.rs
//! Lenses allow you to extract, transform, and restructure component data. They //! are applied to chunks that match the specified entity path filter and contain //! the target component. //! //! See [`lenses::Lens`] for more details and assumptions. One way to make use of lenses is //! by using the [`lenses::LensesSi...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/top/re_sdk/tests/flush.rs
crates/top/re_sdk/tests/flush.rs
use std::time::Duration; use re_sdk::RecordingStreamBuilder; /// Test that we don't block forever when dropping /// a broken gRPC sink. #[test] fn test_drop_grpc_sink() { re_log::setup_logging(); let url_to_nowhere = "rerun+http://not.real:1234/proxy"; re_log::info!("Connecting…"); // TODO(emilk): it...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/top/re_sdk/tests/lenses.rs
crates/top/re_sdk/tests/lenses.rs
mod lenses { mod operations; mod output_mode; }
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/top/re_sdk/tests/lenses/operations.rs
crates/top/re_sdk/tests/lenses/operations.rs
#![expect(clippy::cast_possible_wrap)] #![expect(clippy::unwrap_used)] use std::sync::Arc; use arrow::array::{AsArray as _, Int32Builder, ListArray, ListBuilder, StringBuilder}; use arrow::datatypes::{DataType, Field}; use re_chunk::{ArrowArray as _, Chunk, ChunkId, TimeColumn, TimelineName}; use re_sdk::lenses::{Len...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/top/re_sdk/tests/lenses/output_mode.rs
crates/top/re_sdk/tests/lenses/output_mode.rs
#![expect(clippy::unwrap_used)] use arrow::array::{ListBuilder, StringBuilder}; use re_chunk::{Chunk, ChunkId, TimeColumn, TimelineName}; use re_sdk::lenses::{Lens, Lenses, OutputMode}; use re_sdk_types::ComponentDescriptor; /// Helper to create a simple chunk with string data for testing fn create_test_chunk(entity_...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/top/rerun-cli/build.rs
crates/top/rerun-cli/build.rs
fn main() { re_build_tools::export_build_info_vars_for_crate("rerun-cli"); // Warn about not using the `nasm` feature in a release build. let is_release = std::env::var("PROFILE") == Ok("release".to_owned()); let has_nasm_feature = std::env::var("CARGO_FEATURE_NASM").is_ok(); if is_release && !has_...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/top/rerun-cli/src/bin/rerun.rs
crates/top/rerun-cli/src/bin/rerun.rs
//! The `rerun` binary, part of the [`rerun`](https://github.com/rerun-io/rerun) family of crates. //! //! Run `rerun --help` for more information. //! //! ## Feature flags #![doc = document_features::document_features!()] //! //! ## Links //! - [Examples](https://github.com/rerun-io/rerun/tree/latest/examples/rust) //...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/top/rerun_c/build.rs
crates/top/rerun_c/build.rs
fn main() { re_build_tools::export_build_info_vars_for_crate("rerun_c"); }
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/top/rerun_c/src/video.rs
crates/top/rerun_c/src/video.rs
use crate::{CError, CErrorCode, CStringView}; #[expect(unsafe_code)] #[unsafe(no_mangle)] pub extern "C" fn rr_video_asset_read_frame_timestamps_nanos( video_bytes: *const u8, video_bytes_len: u64, media_type: CStringView, alloc_context: *mut std::ffi::c_void, alloc_func: Option< extern "C"...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/top/rerun_c/src/lib.rs
crates/top/rerun_c/src/lib.rs
//! The Rerun C SDK. //! //! The functions here must match `rerun_cpp/src/rerun/c/rerun.h`. #![crate_type = "staticlib"] #![expect(clippy::missing_safety_doc, clippy::undocumented_unsafe_blocks)] // Too much unsafe mod arrow_utils; mod component_type_registry; mod error; mod ptr; mod recording_streams; mod video; us...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
true
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/top/rerun_c/src/component_type_registry.rs
crates/top/rerun_c/src/component_type_registry.rs
use parking_lot::RwLock; use re_sdk::ComponentDescriptor; use crate::{CComponentTypeHandle, CError, CErrorCode}; pub struct ComponentType { pub descriptor: ComponentDescriptor, pub datatype: arrow::datatypes::DataType, } #[derive(Default)] pub struct ComponentTypeRegistry { next_id: CComponentTypeHandle,...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/top/rerun_c/src/error.rs
crates/top/rerun_c/src/error.rs
use crate::{CError, CErrorCode}; impl CError { /// The maximum size in bytes of the [`CError::message`] field. /// /// Error message larger than this value will be automatically truncated. // // NOTE: You must update `rr_error.description` too if you modify this value. pub const MAX_MESSAGE_SIZ...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/top/rerun_c/src/arrow_utils.rs
crates/top/rerun_c/src/arrow_utils.rs
use arrow::ffi::FFI_ArrowArray; use crate::{CError, CErrorCode}; /// Converts a C-FFI arrow array into a Rust component batch, taking ownership of the underlying arrow data. /// /// ### Safety /// This struct assumes that the incoming data agrees with the C data interface. #[expect(unsafe_code)] #[expect(clippy::resu...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/top/rerun_c/src/recording_streams.rs
crates/top/rerun_c/src/recording_streams.rs
use parking_lot::Mutex; use re_sdk::{RecordingStream, StoreKind}; use crate::{ CError, CRecordingStream, RR_REC_STREAM_CURRENT_BLUEPRINT, RR_REC_STREAM_CURRENT_RECORDING, }; #[derive(Default)] pub struct RecStreams { next_id: CRecordingStream, streams: ahash::HashMap<CRecordingStream, RecordingStream>, } ...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/top/rerun_c/src/ptr.rs
crates/top/rerun_c/src/ptr.rs
use std::ffi::c_char; use crate::{CError, CErrorCode}; // --- #[expect(unsafe_code)] #[expect(clippy::result_large_err)] pub fn try_ptr_as_ref<T>(ptr: *const T, argument_name: &str) -> Result<&T, CError> { let ptr = unsafe { ptr.as_ref() }; if let Some(ptr) = ptr { Ok(ptr) } else { Err(CE...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/utils/re_format/src/lib.rs
crates/utils/re_format/src/lib.rs
//! Miscellaneous tools to format and parse numbers, durations, etc. //! //! TODO(emilk): move some of this numeric formatting into `emath` so we can use it in `egui_plot`. mod duration; pub mod time; use std::cmp::PartialOrd; use std::fmt::Display; pub use self::duration::DurationFormatOptions; // --- Numbers --- ...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/utils/re_format/src/time.rs
crates/utils/re_format/src/time.rs
/// When showing grid-lines representing time. /// /// Given some spacing (e.g. 10s), return the next spacing (60s). pub fn next_grid_tick_magnitude_nanos(spacing_nanos: i64) -> i64 { if spacing_nanos <= 1_000_000_000 { spacing_nanos * 10 // up to 10 second ticks } else if spacing_nanos == 10_000_000_00...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/utils/re_format/src/duration.rs
crates/utils/re_format/src/duration.rs
use itertools::Itertools as _; use crate::{THIN_SPACE, format_uint}; /// How to round sub-seconds enum Rounding { Closest, TowardsZero, } /// Format a duration as e.g. `3.2s` or `1h 42m`. pub struct DurationFormatOptions { only_seconds: bool, always_sign: bool, min_decimals: usize, max_decima...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/utils/re_string_interner/src/lib.rs
crates/utils/re_string_interner/src/lib.rs
//! Yet another string interning library. //! //! The main thing that makes this library different is that //! [`InternedString`] stores the hash of the string, which makes //! using it in lookups is really fast, especially when using [`nohash_hasher::IntMap`]. //! //! The hash is assumed to be perfect, which means thi...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/utils/re_rvl/src/lib.rs
crates/utils/re_rvl/src/lib.rs
//! RVL codec helpers (Run length encoding and Variable Length encoding schemes). //! //! For a complete reference of the format see: //! <https://www.microsoft.com/en-us/research/wp-content/uploads/2018/09/p100-wilson.pdf> use std::mem::size_of; use byteorder::{ByteOrder as _, LittleEndian}; use thiserror::Error; c...
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false
rerun-io/rerun
https://github.com/rerun-io/rerun/blob/910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0/crates/utils/re_memory/src/memory_use.rs
crates/utils/re_memory/src/memory_use.rs
/// How much RAM is the application using? #[derive(Copy, Clone, Debug, PartialEq, Eq)] pub struct MemoryUse { /// Bytes allocated by the application according to operating system. /// /// Resident Set Size (RSS) on Linux, Android, Mac, iOS. /// Working Set on Windows. /// /// `None` if unknown....
rust
Apache-2.0
910b1e72ca3ceb352b0bcf0d8d7de4f6bf4d19d0
2026-01-04T15:43:37.979050Z
false