Cargo Features
[dependencies]
spectrusty = { version = "0.4.0", default-features = false, features = ["sdl2", "cpal", "compression", "snapshot", "audio", "formats", "peripherals", "boxed_frame_cache"] }
- default = compression, formats, peripherals, snapshot
-
These default features are set whenever
spectrusty
is added without
somewhere in the dependency tree.default-features = false - sdl2
-
Enables sdl2 of spectrusty-audio
- cpal
-
Enables cpal of spectrusty-audio
- compression default
-
Enables compression of spectrusty-core
- snapshot default = serde
-
Enables snapshot of spectrusty-core and spectrusty-peripherals
- audio = spectrusty-audio
- formats default = spectrusty-formats
- peripherals default = spectrusty-peripherals
-
Affects
audio::UlaAudioFrame
,chip::ay_player
… - boxed_frame_cache
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.