# 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 = "2021" rust-version = "1.79" name = "re_viewer_context" version = "0.20.3" authors = ["rerun.io "] build = false include = [ "../../LICENSE-APACHE", "../../LICENSE-MIT", "**/*.rs", "Cargo.toml", ] publish = true autobins = false autoexamples = false autotests = false autobenches = false description = "Rerun viewer state that is shared with the viewer's code components." homepage = "https://rerun.io" readme = "README.md" license = "MIT OR Apache-2.0" repository = "https://github.com/rerun-io/rerun" [package.metadata.docs.rs] all-features = true [lib] name = "re_viewer_context" path = "src/lib.rs" [dependencies.ahash] version = "0.8" [dependencies.anyhow] version = "1.0" default-features = false [dependencies.bit-vec] version = "0.7" [dependencies.bitflags] version = "2.4" features = ["bytemuck"] [dependencies.bytemuck] version = "1.18" features = ["extern_crate_alloc"] [dependencies.directories] version = "5" [dependencies.egui] version = "0.29.1" features = [ "callstack", "log", "puffin", "rayon", ] [dependencies.egui-wgpu] version = "0.29.1" [dependencies.egui_extras] version = "0.29.1" features = [ "http", "image", "puffin", "serde", ] [dependencies.egui_tiles] version = "0.10.1" [dependencies.emath] version = "0.29.1" [dependencies.glam] version = "0.28" features = [ "debug-glam-assert", "serde", ] [dependencies.half] version = "2.3.1" [dependencies.image] version = "0.25" features = [ "jpeg", "png", ] default-features = false [dependencies.indexmap] version = "2.1" features = [ "std", "serde", ] [dependencies.itertools] version = "0.13" [dependencies.linked-hash-map] version = "0.5" default-features = false [dependencies.ndarray] version = "0.16" [dependencies.nohash-hasher] version = "0.2" [dependencies.once_cell] version = "1.17" [dependencies.parking_lot] version = "0.12" features = ["serde"] [dependencies.re_chunk] version = "0.20.3" default-features = false [dependencies.re_chunk_store] version = "0.20.3" default-features = false [dependencies.re_data_source] version = "0.20.3" default-features = false [dependencies.re_entity_db] version = "0.20.3" features = ["serde"] default-features = false [dependencies.re_format] version = "0.20.3" default-features = false [dependencies.re_log] version = "0.20.3" default-features = false [dependencies.re_log_types] version = "0.20.3" default-features = false [dependencies.re_math] version = "0.20.0" [dependencies.re_query] version = "0.20.3" default-features = false [dependencies.re_renderer] version = "0.20.3" features = ["serde"] default-features = false [dependencies.re_smart_channel] version = "0.20.3" default-features = false [dependencies.re_string_interner] version = "0.20.3" default-features = false [dependencies.re_tracing] version = "0.20.3" default-features = false [dependencies.re_types] version = "0.20.3" features = [ "ecolor", "glam", "image", ] default-features = false [dependencies.re_types_core] version = "0.20.3" default-features = false [dependencies.re_ui] version = "0.20.3" default-features = false [dependencies.re_video] version = "0.20.3" features = ["serde"] default-features = false [dependencies.rfd] version = "0.15" features = [ "async-std", "xdg-portal", ] default-features = false [dependencies.serde] version = "1" features = ["derive"] [dependencies.slotmap] version = "1.0.6" features = ["serde"] [dependencies.smallvec] version = "1.0" features = [ "const_generics", "union", ] [dependencies.strum_macros] version = "0.26" [dependencies.thiserror] version = "1.0" [dependencies.uuid] version = "1.1" features = [ "serde", "v4", "js", ] [dependencies.wgpu] version = "22.1" features = [ "webgl", "metal", "webgpu", "wgsl", "fragile-send-sync-non-atomic-wasm", ] default-features = false [target.'cfg(not(target_arch = "wasm32"))'.dependencies.arboard] version = "3.2" features = ["image-data"] default-features = false [target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen-futures] version = "0.4.33" [lints.clippy] as_ptr_cast_mut = "warn" assigning_clones = "allow" await_holding_lock = "warn" bool_to_int_with_if = "warn" char_lit_as_u8 = "warn" checked_conversions = "warn" clear_with_drain = "warn" cloned_instead_of_copied = "warn" dbg_macro = "warn" debug_assert_with_mut_call = "warn" derive_partial_eq_without_eq = "warn" disallowed_macros = "warn" disallowed_methods = "warn" disallowed_names = "warn" disallowed_script_idents = "warn" disallowed_types = "warn" doc_link_with_quotes = "warn" doc_markdown = "warn" empty_enum = "warn" empty_enum_variants_with_brackets = "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" from_iter_instead_of_collect = "warn" get_unwrap = "warn" if_let_mutex = "warn" implicit_clone = "warn" imprecise_flops = "warn" index_refutable_slice = "warn" inefficient_to_string = "warn" infinite_loop = "warn" into_iter_without_iter = "warn" invalid_upcast_comparisons = "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_include_file = "warn" large_stack_arrays = "warn" large_stack_frames = "warn" large_types_passed_by_value = "warn" let_underscore_untyped = "allow" let_unit_value = "warn" linkedlist = "warn" lossy_float_literal = "warn" macro_use_imports = "warn" manual_assert = "warn" manual_clamp = "warn" manual_instant_elapsed = "warn" manual_is_variant_and = "warn" manual_let_else = "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_on_vec_items = "warn" match_same_arms = "warn" match_wild_err_arm = "warn" match_wildcard_for_single_variants = "warn" mem_forget = "warn" mismatched_target_os = "warn" mismatching_type_param_order = "warn" missing_assert_message = "allow" missing_enforced_import_renames = "warn" missing_errors_doc = "allow" 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" nonstandard_macro_braces = "warn" option_as_ref_cloned = "warn" option_option = "warn" path_buf_push_overwrite = "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_ref = "warn" ref_patterns = "allow" rest_pat_in_fully_bound_structs = "warn" same_functions_in_if_condition = "warn" semicolon_if_nothing_returned = "warn" should_panic_without_expect = "warn" significant_drop_tightening = "allow" single_match_else = "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" string_to_string = "warn" suspicious_command_arg_space = "warn" suspicious_xor_used_as_pow = "warn" todo = "warn" too_many_lines = "warn" trailing_empty_array = "warn" trait_duplication_in_bounds = "warn" tuple_array_conversions = "warn" unchecked_duration_subtraction = "warn" undocumented_unsafe_blocks = "warn" unimplemented = "warn" uninhabited_references = "warn" uninlined_format_args = "warn" unnecessary_box_returns = "warn" unnecessary_safety_doc = "warn" unnecessary_struct_initialization = "warn" unnecessary_wraps = "warn" unnested_or_patterns = "warn" unused_peekable = "warn" unused_rounding = "warn" unused_self = "warn" unwrap_used = "warn" use_self = "warn" useless_transmute = "warn" verbose_file_reads = "warn" wildcard_dependencies = "warn" wildcard_imports = "warn" zero_sized_map_values = "warn" [lints.rust] elided_lifetimes_in_paths = "warn" future_incompatible = "warn" nonstandard_style = "warn" rust_2018_idioms = "warn" rust_2021_prelude_collisions = "warn" semicolon_in_expressions_from_macros = "warn" trivial_casts = "allow" trivial_numeric_casts = "warn" unsafe_code = "deny" unsafe_op_in_unsafe_fn = "warn" unused_extern_crates = "warn" unused_import_braces = "warn" unused_lifetimes = "warn" unused_qualifications = "allow" [lints.rustdoc] all = "warn" missing_crate_level_docs = "warn"