[package]
edition = "2024"
rust-version = "1.96"
name = "re_view_spatial"
version = "0.37.0"
authors = ["rerun.io <opensource@rerun.io>"]
build = false
include = [
"../../Cargo.lock",
"../../LICENSE-APACHE",
"../../LICENSE-MIT",
"**/*.rs",
"Cargo.toml",
]
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Views that show entities in a 2D or 3D spatial relationship."
homepage = "https://rerun.io"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/rerun-io/rerun"
resolver = "2"
[package.metadata.docs.rs]
all-features = true
[features]
nasm = ["re_video/nasm"]
[lib]
name = "re_view_spatial"
path = "src/lib.rs"
bench = false
[[test]]
name = "annotation_context_update"
path = "tests/annotation_context_update.rs"
[[test]]
name = "annotations"
path = "tests/annotations.rs"
[[test]]
name = "axes_property"
path = "tests/axes_property.rs"
[[test]]
name = "bgr_images"
path = "tests/bgr_images.rs"
[[test]]
name = "blueprint_2d"
path = "tests/blueprint_2d.rs"
[[test]]
name = "chroma_subsampling"
path = "tests/chroma_subsampling.rs"
[[test]]
name = "dae_mesh"
path = "tests/dae_mesh.rs"
[[test]]
name = "draw_order"
path = "tests/draw_order.rs"
[[test]]
name = "gaussian_splats3d"
path = "tests/gaussian_splats3d.rs"
[[test]]
name = "grid_map"
path = "tests/grid_map.rs"
[[test]]
name = "keypoint_rendering"
path = "tests/keypoint_rendering.rs"
[[test]]
name = "latest_at_partial_updates"
path = "tests/latest_at_partial_updates.rs"
[[test]]
name = "magnification_filter"
path = "tests/magnification_filter.rs"
[[test]]
name = "mesh"
path = "tests/mesh.rs"
[[test]]
name = "mesh_face_rendering"
path = "tests/mesh_face_rendering.rs"
[[test]]
name = "opacity_2d"
path = "tests/opacity_2d.rs"
[[test]]
name = "partial_view_visibility"
path = "tests/partial_view_visibility.rs"
[[test]]
name = "pinhole_camera"
path = "tests/pinhole_camera.rs"
[[test]]
name = "pinhole_draw_order"
path = "tests/pinhole_draw_order.rs"
[[test]]
name = "point_shading"
path = "tests/point_shading.rs"
[[test]]
name = "points2d_ui_radius"
path = "tests/points2d_ui_radius.rs"
[[test]]
name = "project_2d_and_3d"
path = "tests/project_2d_and_3d.rs"
[[test]]
name = "segmentation_image_transparency"
path = "tests/segmentation_image_transparency.rs"
[[test]]
name = "select_box_instances"
path = "tests/select_box_instances.rs"
[[test]]
name = "spatial_information_2d"
path = "tests/spatial_information_2d.rs"
[[test]]
name = "spawn_heuristics"
path = "tests/spawn_heuristics.rs"
[[test]]
name = "static_overwrite"
path = "tests/static_overwrite.rs"
[[test]]
name = "topology_errors"
path = "tests/topology_errors.rs"
[[test]]
name = "transform_child_parent_single_time"
path = "tests/transform_child_parent_single_time.rs"
[[test]]
name = "transform_clamping"
path = "tests/transform_clamping.rs"
[[test]]
name = "transform_hierarchy"
path = "tests/transform_hierarchy.rs"
[[test]]
name = "transform_tree_origins"
path = "tests/transform_tree_origins.rs"
[[test]]
name = "transform_tree_visualization"
path = "tests/transform_tree_visualization.rs"
[[test]]
name = "transparent_geometry"
path = "tests/transparent_geometry.rs"
[[test]]
name = "video"
path = "tests/video.rs"
[[test]]
name = "visible_time_range"
path = "tests/visible_time_range.rs"
[[test]]
name = "voxel_grid_map"
path = "tests/voxel_grid_map.rs"
[dependencies.ahash]
version = "0.8.12"
[dependencies.anyhow]
version = "1.0"
default-features = false
[dependencies.arrow]
version = "58.3"
features = [
"ffi",
"ipc",
"json",
]
default-features = false
[dependencies.bitflags]
version = "2.13"
features = ["bytemuck"]
[dependencies.bytemuck]
version = "1.25"
features = ["extern_crate_alloc"]
[dependencies.egui]
version = "0.36.1"
features = [
"callstack",
"color-hex",
"rayon",
"serde",
]
[dependencies.glam]
version = "0.30.10"
features = [
"debug-glam-assert",
"serde",
]
[dependencies.half]
version = "2.7"
features = ["bytemuck"]
[dependencies.hexasphere]
version = "16.0"
[dependencies.image]
version = "0.25.10"
features = [
"jpeg",
"png",
"png",
]
default-features = false
[dependencies.itertools]
version = "0.15.0"
[dependencies.macaw]
version = "0.30.0"
features = ["serde"]
[dependencies.nohash-hasher]
version = "0.2.0"
[dependencies.ordered-float]
version = "5.3"
[dependencies.parking_lot]
version = "0.12.5"
features = ["serde"]
[dependencies.re_byte_size]
version = "0.37.0"
features = [
"ecolor",
"egui",
"glam",
"macaw",
]
default-features = false
[dependencies.re_chunk_store]
version = "0.37.0"
default-features = false
[dependencies.re_data_ui]
version = "0.37.0"
default-features = false
[dependencies.re_entity_db]
version = "0.37.0"
default-features = false
[dependencies.re_error]
version = "0.37.0"
default-features = false
[dependencies.re_format]
version = "0.37.0"
default-features = false
[dependencies.re_gamepad]
version = "0.37.0"
default-features = false
[dependencies.re_int]
version = "0.37.0"
default-features = false
[dependencies.re_log]
version = "0.37.0"
default-features = false
[dependencies.re_log_types]
version = "0.37.0"
default-features = false
[dependencies.re_query]
version = "0.37.0"
default-features = false
[dependencies.re_renderer]
version = "0.37.0"
features = [
"import-gltf",
"import-obj",
"import-stl",
"import-dae",
]
default-features = false
[dependencies.re_rvl]
version = "0.37.0"
default-features = false
[dependencies.re_sdk_types]
version = "0.37.0"
features = [
"ecolor",
"glam",
"image",
]
default-features = false
[dependencies.re_span]
version = "0.37.0"
default-features = false
[dependencies.re_tf]
version = "0.37.0"
default-features = false
[dependencies.re_tracing]
version = "0.37.0"
default-features = false
[dependencies.re_ui]
version = "0.37.0"
default-features = false
[dependencies.re_video]
version = "0.37.0"
default-features = false
[dependencies.re_view]
version = "0.37.0"
default-features = false
[dependencies.re_viewer_context]
version = "0.37.0"
default-features = false
[dependencies.re_viewport_blueprint]
version = "0.37.0"
default-features = false
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.smallvec]
version = "1.15"
features = [
"const_generics",
"union",
"serde",
]
[dependencies.thiserror]
version = "2.0"
[dependencies.vec1]
version = "1.12"
features = [
"serde",
"smallvec-v1",
]
[dev-dependencies.half]
version = "2.7"
features = ["bytemuck"]
[dev-dependencies.insta]
version = "1.48"
[dev-dependencies.ndarray]
version = "0.16.1"
[dev-dependencies.re_component_ui]
version = "0.37.0"
default-features = false
[dev-dependencies.re_mp4]
version = "0.5.1"
[dev-dependencies.re_test_context]
version = "0.37.0"
default-features = false
[dev-dependencies.re_test_viewport]
version = "0.37.0"
default-features = false
[dev-dependencies.re_viewport]
version = "0.37.0"
default-features = false
[lints.clippy]
allow_attributes = "warn"
as_ptr_cast_mut = "warn"
assigning_clones = "allow"
branches_sharing_code = "warn"
cargo_common_metadata = "allow"
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
clear_with_drain = "warn"
clone_on_ref_ptr = "allow"
coerce_container_to_any = "warn"
dbg_macro = "warn"
debug_assert_with_mut_call = "warn"
default_trait_access = "allow"
default_union_representation = "warn"
derive_partial_eq_without_eq = "warn"
disallowed_script_idents = "warn"
doc_include_without_cfg = "warn"
empty_enum_variants_with_brackets = "warn"
equatable_if_let = "warn"
exit = "warn"
fallible_impl_from = "warn"
float_cmp = "allow"
float_cmp_const = "warn"
fn_to_numeric_cast_any = "warn"
get_unwrap = "warn"
implicit_hasher = "allow"
imprecise_flops = "warn"
infinite_loop = "warn"
inline_always = "allow"
items_after_statements = "allow"
iter_on_empty_collections = "warn"
iter_on_single_items = "warn"
iter_over_hash_type = "warn"
large_include_file = "warn"
large_stack_frames = "warn"
let_underscore_must_use = "warn"
let_underscore_untyped = "allow"
literal_string_with_formatting_args = "warn"
lossy_float_literal = "warn"
manual_range_contains = "allow"
many_single_char_names = "allow"
map_err_ignore = "warn"
map_unwrap_or = "allow"
mem_forget = "warn"
missing_assert_message = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
multiple_crate_versions = "allow"
must_use_candidate = "allow"
mutex_integer = "warn"
needless_pass_by_ref_mut = "warn"
needless_raw_string_hashes = "allow"
needless_type_cast = "warn"
non_zero_suggestions = "warn"
nonstandard_macro_braces = "warn"
or_fun_call = "warn"
path_buf_push_overwrite = "warn"
pathbuf_init_then_push = "warn"
precedence_bits = "warn"
pub_without_shorthand = "warn"
rc_mutex = "warn"
redundant_closure_for_method_calls = "allow"
redundant_type_annotations = "warn"
ref_patterns = "allow"
rest_pat_in_fully_bound_structs = "warn"
return_and_then = "warn"
return_self_not_must_use = "allow"
self_named_module_files = "allow"
set_contains_or_insert = "warn"
significant_drop_tightening = "allow"
similar_names = "allow"
single_option_map = "warn"
str_to_string = "warn"
string_add = "warn"
string_lit_as_bytes = "warn"
string_lit_chars_any = "warn"
struct_excessive_bools = "allow"
struct_field_names = "allow"
suspicious_xor_used_as_pow = "warn"
todo = "warn"
too_long_first_doc_paragraph = "warn"
too_many_arguments = "allow"
trailing_empty_array = "warn"
trait_duplication_in_bounds = "warn"
trivially_copy_pass_by_ref = "allow"
tuple_array_conversions = "warn"
undocumented_unsafe_blocks = "warn"
unimplemented = "warn"
uninhabited_references = "warn"
unnecessary_debug_formatting = "allow"
unnecessary_safety_doc = "warn"
unnecessary_self_imports = "warn"
unnecessary_struct_initialization = "warn"
unreadable_literal = "allow"
unused_peekable = "warn"
unused_rounding = "warn"
unused_trait_names = "warn"
unwrap_used = "warn"
use_self = "warn"
used_underscore_binding = "allow"
useless_let_if_seq = "warn"
verbose_file_reads = "warn"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.cargo]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[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"