# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "touchscreen" version = "0.1.0" description = "Decorates embedded-graphics to enable touch interactivity" homepage = "https://github.com/tommy-gilligan/touchscreen" readme = "README.md" license = "MIT" repository = "https://github.com/tommy-gilligan/touchscreen.git" [dependencies.embedded-graphics-core] version = "0.3.3" [dependencies.embedded-graphics-web-simulator] version = "^0.3.0" optional = true [dependencies.embedded-hal] version = "1.0.0-rc.1" optional = true [dependencies.wasm-bindgen] version = "0.2.88" optional = true [dependencies.web-sys] version = "^0.3.64" features = [ "Document", "Element", "HtmlElement", "MouseEvent", "Window", ] optional = true [dev-dependencies.embedded-hal-mock] version = "0.10.0-rc.1" features = ["eh1"] [features] red-screen = ["dep:embedded-hal"] web-screen = [ "dep:wasm-bindgen", "dep:embedded-graphics-web-simulator", "dep:web-sys", ]