# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.92"
name = "rerun"
version = "0.33.1"
authors = ["rerun.io <opensource@rerun.io>"]
build = "build.rs"
include = [
    "../../Cargo.lock",
    "../../LICENSE-APACHE",
    "../../LICENSE-MIT",
    "**/*.rs",
    "Cargo.toml",
]
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Log images, point clouds, etc, and visualize them effortlessly"
homepage = "https://rerun.io"
readme = "README.md"
keywords = [
    "mesh",
    "plotting",
    "point-cloud",
    "robotics",
    "visualization",
]
categories = [
    "visualization",
    "computer-vision",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/rerun-io/rerun"
resolver = "2"

[package.metadata.docs.rs]
all-features = true
targets = [
    "x86_64-unknown-linux-gnu",
    "wasm32-unknown-unknown",
]

[package.metadata.cargo-shear]
ignored = ["puffin"]

[features]
analytics = [
    "dep:re_analytics",
    "re_crash_handler?/analytics",
    "re_viewer?/analytics",
    "re_web_viewer_server?/analytics",
]
auth = [
    "re_auth/cli",
    "dep:jiff",
    "dep:url",
]
clap = ["dep:clap"]
dataframe = ["dep:re_dataframe"]
default = [
    "analytics",
    "importers",
    "dataframe",
    "demo",
    "glam",
    "image",
    "log",
    "map_view",
    "sdk",
    "server",
]
demo = []
ecolor = ["re_sdk_types?/ecolor"]
glam = [
    "re_sdk_types?/glam",
    "re_byte_size/glam",
]
image = ["re_sdk_types?/image"]
importers = [
    "dep:re_mcap",
    "dep:mcap",
    "re_sdk?/importers",
]
log = [
    "dep:env_filter",
    "dep:log",
]
map_view = ["re_viewer?/map_view"]
mint = ["re_sdk_types?/mint"]
nasm = ["re_video/nasm"]
native_viewer = [
    "dep:re_viewer",
    "dep:re_crash_handler",
]
oss_server = ["dep:re_server"]
perf_telemetry = [
    "dep:re_perf_telemetry",
    "re_redap_client/perf_telemetry",
    "re_viewer?/perf_telemetry",
]
perf_telemetry_tracy = [
    "perf_telemetry",
    "re_perf_telemetry/tracy",
]
run = [
    "auth",
    "clap",
    "dep:re_chunk_store",
    "dep:re_crash_handler",
    "dep:re_data_source",
    "re_log_encoding/decoder",
    "re_log_encoding/encoder",
    "sdk",
    "unindent",
]
sdk = [
    "dep:re_sdk",
    "dep:re_sdk_types",
]
server = [
    "dep:re_grpc_server",
    "re_sdk/server",
    "tokio/signal",
]
web_viewer = [
    "server",
    "dep:re_web_viewer_server",
    "re_sdk?/web_viewer",
]

[lib]
name = "rerun"
path = "src/lib.rs"

[[test]]
name = "rerun_tests"
path = "tests/rerun_tests.rs"

[dependencies.ahash]
version = "0.8"

[dependencies.anyhow]
version = "1.0.102"
default-features = false

[dependencies.arrow]
version = "57.3.0"
features = [
    "ffi",
    "ipc",
    "json",
]
default-features = false

[dependencies.camino]
version = "1.2.2"

[dependencies.cfg-if]
version = "1.0.4"

[dependencies.crossbeam]
version = "0.8.4"

[dependencies.document-features]
version = "0.2.12"

[dependencies.env_filter]
version = "1.0.0"
optional = true
default-features = false

[dependencies.indexmap]
version = "2.13"
features = [
    "std",
    "serde",
]

[dependencies.indicatif]
version = "0.18.4"

[dependencies.itertools]
version = "0.14.0"

[dependencies.log]
version = "0.4.29"
optional = true

[dependencies.mcap]
version = "0.24.0"
optional = true

[dependencies.parking_lot]
version = "0.12.5"
features = ["serde"]

[dependencies.re_analytics]
version = "0.33.1"
optional = true
default-features = false

[dependencies.re_arrow_util]
version = "0.33.1"
default-features = false

[dependencies.re_auth]
version = "0.33.1"
optional = true
default-features = false

[dependencies.re_build_info]
version = "0.33.1"
default-features = false

[dependencies.re_byte_size]
version = "0.33.1"
default-features = false

[dependencies.re_capabilities]
version = "0.33.1"
default-features = false

[dependencies.re_chunk]
version = "0.33.1"
default-features = false

[dependencies.re_chunk_store]
version = "0.33.1"
optional = true
default-features = false

[dependencies.re_crash_handler]
version = "0.33.1"
optional = true
default-features = false

[dependencies.re_data_source]
version = "0.33.1"
optional = true
default-features = false

[dependencies.re_dataframe]
version = "0.33.1"
optional = true
default-features = false

[dependencies.re_entity_db]
version = "0.33.1"
default-features = false

[dependencies.re_error]
version = "0.33.1"
default-features = false

[dependencies.re_format]
version = "0.33.1"
default-features = false

[dependencies.re_grpc_server]
version = "0.33.1"
optional = true
default-features = false

[dependencies.re_log]
version = "0.33.1"
default-features = false

[dependencies.re_log_channel]
version = "0.33.1"
default-features = false

[dependencies.re_log_encoding]
version = "0.33.1"
default-features = false

[dependencies.re_log_types]
version = "0.33.1"
default-features = false

[dependencies.re_mcap]
version = "0.33.1"
optional = true
default-features = false

[dependencies.re_memory]
version = "0.33.1"
default-features = false

[dependencies.re_protos]
version = "0.33.1"
default-features = false

[dependencies.re_quota_channel]
version = "0.33.1"
default-features = false

[dependencies.re_redap_client]
version = "0.33.1"
default-features = false

[dependencies.re_sdk]
version = "0.33.1"
optional = true
default-features = false

[dependencies.re_sdk_types]
version = "0.33.1"
optional = true
default-features = false

[dependencies.re_server]
version = "0.33.1"
optional = true
default-features = false

[dependencies.re_sorbet]
version = "0.33.1"
default-features = false

[dependencies.re_tracing]
version = "0.33.1"
default-features = false

[dependencies.re_uri]
version = "0.33.1"
default-features = false

[dependencies.re_video]
version = "0.33.1"
default-features = false

[dependencies.re_viewer]
version = "0.33.1"
optional = true
default-features = false

[dependencies.re_web_viewer_server]
version = "0.33.1"
optional = true
default-features = false

[dependencies.similar-asserts]
version = "1.7.0"

[dependencies.tokio]
version = "1.50.0"
features = ["rt-multi-thread"]
default-features = false

[dependencies.walkdir]
version = "2.5"

[build-dependencies.re_build_tools]
version = "0.33.1"
default-features = false

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.clap]
version = "4.5.60"
features = [
    "derive",
    "derive",
]
optional = true

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.jiff]
version = "0.2.23"
features = ["js"]
optional = true

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.puffin]
version = "0.19.1"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.rayon]
version = "1.11"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.re_perf_telemetry]
version = "0.33.1"
optional = true
default-features = false

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.unindent]
version = "0.2.4"
optional = true

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.url]
version = "2.5.8"
optional = true

