tesla-charge-controller/Cargo.toml
2024-01-13 17:06:16 +11:00

33 lines
866 B
TOML

[package]
name = "tesla-charge-controller"
version = "0.2.0-prerelease"
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]
clap = { version = "4.0", features = ["derive"] }
ron = "0.8"
serde = { version = "1.0", features = ["derive"] }
tokio = { version = "1.35.1", features = ["full"] }
teslatte = { path = "./vendored/teslatte" }
thiserror = "1.0"
rocket = { version = "0.5", features = ["json"] }
include_dir = "0.7"
chrono = "0.4"
async-channel = "2.1"
metrics = "0.22"
metrics-prometheus = "0.6.0"
prometheus = "0.13"
env_logger = "0.10"
log = "0.4"
serialport = "4.3"
termcolor = "1.4.1"