33 lines
724 B
TOML
33 lines
724 B
TOML
[package]
|
|
name = "pmme-device"
|
|
version = "0.1.0"
|
|
authors = ["Joseph Ferano <joseph@ferano.io>"]
|
|
edition = "2021"
|
|
resolver = "2"
|
|
rust-version = "1.77"
|
|
|
|
[[bin]]
|
|
name = "pmme-device"
|
|
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 = []
|
|
experimental = ["esp-idf-svc/experimental"]
|
|
|
|
[dependencies]
|
|
log = "0.4"
|
|
esp-idf-svc = { version = "0.51", features = ["critical-section", "embassy-time-driver", "embassy-sync"] }
|
|
anyhow = "1.0.98"
|
|
embedded-graphics = "0.8.1"
|
|
ssd1306 = "0.10.0"
|
|
|
|
[build-dependencies]
|
|
embuild = "0.33"
|