|
| 1 | +[package] |
| 2 | +name = "rerun-cli" |
| 3 | +authors.workspace = true |
| 4 | +categories = ["visualization", "computer-vision"] |
| 5 | +default-run = "rerun" |
| 6 | +description = "Log images, point clouds, etc, and visualize them effortlessly" |
| 7 | +edition.workspace = true |
| 8 | +homepage.workspace = true |
| 9 | +include.workspace = true |
| 10 | +keywords = ["mesh", "plotting", "point-cloud", "robotics", "visualization"] |
| 11 | +license.workspace = true |
| 12 | +publish = true |
| 13 | +readme = "README.md" |
| 14 | +repository.workspace = true |
| 15 | +rust-version.workspace = true |
| 16 | +version.workspace = true |
| 17 | + |
| 18 | +[package.metadata.docs.rs] |
| 19 | +all-features = true |
| 20 | +targets = ["x86_64-unknown-linux-gnu", "wasm32-unknown-unknown"] |
| 21 | + |
| 22 | + |
| 23 | +[features] |
| 24 | +# The default is what the user gets when they call `cargo install rerun-cli`, |
| 25 | +# so wer have all the bells and wistles here |
| 26 | +default = ["native_viewer", "web_viewer"] |
| 27 | + |
| 28 | +## Support spawning a native viewer. |
| 29 | +## This adds a lot of extra dependencies, so only enable this feature if you need it! |
| 30 | +native_viewer = ["rerun/native_viewer"] |
| 31 | + |
| 32 | +## Support serving a web viewer over HTTP. |
| 33 | +## |
| 34 | +## Enabling this inflates the binary size quite a bit, since it embeds the viewer wasm. |
| 35 | +# When building from source (in the repository), this feature adds quite a bit |
| 36 | +# to the compile time since it requires compiling and bundling the viewer as wasm. |
| 37 | +# |
| 38 | +# You also need to install some additional tools, which you can do by running |
| 39 | +# [`scripts/setup_web.sh`](https://github.com/rerun-io/rerun/blob/main/scripts/setup_web.sh). |
| 40 | +web_viewer = ["rerun/web_viewer"] |
| 41 | + |
| 42 | +[dependencies] |
| 43 | +re_build_info.workspace = true |
| 44 | +re_log.workspace = true |
| 45 | +re_memory.workspace = true |
| 46 | +rerun = { workspace = true, features = [ |
| 47 | + "analytics", |
| 48 | + "demo", |
| 49 | + "glam", |
| 50 | + "image", |
| 51 | + "sdk", |
| 52 | + "server", |
| 53 | +] } |
| 54 | + |
| 55 | +anyhow.workspace = true |
| 56 | +mimalloc.workspace = true |
| 57 | +tokio = { workspace = true, features = ["macros", "rt-multi-thread"] } |
| 58 | + |
| 59 | + |
| 60 | +[build-dependencies] |
| 61 | +re_build_build_info.workspace = true |
0 commit comments