40 lines
1.0 KiB
TOML
40 lines
1.0 KiB
TOML
[package]
|
|
name = "aht20"
|
|
version = "0.1.0"
|
|
authors = ["Shaun Reed <shaunrd0@gmail.com>"]
|
|
edition = "2021"
|
|
resolver = "2"
|
|
rust-version = "1.77"
|
|
description = "Reading from AHT20 sensor and drawing to OLED display"
|
|
publish = false
|
|
|
|
[[bin]]
|
|
name = "aht20"
|
|
harness = false # do not use the built in cargo test harness -> resolve rust-analyzer errors
|
|
|
|
[profile.release]
|
|
opt-level = "s"
|
|
|
|
[profile.dev]
|
|
debug = true # Symbols are nice and they don't increase the size on Flash
|
|
opt-level = "z"
|
|
|
|
[features]
|
|
default = []
|
|
esp32 = [
|
|
"esp-backtrace/esp32",
|
|
"esp-hal/esp32",
|
|
"esp-bootloader-esp-idf/esp32",
|
|
]
|
|
|
|
[dependencies]
|
|
log = "0.4"
|
|
embedded-hal = "1.0.0"
|
|
esp-backtrace = { version = "0.17.0", features = ["esp32", "println", "panic-handler"] }
|
|
esp-hal = { version = "1.0.0-rc.0", features = ["esp32", "unstable"] }
|
|
esp-println = { version = "0.15.0", features = ["auto", "log-04"] }
|
|
esp-bootloader-esp-idf = { version = "0.2.0", default-features = false, features = ["esp-rom-sys", "log-04", "esp32"] }
|
|
|
|
[build-dependencies]
|
|
embuild = "0.33"
|