tesla-charge-controller/server/Cargo.toml

37 lines
826 B
TOML
Raw Normal View History

2023-12-27 17:34:48 +11:00
[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]
2023-12-28 12:41:05 +11:00
shared-types = { workspace = true, features = ["teslatte"] }
2023-12-27 17:34:48 +11:00
clap = { version = "4.0", features = ["derive"] }
ron = "0.8"
2023-12-28 12:41:05 +11:00
serde = { workspace = true }
2023-12-27 17:34:48 +11:00
tokio = { version = "1.35.1", features = ["full"] }
2023-12-28 12:41:05 +11:00
teslatte = { workspace = true }
thiserror = { workspace = true }
rocket = { version = "0.5", features = ["json"] }
anyhow = "1.0"
include_dir = "0.7"