Cargo Features

Touchscreen has no features set by default.

[dependencies]
touchscreen = { version = "0.1.0", features = ["red-screen", "web-screen"] }
red-screen

Enables embedded-hal

Affects touchscreen::red_screen

web-screen

Enables embedded-graphics-web-simulator ^0.3.0, wasm-bindgen, and web-sys

Affects touchscreen::web_screen