-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
106 lines (93 loc) · 3.32 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
[package]
name = "empowerd"
version = "0.10.1"
license = "AGPL-3.0-or-later"
description = "empowers the offline smart home"
authors = ["Max Maisel <[email protected]>"]
readme = "README.md"
edition = "2021"
rust-version = "1.64.0"
[package.metadata.deb]
assets = [
["target/release/empowerd", "bin/", "755"],
["target/release/modbus-tcp", "bin/", "755"],
["target/release/sunspec-enum", "bin/", "755"],
["target/release/00001_convert_battery_charge", "usr/libexec/empowerd/", "755"],
["target/release/00002_migrate_to_postgres", "usr/libexec/empowerd/", "755"],
["data/empowerd.conf", "etc/empowerd/", "600"],
["data/empowerd.logrotate", "etc/logrotate.d/empowerd", "644"],
["data/nginx-site.conf", "usr/share/doc/empowerd/", "644"],
["lib/bresser6in1-usb/bresser6in1.rules", "etc/udev/rules.d/", "644"],
["lib/sml-client/ttyusb-meter.rules", "etc/udev/rules.d/", "644"],
["gui/build/*", "usr/share/empowerd/www", "644"],
["gui/build/static/css/*", "usr/share/empowerd/www/static/css", "644"],
["gui/build/static/js/*", "usr/share/empowerd/www/static/js", "644"]
]
conf-files = [
"etc/empowerd/empowerd.conf",
"etc/logrotate.d/empowerd"
]
changelog = "ChangeLog"
features = ["npm"]
maintainer-scripts = "scripts/"
[package.metadata.deb.systemd-units]
[workspace]
members = [
"lib/bresser6in1-usb",
"lib/dachs-client",
"lib/lambda-client",
"lib/kecontact-client",
"lib/sml-client",
"lib/sunny-storage-client",
"lib/sunspec-client",
"lib/usb-reset",
"migrations/",
"utils/"
]
[lib]
name = "libempowerd"
path = "src/lib.rs"
[profile.release]
lto = "thin"
[features]
npm = []
[dependencies]
bresser6in1-usb = { version = "*", path = "lib/bresser6in1-usb/" }
dachs-client = { version = "*", path = "lib/dachs-client/" }
lambda-client = { version = "*", path = "lib/lambda-client/" }
kecontact-client = { "version" = "*", path = "lib/kecontact-client" }
sma-proto = { version = "1.0.1", features = ["client"] }
sml-client = { version = "*", path = "lib/sml-client/" }
sunny-storage-client = { version = "*", path = "lib/sunny-storage-client/" }
sunspec-client = { version = "*", path = "lib/sunspec-client/" }
usb-reset = { version = "*", path = "lib/usb-reset/" }
async-trait = ">=0.1.81"
futures = ">=0.3.21"
slog = { version=">=2.7", features=["max_level_trace", "release_max_level_debug"] }
sloggers = { version=">=2.0", default-features=false }
#slog-async = "*"
tokio = { version=">=1.0", features=["full"] }
tokio-modbus = { version=">=0.14.0", features = ["tcp"], default-features = false }
chrono = ">=0.4.38"
diesel = { version = ">=2.2.2", features = ["chrono", "postgres"] }
diesel-async = { version=">=0.5.0", features = ["deadpool", "postgres"] }
diesel_migrations = { version = ">=2.2.0" }
influxdb = { version = ">=0.7.2", features = ["derive", "reqwest-client", "use-serde"], default-features = false }
daemonize = ">=0.4.1"
getopts = ">=0.2.21"
serde = { version = ">=1.0", features = ["derive"] }
serde_json = ">=1.0"
toml = ">=0.5.8"
juniper = ">=0.16.1"
hyper = { version = ">=1.4", features = ["http1", "server"] }
hyper-util = { version = ">=0.1", features = ["tokio"] }
juniper_hyper = ">=0.9.0"
jwt = ">=0.16.0"
hmac = ">=0.12.1"
sha2 = ">=0.10.2"
ring = ">=0.16.20"
base64 = ">=0.21.0"
rust-argon2 = ">=1.0"
gpiocdev = ">=0.7.1"
uom = ">=0.34.0"
spa = ">=0.3.1"