[dependencies.cortex-m]
features = ["critical-section-single-core"]
optional = true
version = "0.7.7"
[dependencies.defmt]
optional = true
version = "0.3"
[dependencies.embedded-hal]
version = "1.0.0"
[dependencies.fugit]
version = "0.3.9"
[dev-dependencies.cortex-m-rt]
version = "0.7"
[dev-dependencies.defmt-rtt]
version = "0.4"
[dev-dependencies.panic-halt]
version = "1.0.0"
[dev-dependencies.panic-probe]
features = ["print-defmt"]
version = "0.3"
[dev-dependencies.stm32f4xx-hal]
features = ["stm32f407"]
version = "0.23.0"
[[example]]
name = "stm32f407_dwt"
path = "examples/stm32f407_dwt.rs"
required-features = ["use-dwt"]
[[example]]
name = "stm32f407_no_dwt"
path = "examples/stm32f407_no_dwt.rs"
[features]
default = ["use-defmt"]
use-defmt = ["dep:defmt"]
use-dwt = ["dep:cortex-m"]
[lib]
harness = false
name = "dht11_driver"
path = "src/lib.rs"
[package]
authors = ["Gabriel Zuser <zusergabriel@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["embedded", "hardware-support", "no-std"]
description = "A platform-agnostic no-std driver for the DHT11 sensor using typestates for safety."
edition = "2021"
keywords = ["dht11", "sensor", "embedded-hal", "stm32", "no-std"]
license = "MIT"
name = "dht11-driver"
readme = "README.md"
repository = "https://github.com/Wkesther2/dht11-driver-rust.git"
version = "0.1.2"
[profile.dev]
debug = 2
opt-level = "s"
[profile.dev.package."*"]
opt-level = 3
[profile.release]
codegen-units = 1
debug = 2
lto = "fat"
opt-level = 3