tesla-charge-controller/server/Cargo.toml

37 lines
826 B
TOML

[package]
name = "tesla-charge-controller"
version = "0.1.0"
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",
],
[
"conf/default",
"etc/tesla-charge-controller/config",
"644",
],
]
[dependencies]
shared-types = { workspace = true, features = ["teslatte"] }
clap = { version = "4.0", features = ["derive"] }
ron = "0.8"
serde = { workspace = true }
tokio = { version = "1.35.1", features = ["full"] }
teslatte = { workspace = true }
thiserror = { workspace = true }
rocket = { version = "0.5", features = ["json"] }
anyhow = "1.0"
include_dir = "0.7"