Cargo Features

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 default-features = false somewhere in the dependency tree.


Enables sdl2 of spectrusty-audio


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


Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

serde snapshot

With derive and default (std)

spectrusty-audio audio?
spectrusty-formats formats
spectrusty-peripherals peripherals