# 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" rust-version = "1.75" name = "hal-sim" version = "0.5.1" description = "An embedded-hal and embedded-graphics Display simulator." readme = "README.md" keywords = [ "hal", "embedded", "simulation", "wasm", ] categories = [ "embedded", "hardware-support", "simulation", ] license = "MIT OR Apache-2.0" repository = "https://github.com/ivmarkov/hal-sim" [dependencies.channel-bridge] version = "0.8" optional = true default-features = false [dependencies.embassy-futures] version = "0.1" optional = true [dependencies.embassy-sync] version = "0.5" optional = true [dependencies.embedded-graphics-core] version = "0.4" optional = true [dependencies.embedded-hal] version = "1" optional = true [dependencies.embedded-hal-async] version = "1" optional = true [dependencies.embedded-hal02] version = "0.2" features = ["unproven"] optional = true package = "embedded-hal" [dependencies.futures] version = "0.3" optional = true [dependencies.gloo-net] version = "0.4" features = ["websocket"] optional = true [dependencies.gloo-timers] version = "0.3" optional = true [dependencies.heapless] version = "0.8" features = ["serde"] [dependencies.itertools] version = "0.11" optional = true [dependencies.log] version = "0.4" [dependencies.nb] version = "1" optional = true [dependencies.serde] version = "1" features = ["derive"] default-features = false [dependencies.wasm-bindgen] version = "0.2" optional = true [dependencies.wasm-bindgen-futures] version = "0.4" optional = true [dependencies.wasm-logger] version = "0.2" optional = true [dependencies.web-sys] version = "0.3" features = [ "console", "CanvasRenderingContext2d", "ImageData", "HtmlCanvasElement", ] optional = true [dependencies.yew] version = "0.21" features = ["csr"] optional = true default-features = false [dependencies.yewdux] version = "0.10" optional = true default-features = false [dependencies.yewdux-middleware] version = "0.3" optional = true [features] default = [ "ui", "io", ] io = [ "sim", "futures", "embassy-futures", "embassy-sync", "channel-bridge", ] sim = [ "nb", "embedded-hal", "embedded-hal-async", "embedded-hal02", "embedded-graphics-core", ] ui = [ "yew", "yewdux", "yewdux-middleware", "wasm-logger", "wasm-bindgen", "wasm-bindgen-futures", "web-sys", "itertools", "gloo-timers", "gloo-net", "channel-bridge/wasm", ]