Cargo Features
[dependencies]
spectrusty-utils = { version = "0.4.0", default-features = false, features = ["snapshot", "compression", "minifb", "sdl2", "web-sys", "winit"] }
- default = compression, snapshot
-
These default features are set whenever
spectrusty-utils
is added without
somewhere in the dependency tree.default-features = false - snapshot default = serde
-
Enables snapshot of spectrusty
- compression default
-
Enables compression of spectrusty
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.
- minifb implicit feature
-
Enables minifb ^0.23
minifb:
Cross-platform window setup with optional bitmap rendering
Affects
keyboard::minifb
… - sdl2 implicit feature
-
Enables sdl2 ^0.35
sdl2:
SDL2 bindings for Rust
Affects
keyboard::sdl2
… - web-sys implicit feature
-
Enables web-sys
web-sys:
Bindings for all Web APIs, a procedurally generated crate from WebIDL
Affects
keyboard::web_sys
… - winit implicit feature
-
Enables winit ^0.27
winit:
Cross-platform window creation library
Affects
keyboard::winit
… - serde snapshot