# 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" name = "embassy-dht-sensor" version = "0.1.3" authors = ["Mark Berner"] description = "DHT sensor driver for the Embassy async runtime" homepage = "https://github.com/mark2b/embassy-dht-sensor" readme = "README.md" license = "MIT OR Apache-2.0" [lib] name = "embassy_dht_sensor" path = "src/lib.rs" [[example]] name = "read-dht-sensor-rp" path = "examples/read-dht-sensor-rp.rs" required-features = [ "rp2040", "examples", "dht2x", ] [dependencies.cortex-m] version = "0.7" features = ["inline-asm"] [dependencies.cortex-m-rt] version = "0.7" [dependencies.critical-section] version = "1.2" [dependencies.defmt] version = "0.3" optional = true [dependencies.defmt-rtt] version = "0.4" optional = true [dependencies.embassy-embedded-hal] version = "0.2" features = ["defmt"] [dependencies.embassy-executor] version = "0.6" features = [ "arch-cortex-m", "executor-thread", "executor-interrupt", "defmt", "integrated-timers", "task-arena-size-32768", ] [dependencies.embassy-futures] version = "0.1.0" [dependencies.embassy-rp] version = "0.2" features = [ "defmt", "unstable-pac", "time-driver", "critical-section-impl", ] optional = true [dependencies.embassy-sync] version = "0.6.0" features = ["defmt"] [dependencies.embassy-time] version = "0.3.0" features = [ "defmt", "defmt-timestamp-uptime", ] [dependencies.embedded-hal] version = "1.0.0" [dependencies.embedded-hal-async] version = "1.0.0" [dependencies.panic-probe] version = "0.3" features = ["print-defmt"] optional = true [features] default = [ "rp2040", "dht2x", ] dht1x = [] dht2x = [] examples = [ "dep:defmt", "dep:defmt-rtt", "dep:panic-probe", ] rp2040 = ["dep:embassy-rp"]