55 lines
1.4 KiB
TOML
55 lines
1.4 KiB
TOML
[package]
|
|
edition = "2024"
|
|
name = "co2-meter"
|
|
rust-version = "1.88"
|
|
version = "0.1.0"
|
|
|
|
[dependencies]
|
|
esp-hal = { version = "1.0.0", features = ["defmt", "esp32c3", "unstable"] }
|
|
esp-rtos = {version = "0.2.0", features = ["esp32c3", "embassy"]}
|
|
|
|
|
|
defmt = "1.0.1"
|
|
esp-bootloader-esp-idf = { version = "0.4.0", features = ["defmt", "esp32c3"] }
|
|
|
|
critical-section = "1.2.0"
|
|
esp-alloc = { version = "0.9.0", features = ["defmt"] }
|
|
esp-backtrace = { version = "0.18.1", features = [
|
|
"defmt",
|
|
"esp32c3",
|
|
"panic-handler",
|
|
] }
|
|
esp-println = { version = "0.16.1", features = ["defmt-espflash", "esp32c3"] }
|
|
|
|
aht20-driver = { path = "aht20-driver" , default-features = false }
|
|
ens160 = { version = "0.6", default-features = false}
|
|
embedded-hal-bus = {version = "0.3.0", features = ["alloc"]}
|
|
mipidsi = "0.9.0"
|
|
embedded-graphics = "0.8.1"
|
|
|
|
profont = "0.7.0"
|
|
buoyant = "0.5.3"
|
|
heapless = "0.9.2"
|
|
tinybmp = "0.6.0"
|
|
libm = "0.2.15"
|
|
embassy-executor = {version = "0.9.1", features = ["arch-riscv32"]}
|
|
embassy-time = "0.5.0"
|
|
embassy-sync = "0.7.2"
|
|
embedded-graphics-framebuf = "0.5.0"
|
|
|
|
|
|
|
|
[profile.dev]
|
|
# Rust debug is too slow.
|
|
# For debug builds always builds with some optimization
|
|
opt-level = "s"
|
|
|
|
[profile.release]
|
|
codegen-units = 1 # LLVM can perform better optimizations using a single thread
|
|
debug = 2
|
|
debug-assertions = false
|
|
incremental = false
|
|
lto = 'fat'
|
|
opt-level = 's'
|
|
overflow-checks = false
|