Cargo Features

[dependencies]
three-d = { version = "0.17.0", default-features = false, features = ["window", "headless", "egui-gui", "image"] }
default = window

The window feature is set by default whenever three-d is added without default-features = false somewhere in the dependency tree.

window default = glutin, raw-window-handle, serde, serde-wasm-bindgen, wasm-bindgen, web-sys, winit

Window module

headless = glutin_029

Headless rendering

egui-gui = egui, egui_glow, getrandom

Additional GUI features

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.

winit window

Enables winit ^0.28

egui egui-gui?

Enables egui ^0.26

egui_glow egui-gui?

Enables egui_glow ^0.26

getrandom egui-gui?
image not wasm32 implicit feature

Enables image ^0.24

image:

Imaging library. Provides basic image processing and encoders/decoders for common image formats.

glutin not wasm32 window

Enables glutin ^0.30

glutin_029 not wasm32 headless?

Enables glutin ^0.29

raw-window-handle not wasm32 window

Enables raw-window-handle ^0.5

serde wasm32 window
serde-wasm-bindgen wasm32 window
wasm-bindgen wasm32 window
web-sys wasm32 window