Cargo Features

[dependencies]
re_types = { version = "0.21.0", default-features = false, features = ["all", "ecolor", "egui_plot", "glam", "image", "video", "serde", "testing"] }
default = ecolor

The ecolor feature is set by default whenever re_types is added without default-features = false somewhere in the dependency tree.

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 and re_math.

Enables glam ^0.28 and re_math

glam:

External

image all?

Integration with the image crate, plus JPEG support.

Enables ecolor and image

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.

mint all?