[lints.clippy]
allow_attributes = "warn"
as_ptr_cast_mut = "warn"
await_holding_lock = "warn"
bool_to_int_with_if = "warn"
branches_sharing_code = "warn"
cast_possible_truncation = "allow"
cast_possible_wrap = "warn"
char_lit_as_u8 = "warn"
checked_conversions = "warn"
clear_with_drain = "warn"
clone_on_ref_ptr = "allow"
cloned_instead_of_copied = "warn"
coerce_container_to_any = "warn"
dbg_macro = "warn"
debug_assert_with_mut_call = "warn"
default_union_representation = "warn"
derive_partial_eq_without_eq = "warn"
disallowed_macros = "warn"
disallowed_methods = "warn"
disallowed_names = "warn"
disallowed_script_idents = "warn"
disallowed_types = "warn"
doc_broken_link = "warn"
doc_comment_double_space_linebreaks = "warn"
doc_include_without_cfg = "warn"
doc_link_with_quotes = "warn"
doc_markdown = "warn"
elidable_lifetime_names = "warn"
empty_enum = "warn"
empty_enum_variants_with_brackets = "warn"
empty_line_after_outer_attr = "warn"
enum_glob_use = "warn"
equatable_if_let = "warn"
exit = "warn"
expl_impl_clone_on_copy = "warn"
explicit_deref_methods = "warn"
explicit_into_iter_loop = "warn"
explicit_iter_loop = "warn"
fallible_impl_from = "warn"
filter_map_next = "warn"
flat_map_option = "warn"
float_cmp_const = "warn"
fn_params_excessive_bools = "warn"
fn_to_numeric_cast_any = "warn"
format_push_string = "warn"
from_iter_instead_of_collect = "warn"
get_unwrap = "warn"
if_let_mutex = "warn"
ignore_without_reason = "warn"
ignored_unit_patterns = "warn"
implicit_clone = "warn"
implied_bounds_in_impls = "warn"
imprecise_flops = "warn"
inconsistent_struct_constructor = "warn"
index_refutable_slice = "warn"
inefficient_to_string = "warn"
infinite_loop = "warn"
into_iter_without_iter = "warn"
invalid_upcast_comparisons = "warn"
ip_constant = "warn"
iter_filter_is_ok = "warn"
iter_filter_is_some = "warn"
iter_not_returning_iterator = "warn"
iter_on_empty_collections = "warn"
iter_on_single_items = "warn"
iter_over_hash_type = "allow"
iter_without_into_iter = "warn"
large_digit_groups = "warn"
large_futures = "warn"
large_include_file = "warn"
large_stack_arrays = "warn"
large_stack_frames = "warn"
large_types_passed_by_value = "warn"
let_underscore_must_use = "warn"
let_underscore_untyped = "allow"
let_unit_value = "warn"
linkedlist = "warn"
literal_string_with_formatting_args = "warn"
lossy_float_literal = "warn"
macro_use_imports = "warn"
manual_assert = "warn"
manual_clamp = "warn"
manual_instant_elapsed = "warn"
manual_is_power_of_two = "warn"
manual_is_variant_and = "warn"
manual_let_else = "warn"
manual_midpoint = "warn"
manual_ok_or = "warn"
manual_range_contains = "allow"
manual_string_new = "warn"
map_err_ignore = "warn"
map_flatten = "warn"
map_unwrap_or = "allow"
match_bool = "warn"
match_same_arms = "warn"
match_wild_err_arm = "warn"
match_wildcard_for_single_variants = "warn"
mem_forget = "warn"
mismatching_type_param_order = "warn"
missing_assert_message = "allow"
missing_enforced_import_renames = "warn"
missing_errors_doc = "allow"
missing_fields_in_debug = "warn"
missing_safety_doc = "warn"
mixed_attributes_style = "warn"
mut_mut = "warn"
mutex_integer = "warn"
needless_borrow = "warn"
needless_continue = "warn"
needless_for_each = "warn"
needless_pass_by_ref_mut = "warn"
needless_pass_by_value = "warn"
negative_feature_names = "warn"
non_std_lazy_statics = "warn"
non_zero_suggestions = "warn"
nonstandard_macro_braces = "warn"
only_used_in_recursion = "warn"
option_as_ref_cloned = "warn"
option_option = "warn"
or_fun_call = "warn"
path_buf_push_overwrite = "warn"
pathbuf_init_then_push = "warn"
precedence_bits = "warn"
ptr_as_ptr = "warn"
ptr_cast_constness = "warn"
pub_underscore_fields = "warn"
pub_without_shorthand = "warn"
rc_mutex = "warn"
readonly_write_lock = "warn"
redundant_type_annotations = "warn"
ref_as_ptr = "warn"
ref_option = "warn"
ref_option_ref = "warn"
ref_patterns = "allow"
rest_pat_in_fully_bound_structs = "warn"
return_and_then = "warn"
same_functions_in_if_condition = "warn"
self_only_used_in_recursion = "warn"
semicolon_if_nothing_returned = "warn"
set_contains_or_insert = "warn"
should_panic_without_expect = "warn"
significant_drop_tightening = "allow"
single_char_pattern = "warn"
single_match_else = "warn"
single_option_map = "warn"
str_split_at_newline = "warn"
str_to_string = "warn"
string_add = "warn"
string_add_assign = "warn"
string_lit_as_bytes = "warn"
string_lit_chars_any = "warn"
suspicious_command_arg_space = "warn"
suspicious_xor_used_as_pow = "warn"
todo = "warn"
too_long_first_doc_paragraph = "warn"
too_many_arguments = "allow"
too_many_lines = "warn"
trailing_empty_array = "warn"
trait_duplication_in_bounds = "warn"
transmute_ptr_to_ptr = "warn"
tuple_array_conversions = "warn"
unchecked_time_subtraction = "warn"
undocumented_unsafe_blocks = "warn"
unimplemented = "warn"
uninhabited_references = "warn"
uninlined_format_args = "warn"
unnecessary_box_returns = "warn"
unnecessary_debug_formatting = "allow"
unnecessary_literal_bound = "warn"
unnecessary_safety_doc = "warn"
unnecessary_self_imports = "warn"
unnecessary_semicolon = "warn"
unnecessary_struct_initialization = "warn"
unnecessary_wraps = "warn"
unnested_or_patterns = "warn"
unused_async = "warn"
unused_peekable = "warn"
unused_rounding = "warn"
unused_self = "warn"
unused_trait_names = "warn"
unwrap_used = "warn"
use_self = "warn"
useless_let_if_seq = "warn"
useless_transmute = "warn"
verbose_file_reads = "warn"
wildcard_dependencies = "warn"
wildcard_imports = "warn"
zero_sized_map_values = "warn"

[lints.rust]
absolute_paths_not_starting_with_crate = "warn"
elided_lifetimes_in_paths = "warn"
non_ascii_idents = "warn"
noop_method_call = "warn"
rust_2021_prelude_collisions = "warn"
semicolon_in_expressions_from_macros = "warn"
trivial_casts = "allow"
trivial_numeric_casts = "warn"
unknown_lints = "deny"
unsafe_code = "deny"
unsafe_op_in_unsafe_fn = "warn"
unused_extern_crates = "warn"
unused_import_braces = "warn"
unused_lifetimes = "warn"
unused_qualifications = "allow"

[lints.rust.future_incompatible]
level = "warn"
priority = -1

[lints.rust.nonstandard_style]
level = "warn"
priority = -1

[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1

[lints.rust.unexpected_cfgs]
level = "deny"
priority = 0
check-cfg = ["cfg(TODO)"]

[lints.rustdoc]
all = "warn"
missing_crate_level_docs = "warn"
