Cargo Features
[dependencies]
re_types = { version = "0.28.0-alpha.0", default-features = false, features = ["all", "ecolor", "egui_plot", "glam", "image", "video", "serde", "testing"] }
- default = ecolor
-
The
ecolorfeature is set by default wheneverre_typesis added withoutsomewhere 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? serde?
-
glam:
External
- image all?
-
Integration with the
imagecrate, plus JPEG and TIFF support.Enables ecolor, image, and tiff ^0.9.1
Affects
image::ImageConversionError,image::ImageLoadError,image::blob_and_format_from_tiff,tensor_data::TensorImageLoadError… - video all?
-
Inspecting video data.
Enables re_video =0.28.0-alpha.0
- serde all?
-
Enable (de)serialization using 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.