[package]
edition = "2024"
rust-version = "1.96"
name = "re_test_context"
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 = "A common context used for tests."
homepage = "https://rerun.io"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/rerun-io/rerun"
resolver = "2"
[lib]
name = "re_test_context"
path = "src/lib.rs"
[dependencies.ahash]
version = "0.8.12"
[dependencies.anyhow]
version = "1.0"
default-features = false
[dependencies.egui]
version = "0.36.1"
features = [
"callstack",
"color-hex",
"rayon",
]
[dependencies.egui-wgpu]
version = "0.36.1"
[dependencies.egui_kittest]
version = "0.36.1"
features = [
"wgpu",
"snapshot",
"eframe",
]
[dependencies.jiff]
version = "0.2.35"
features = ["js"]
[dependencies.parking_lot]
version = "0.12.5"
features = ["serde"]
[dependencies.pollster]
version = "1.0"
[dependencies.re_build_info]
version = "0.37.0"
default-features = false
[dependencies.re_chunk]
version = "0.37.0"
default-features = false
[dependencies.re_chunk_store]
version = "0.37.0"
default-features = false
[dependencies.re_component_fallbacks]
version = "0.37.0"
default-features = false
[dependencies.re_entity_db]
version = "0.37.0"
default-features = false
[dependencies.re_log]
version = "0.37.0"
default-features = false
[dependencies.re_log_channel]
version = "0.37.0"
default-features = false
[dependencies.re_log_encoding]
version = "0.37.0"
default-features = false
[dependencies.re_log_types]
version = "0.37.0"
default-features = false
[dependencies.re_redap_client]
version = "0.37.0"
default-features = false
[dependencies.re_renderer]
version = "0.37.0"
default-features = false
[dependencies.re_sdk_types]
version = "0.37.0"
default-features = false
[dependencies.re_tracing]
version = "0.37.0"
default-features = false
[dependencies.re_types_core]
version = "0.37.0"
default-features = false
[dependencies.re_ui]
version = "0.37.0"
features = ["testing"]
default-features = false
[dependencies.re_uri]
version = "0.37.0"
default-features = false
[dependencies.re_viewer_context]
version = "0.37.0"
default-features = false
[dependencies.wgpu]
version = "30.0"
features = [
"std",
"gles",
"metal",
"vulkan-portability",
"vulkan",
"webgl",
"webgpu",
"wgsl",
"fragile-send-sync-non-atomic-wasm",
]
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"