embassy-dht-sensor 0.2.8

DHT sensor driver for the Embassy async runtime
# 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.2.8"
authors = ["Mark Berner"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
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"

[features]
default = [
    "rp2040",
    "dht2x",
    "rp_pio",
]
dht1x = []
dht2x = []
examples = [
    "dep:defmt",
    "dep:defmt-rtt",
    "dep:panic-probe",
]
rp2040 = ["dep:embassy-rp"]
rp_no_pio = []
rp_pio = []

[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",
    "rp_no_pio",
    "examples",
]

[[example]]
name = "read-dht-sensor-rp-pio"
path = "examples/read-dht-sensor-rp-pio.rs"
required-features = [
    "rp2040",
    "rp_pio",
    "examples",
]

[dependencies.cortex-m]
version = "0.7"
features = ["inline-asm"]

[dependencies.cortex-m-rt]
version = "0.7"

[dependencies.defmt]
version = "1"
optional = true

[dependencies.defmt-rtt]
version = "1"
optional = true

[dependencies.embassy-executor]
version = "0.9"
features = [
    "arch-cortex-m",
    "executor-thread",
    "executor-interrupt",
    "defmt",
]

[dependencies.embassy-rp]
version = "0.9.0"
features = [
    "rp2040",
    "defmt",
    "unstable-pac",
    "time-driver",
    "critical-section-impl",
]
optional = true

[dependencies.embassy-time]
version = "0.5"
features = [
    "defmt",
    "defmt-timestamp-uptime",
]

[dependencies.fixed]
version = "1.29"

[dependencies.panic-probe]
version = "1"
features = ["print-defmt"]
optional = true

[dev-dependencies.embassy-usb]
version = "0.5.1"

[dev-dependencies.embassy-usb-logger]
version = "0.5.1"

[dev-dependencies.log]
version = "0.4.28"