init commit
This commit is contained in:
48
Cargo.toml
Normal file
48
Cargo.toml
Normal file
@ -0,0 +1,48 @@
|
||||
[package]
|
||||
edition = "2024"
|
||||
name = "co2-meter"
|
||||
rust-version = "1.88"
|
||||
version = "0.1.0"
|
||||
|
||||
[[bin]]
|
||||
name = "co2-meter"
|
||||
path = "./src/bin/main.rs"
|
||||
|
||||
[dependencies]
|
||||
esp-hal = { version = "1.0.0", features = ["defmt", "esp32c3", "unstable"] }
|
||||
|
||||
|
||||
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 = { version = "2.0", default-features = false }
|
||||
|
||||
ens160 = { version = "0.6", default-features = false}
|
||||
embedded-hal-bus = "0.3.0"
|
||||
mipidsi = "0.9.0"
|
||||
embedded-graphics = "0.8.1"
|
||||
lcd-async = "0.1.1"
|
||||
profont = "0.7.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
|
||||
Reference in New Issue
Block a user