2023-11-20 00:05:47 +01:00
|
|
|
[package]
|
|
|
|
name = "plant-ctrl2"
|
|
|
|
version = "0.1.0"
|
|
|
|
authors = ["Empire Phoenix"]
|
|
|
|
edition = "2021"
|
|
|
|
resolver = "2"
|
|
|
|
rust-version = "1.71"
|
|
|
|
|
|
|
|
[profile.release]
|
2023-11-23 22:50:17 +01:00
|
|
|
# Explicitly disable LTO which the Xtensa codegen backend has issues
|
2023-11-27 00:05:09 +01:00
|
|
|
#lto = "thin"
|
2023-11-20 00:05:47 +01:00
|
|
|
opt-level = "s"
|
2023-11-23 22:50:17 +01:00
|
|
|
strip = false
|
2023-11-27 00:05:09 +01:00
|
|
|
#codegen-units = 1
|
|
|
|
debug = true
|
|
|
|
overflow-checks = true
|
|
|
|
panic = "unwind"
|
|
|
|
incremental = true
|
2023-11-20 00:05:47 +01:00
|
|
|
|
|
|
|
[profile.dev]
|
2023-11-23 22:50:17 +01:00
|
|
|
# Explicitly disable LTO which the Xtensa codegen backend has issues
|
2023-11-27 00:05:09 +01:00
|
|
|
#lto = "thin"
|
2023-11-20 00:05:47 +01:00
|
|
|
opt-level = "s"
|
2023-11-23 22:50:17 +01:00
|
|
|
strip = false
|
2023-11-27 00:05:09 +01:00
|
|
|
#codegen-units = 1
|
|
|
|
debug = true
|
|
|
|
overflow-checks = true
|
|
|
|
panic = "unwind"
|
|
|
|
incremental = true
|
2023-11-20 00:05:47 +01:00
|
|
|
|
2023-11-23 22:50:17 +01:00
|
|
|
[package.metadata.cargo_runner]
|
|
|
|
# The string `$TARGET_FILE` will be replaced with the path from cargo.
|
|
|
|
command = [
|
|
|
|
"cargo",
|
|
|
|
"espflash",
|
|
|
|
"save-image",
|
|
|
|
"--chip",
|
|
|
|
"esp32",
|
|
|
|
"image.bin"
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
|
|
[package.metadata.espflash]
|
2023-11-29 18:27:23 +01:00
|
|
|
partition_table = "partitions.csv"
|
2023-11-23 22:50:17 +01:00
|
|
|
|
2023-11-20 00:05:47 +01:00
|
|
|
[features]
|
|
|
|
default = ["std", "embassy", "esp-idf-svc/native"]
|
|
|
|
|
|
|
|
pio = ["esp-idf-svc/pio"]
|
|
|
|
std = ["alloc", "esp-idf-svc/binstart", "esp-idf-svc/std"]
|
|
|
|
alloc = ["esp-idf-svc/alloc"]
|
|
|
|
nightly = ["esp-idf-svc/nightly"]
|
|
|
|
experimental = ["esp-idf-svc/experimental"]
|
|
|
|
embassy = ["esp-idf-svc/embassy-sync", "esp-idf-svc/critical-section", "esp-idf-svc/embassy-time-driver"]
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
log = { version = "0.4", default-features = false }
|
|
|
|
esp-idf-svc = { version = "0.47.3", default-features = false }
|
|
|
|
serde = { version = "1.0.192", features = ["derive"] }
|
|
|
|
average = { version = "0.14.1" , features = ["std"] }
|
2023-12-22 01:35:08 +01:00
|
|
|
#esp32 = "0.28.0"
|
2023-11-20 00:05:47 +01:00
|
|
|
bit_field = "0.10.2"
|
|
|
|
ds18b20 = "0.1.1"
|
|
|
|
embedded-svc = { version = "0.26.4", features = ["experimental"] }
|
|
|
|
esp-idf-hal = "0.42.5"
|
|
|
|
esp-idf-sys = { version = "0.33.7", features = ["binstart", "native"] }
|
|
|
|
esp-ota = "0.2.0"
|
|
|
|
esp_idf_build = "0.1.3"
|
|
|
|
chrono = { version = "0.4.23", default-features = false , features = ["iana-time-zone"] }
|
2023-11-23 22:50:17 +01:00
|
|
|
chrono-tz = {version="0.8.0", default-features = false , features = [ "filter-by-regex" ]}
|
2023-11-20 00:05:47 +01:00
|
|
|
embedded-hal = "0.2.7"
|
2023-12-22 01:35:08 +01:00
|
|
|
#shift-register-driver = "0.1.1"
|
2023-11-21 01:05:12 +01:00
|
|
|
one-wire-bus = "0.1.1"
|
2023-11-23 22:50:17 +01:00
|
|
|
anyhow = { version = "1.0.75", features = ["std", "backtrace"] }
|
2023-11-27 01:07:07 +01:00
|
|
|
schemars = "0.8.16"
|
2023-12-22 17:26:00 +01:00
|
|
|
heapless = { version = "0.7", features = ["serde"] }
|
2023-12-12 03:46:53 +01:00
|
|
|
serde_json = "1.0.108"
|
2023-12-27 17:33:11 +01:00
|
|
|
strum = { version = "0.25.0", features = ["derive"] }
|
2023-12-27 20:00:06 +01:00
|
|
|
once_cell = "1.19.0"
|
2024-01-17 21:25:01 +01:00
|
|
|
measurements = "0.11.0"
|
2024-02-02 21:35:04 +01:00
|
|
|
medians = "3.0.6"
|
|
|
|
median-accumulator = "0.2.0"
|
2023-11-20 00:05:47 +01:00
|
|
|
#?bq34z100 required
|
|
|
|
|
|
|
|
[build-dependencies]
|
|
|
|
embuild = "0.31.3"
|
2023-11-30 19:26:03 +01:00
|
|
|
vergen = { version = "8.2.6", features = ["build", "git", "gitcl"] }
|