-
Notifications
You must be signed in to change notification settings - Fork 14
/
Cargo.toml
55 lines (52 loc) · 1.45 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
[package]
name = "applehat"
version = "0.1.0"
authors = ["Andrew Walbran <qwandor@google.com>"]
edition = "2021"
license = "MIT OR Apache-2.0"
description = "Service to use a Rainbow HAT on a Raspberry Pi to show sensor data from Homie."
repository = "https://github.com/alsuren/mijia-homie/"
keywords = ["homie", "mqtt", "raspberrypi"]
categories = ["network-programming"]
[dependencies]
color-backtrace = "0.6.1"
eyre = "0.6.12"
futures = "0.3.30"
homie-controller = { version = "0.9.0", path = "../homie-controller" }
homie-device = { version = "0.9.0", path = "../homie-device" }
log = "0.4.21"
pretty_env_logger = "0.5.0"
rainbow-hat-rs = "0.2.1"
rumqttc = "0.24.0"
rustls = "0.22.2"
rustls-native-certs = "0.7.0"
serde_derive = "1.0.152"
serde = { version = "1.0.203", features = ["derive"] }
stable-eyre = "0.2.2"
tokio = { version = "1.38.0", features = ["macros", "rt-multi-thread"] }
toml = "0.8.14"
[package.metadata.deb]
# $auto doesn't work because we don't build packages in the same container as we build the binaries.
depends = "libc6"
section = "net"
maintainer-scripts = "debian-scripts"
conf-files = ["/etc/applehat/applehat.toml"]
assets = [
[
"target/release/applehat",
"usr/bin/",
"755",
],
[
"applehat.example.toml",
"etc/applehat/applehat.toml",
"640",
],
[
"README.md",
"usr/share/doc/applehat/",
"644",
],
]
# This section needs to be here even if it's empty, for the systemd integration to work.
[package.metadata.deb.systemd-units]