2022-04-17 15:26:32 +08:00
|
|
|
[package]
|
2022-05-03 10:35:41 +08:00
|
|
|
name = "ups-esp32c3-rust"
|
2022-08-07 11:57:05 +08:00
|
|
|
version = "0.2.0"
|
|
|
|
authors = ["Ivan Li <ivanli2048@gmail.com>"]
|
|
|
|
edition = "2021"
|
2022-04-17 15:26:32 +08:00
|
|
|
resolver = "2"
|
|
|
|
|
|
|
|
[profile.release]
|
|
|
|
opt-level = "s"
|
|
|
|
|
|
|
|
[profile.dev]
|
|
|
|
debug = true # Symbols are nice and they don't increase the size on Flash
|
2022-05-03 11:11:36 +08:00
|
|
|
opt-level = "z"
|
2022-04-17 15:26:32 +08:00
|
|
|
|
|
|
|
[features]
|
|
|
|
pio = ["esp-idf-sys/pio"]
|
|
|
|
|
|
|
|
[dependencies]
|
2022-08-06 10:27:17 +08:00
|
|
|
anyhow = "1"
|
|
|
|
embedded-svc = "0.22.0"
|
2022-05-10 23:52:31 +08:00
|
|
|
env_logger = "0.9.0"
|
2022-08-06 10:27:17 +08:00
|
|
|
esp-idf-svc = "0.42.1"
|
|
|
|
esp-idf-sys = { version = "0.31.6", features = ["binstart"] }
|
2022-05-10 23:52:31 +08:00
|
|
|
log = "0.4.17"
|
2022-08-07 11:57:05 +08:00
|
|
|
sntpc = "0.3.1"
|
|
|
|
|
2022-04-17 15:26:32 +08:00
|
|
|
|
|
|
|
[build-dependencies]
|
2022-08-07 11:57:05 +08:00
|
|
|
embuild = "0.29"
|
|
|
|
anyhow = "1"
|
|
|
|
|
|
|
|
[patch.crates-io]
|
|
|
|
esp-idf-hal = { git = "https://github.com/esp-rs/esp-idf-hal", branch = "master" }
|