tesla-charge-controller/Cargo.toml
Alex Janka 5c8bad1d3b
Some checks failed
Build prerelease .deb / Build (push) Failing after 5s
tokio-modbus instead of libmodbus-rs
2024-07-09 10:35:28 +10:00

41 lines
1.1 KiB
TOML

[package]
name = "tesla-charge-controller"
version = "1.5.0-pre"
edition = "2021"
license = "MITNFA"
description = "Controls Tesla charge rate based on solar charge data"
authors = ["Alex Janka"]
[package.metadata.deb]
maintainer-scripts = "debian/"
systemd-units = { enable = false }
depends = ""
assets = [["target/release/tesla-charge-controller", "usr/bin/", "755"]]
[dependencies]
teslatte = { git = "https://git.alexjanka.com/alex/teslatte" }
tesla-common = { git = "https://git.alexjanka.com/alex/tesla-common" }
clap = { version = "4.0", features = ["derive"] }
ron = "0.8"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
tokio = { version = "1.35.1", features = ["full"] }
thiserror = "1.0"
rocket = { version = "0.5", features = ["json"] }
include_dir = "0.7"
chrono = "0.4"
prometheus = "0.13"
env_logger = "0.10"
log = "0.4"
serialport = "4.3"
tokio-modbus = "0.13.1"
tokio-serial = "5.4.4"
if_chain = "1.0.2"
notify-debouncer-mini = { version = "0.4.1", default-features = false }
lazy_static = "1.4"
rand = "0.8"
reqwest = "0.12.4"
# [patch."https://git.alexjanka.com/alex/tesla-common"]
# tesla-common = { path = "../tesla-common" }