Cargo Features
[dependencies]
bracket-terminal = { version = "0.8.7", default-features = false, features = ["low_cpu", "opengl", "curses", "cross_term", "webgpu"] }
- default = opengl
-
The
opengl
feature is set by default wheneverbracket-terminal
is added without
somewhere in the dependency tree.default-features = false - low_cpu = spin_sleep
- opengl default = glow, glutin, image
- curses = ctrlc, pancurses
- cross_term = crossterm, ctrlc
- webgpu = bytemuck, image, png, pollster, wgpu
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.
- glow opengl
-
Enables glow ~0.11
- image opengl webgpu?
-
Enables image ^0.24
- png webgpu?
- crossterm cross_term?
-
Enables crossterm ~0.25
- pancurses curses?
- ctrlc cross_term? curses?
-
Enables ctrlc ~3.2
- wgpu webgpu?
-
Enables wgpu ^0.13
- pollster webgpu?
-
Enables pollster ^0.2
- bytemuck webgpu?
- glutin not wasm32 opengl
-
Enables glutin ~0.29
- spin_sleep not wasm32 low_cpu?