Files
2026-07-13 13:05:14 +08:00

40 lines
1018 B
TOML

[package]
name = "snippets"
version.workspace = true
edition = "2024"
rust-version.workspace = true
license.workspace = true
publish = false
[lints]
workspace = true
[features]
## Enables the web viewer in the rerun-sdk crate.
##
## This adds quite a bit of build time to the snippets test while being used only by
## very few snippets (as of writing only by `howto/serve_web_viewer`) which is why we don't enable it by default.
web_viewer = ["rerun/web_viewer"]
[dependencies]
rerun = { path = "../../crates/top/rerun" }
crossbeam.workspace = true
itertools.workspace = true
ndarray.workspace = true
rand = { workspace = true, features = ["std", "std_rng"] }
rand_distr = { workspace = true, features = ["std"] }
similar-asserts.workspace = true
[build-dependencies]
re_build_tools.workspace = true
itertools.workspace = true
[package.metadata.cargo-shear]
# false positives because they aren't used until codegen is run:
ignored = ["crossbeam", "ndarray", "rand", "rand_distr", "rerun", "similar-asserts"]