33 lines
700 B
TOML
33 lines
700 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]
|
||
|
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"
|