41 lines
1 KiB
TOML
41 lines
1 KiB
TOML
[package]
|
|
name = "tesla-charge-controller"
|
|
version.workspace = true
|
|
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 = "charge-controller-supervisor"
|
|
|
|
[dependencies]
|
|
clap = { version = "4.5.23", features = ["derive"] }
|
|
ron = "0.8.1"
|
|
serde = { version = "1.0.216", features = ["derive"] }
|
|
serde_json = "1.0.134"
|
|
tokio = { version = "1.42.0", features = ["full"] }
|
|
thiserror = "2.0.9"
|
|
rocket = { version = "0.5.1", features = ["json"] }
|
|
include_dir = "0.7.4"
|
|
chrono = "0.4.39"
|
|
prometheus = "0.13.4"
|
|
env_logger = "0.11.6"
|
|
log = "0.4.22"
|
|
serialport = "4.6.1"
|
|
tokio-modbus = "0.16.1"
|
|
tokio-serial = "5.4.4"
|
|
if_chain = "1.0.2"
|
|
notify-debouncer-mini = { version = "0.5.0", default-features = false }
|
|
lazy_static = "1.5.0"
|
|
rand = "0.8.5"
|
|
reqwest = { version = "0.12.9", default-features = false, features = [
|
|
"rustls-tls",
|
|
"json",
|
|
] }
|
|
eyre = "0.6.12"
|
|
|
|
[lints]
|
|
workspace = true
|