Cargo Features

vga-emu has no features set by default.

[dependencies]
vga-emu = { version = "0.6.3", features = ["sdl", "web"] }
sdl

Enables sdl2

feature "sdl"

Affects vga-emu::backend_sdl, util::spawn_task

web

Enables js-sys, wasm-bindgen, wasm-bindgen-futures, and web-sys

wasm-bindgen:

feature "web"

Affects vga-emu::backend_web, util::spawn_task