# 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 = "2018" name = "wasm-embedded-rt" version = "0.4.0" description = "Runtime for embedded-wasm applications" documentation = "https://ryan.kurte.nz/embedded-wasm" readme = "README.md" license = "MPL-2.0" repository = "https://github.com/embedded-wasm/rt" [package.metadata.binstall] pkg-url = "{ repo }/releases/download/v{ version }/{ name }-{ target }.{ format }" bin-dir = "{ name }" [package.metadata.binstall.overrides.x86_64-pc-windows-msvc] pkg-fmt = "zip" [[bin]] name = "wasm-embedded-rt" path = "src/main.rs" required-features = ["rt"] [dependencies.anyhow] version = "1.0.41" optional = true [dependencies.embedded-hal] version = "1.0.0-alpha.8" [dependencies.embedded-hal-mock] version = "0.7.2" optional = true [dependencies.linux-embedded-hal] version = "0.4.0-alpha.3" optional = true [dependencies.log] version = "0.4.14" default_features = false [dependencies.serde] version = "1.0.126" features = ["derive"] optional = true [dependencies.serde_derive] version = "1.0.126" optional = true [dependencies.simplelog] version = "0.10.0" optional = true [dependencies.structopt] version = "0.3.25" optional = true [dependencies.strum] version = "0.21.0" optional = true [dependencies.strum_macros] version = "0.21.1" optional = true [dependencies.thiserror] version = "1.0.30" optional = true [dependencies.toml] version = "0.5.8" optional = true [dependencies.wasm-embedded-rt-wasm3] version = "0.4.0" optional = true [dependencies.wasm-embedded-rt-wasmtime] version = "0.4.0" optional = true [dependencies.wasm-embedded-spec] version = "0.4.0" default_features = false [features] default = [ "rt", "rt-wasmtime", "rt-wasm3", "hal-linux", "hal-mock", ] hal-linux = [ "linux-embedded-hal", "std", ] hal-mock = [ "embedded-hal-mock", "std", "serde", "serde_derive", "toml", ] rt = [ "structopt", "strum", "strum_macros", "simplelog", ] rt-wasm3 = [ "wasm-embedded-rt-wasm3", "wasm-embedded-spec/bind_c", ] rt-wasmtime = [ "wasm-embedded-rt-wasmtime", "std", "wasm-embedded-spec/bind_rs", ] std = [ "thiserror", "strum", "strum_macros", "anyhow", "structopt", "log/std", ]