[package]
name = "dht-pio"
version = "0.5.4"
edition = "2021"

license = "MIT"
description = "A DHT Implementation using PIO (Programmable Input/Output), tested on Rasberry Pi Pico"
homepage = "https://github.com/jnthbdn/rs-dht-pio"
repository = "https://github.com/jnthbdn/rs-dht-pio"
readme = "readme.md"
keywords = ["dht", "pico", "pio"]
categories = ["embedded", "hardware-support", "no-std"]

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
embassy-rp = { version = "0.4.0", features = ["critical-section-impl", "time-driver", "unstable-pac"] }
embassy-time = { version = "0.4.0" }
cortex-m = { version = "0.7.6", features = ["inline-asm"] }
cortex-m-rt = "0.7.3"

fixed = "1.23.1"
fixed-macro = "1.2"

serde = { version = "1.0.203", default-features = false, features = ["derive"] }

[features]
rp235xa = ["embassy-rp/rp235xa"]
rp235xb = ["embassy-rp/rp235xb"]

default = ["rp235xa"]