Kuehlschrank/rust/Cargo.toml

85 lines
2.5 KiB
TOML
Raw Permalink Normal View History

2024-03-27 22:08:56 +01:00
[package]
2024-05-09 00:09:03 +02:00
name = "plant-ctrl2"
2024-03-27 22:08:56 +01:00
version = "0.1.0"
2024-05-09 00:09:03 +02:00
authors = ["Empire Phoenix"]
2024-03-27 22:08:56 +01:00
edition = "2021"
resolver = "2"
rust-version = "1.71"
2024-05-09 00:09:03 +02:00
[profile.dev]
# Explicitly disable LTO which the Xtensa codegen backend has issues
lto = false
strip = false
debug = true
overflow-checks = true
panic = "abort"
incremental = true
2024-03-27 22:08:56 +01:00
opt-level = "s"
2024-05-09 00:09:03 +02:00
[profile.dev.build-override]
opt-level = 1
incremental = true
[package.metadata.cargo_runner]
# The string `$TARGET_FILE` will be replaced with the path from cargo.
command = [
"cargo",
"espflash",
"save-image",
"--partition-table",
"partitions.csv",
"--chip",
"esp32c6",
"image.bin"
]
[package.metadata.espflash]
partition_table = "partitions.csv"
2024-03-27 22:08:56 +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 }
2024-05-09 00:09:03 +02:00
serde = { version = "1.0.192", features = ["derive"] }
average = { version = "0.14.1" , features = ["std"] }
#esp32 = "0.28.0"
bit_field = "0.10.2"
ds18b20 = "0.1.1"
2024-03-27 22:08:56 +01:00
embedded-svc = { version = "0.27.0", features = ["experimental"] }
esp-idf-hal = "0.43.0"
esp-idf-sys = { version = "0.34.0", features = ["binstart", "native"] }
2024-05-09 00:09:03 +02:00
esp-idf-svc = { version = "0.48.0", default-features = false }
2024-03-27 22:08:56 +01:00
esp_idf_build = "0.1.3"
2024-05-09 00:09:03 +02:00
chrono = { version = "0.4.23", default-features = false , features = ["iana-time-zone" , "alloc"] }
chrono-tz = {version="0.8.0", default-features = false , features = [ "filter-by-regex" ]}
embedded-hal = "1.0.0"
one-wire-bus = "0.1.1"
anyhow = { version = "1.0.75", features = ["std", "backtrace"] }
schemars = "0.8.16"
heapless = { version = "0.8", features = ["serde"] }
serde_json = "1.0.108"
strum = { version = "0.26.1", features = ["derive"] }
once_cell = "1.19.0"
measurements = "0.11.0"
bq34z100 = "0.2.1"
[patch.crates-io]
#esp-idf-hal = { git = "https://github.com/esp-rs/esp-idf-hal.git" }
esp-idf-hal = { git = "https://github.com/empirephoenix/esp-idf-hal.git" }
#esp-idf-sys = { git = "https://github.com/empirephoenix/esp-idf-sys.git" }
#esp-idf-sys = { git = "https://github.com/esp-rs/esp-idf-sys.git" }
#esp-idf-svc = { git = "https://github.com/esp-rs/esp-idf-svc.git" }
2024-03-27 22:08:56 +01:00
[build-dependencies]
embuild = "0.31.3"
2024-05-09 00:09:03 +02:00
vergen = { version = "8.2.6", features = ["build", "git", "gitcl"] }