# 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.63" name = "embedded-hal-mock" version = "0.11.1" authors = ["Danilo Bargen "] include = [ "**/*.rs", "Cargo.toml", "README.md", "CHANGELOG.md", "LICENSE-MIT", "LICENSE-APACHE", ] description = "A collection of mocked devices that implement the embedded-hal traits" documentation = "https://docs.rs/embedded-hal-mock" readme = "README.md" keywords = [ "hal", "io", "spi", "i2c", "delay", ] categories = [ "embedded", "hardware-support", "development-tools::testing", ] license = "MIT OR Apache-2.0" repository = "https://github.com/dbrgn/embedded-hal-mock" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [dependencies.eh0] version = "0.2.7" features = ["unproven"] optional = true package = "embedded-hal" [dependencies.eh1] version = "1.0" optional = true package = "embedded-hal" [dependencies.embedded-hal-async] version = "1.0" optional = true [dependencies.embedded-hal-nb] version = "1.0" optional = true [dependencies.embedded-time] version = "0.12" optional = true [dependencies.nb] version = "1.1" optional = true [dependencies.void] version = "^1.0" optional = true [dev-dependencies.tokio] version = "1.21.1" features = [ "rt", "macros", ] [features] default = [ "eh0", "eh1", "embedded-time", ] eh0 = [ "dep:eh0", "dep:nb", ] eh1 = [ "dep:eh1", "dep:embedded-hal-nb", ] embedded-hal-async = ["dep:embedded-hal-async"] embedded-time = [ "dep:embedded-time", "dep:void", ]