[package] authors = ["Pietro Lorefice "] categories = ["embedded", "hardware-support", "no-std"] description = "Platform-agnostic Rust driver for the DHT11 temperature and humidity sensor." edition = "2018" homepage = "https://github.com/plorefice/dht11-rs" keywords = ["embedded-hal-driver"] include = [ "**/*.rs", "Cargo.toml", ] license = "MIT OR Apache-2.0" name = "dht11" readme = "README.md" repository = "https://github.com/plorefice/dht11-rs" version = "0.3.1" [dependencies] embedded-hal = { version = "0.2", features = ["unproven"] } cortex-m = { version = "0.6", optional = true } [dev-dependencies] cortex-m = "0.6" cortex-m-rt = "0.6" cortex-m-semihosting = "0.3" panic-semihosting = "0.5" [dev-dependencies.stm32f4xx-hal] version = "0.8" features = ["rt", "stm32f407"] [features] default = [] dwt = ["cortex-m"] [[examples]] bin = "stm32f407" [[examples]] bin = "stm32f407-dwt" features = ["dwt"] [profile.release] lto = true