Cargo Features
[dependencies]
re_types = { version = "0.20.1", default-features = false, features = ["all", "ecolor", "egui_plot", "glam", "image", "video", "serde", "testing"] }
- default = ecolor
-
The
ecolor
feature is set by default wheneverre_types
is added without
somewhere in the dependency tree.default-features = false - all = ecolor, egui_plot, glam, image, mint, serde, video
-
All features except
testing
. - ecolor default all?
-
Enable color conversions.
Enables ecolor
External (optional)
- egui_plot all?
-
Enable conversions to plot primitives
Enables egui_plot
- glam all?
-
Add support for some math operations using
glam
.Enables glam ^0.28
External
- image all?
-
Integration with the
image
crate, plus JPEG support.Affects
image::ImageConversionError
,image::ImageLoadError
,tensor_data::TensorImageLoadError
… - video all?
-
Inspecting video data.
Enables re_video
- serde all?
-
Enable (de)serialization using serde.
Enables serde
- testing
-
Include testing archetypes/components/datatypes into the crate.
Only useful for testing purposes.Affects
re_types::testing
…
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.