-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathCargo.toml
83 lines (58 loc) · 2.23 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
[package]
name = "opensesame"
version = "0.8.3"
authors = ["Opensesame Contributors"]
edition = "2021"
readme = "README.md"
license = "BSD"
description = "Awesome home automation"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
# https://github.com/kornelski/cargo-deb
[package.metadata.deb]
maintainer="Opensesame Contributors <[email protected]>"
copyright="BSD"
maintainer-scripts = "debian/"
systemd-units = { enable = true }
pre-depends = "elektra-bin, libelektra5, libelektra5-extra, libelektra5-experimental, libelektra5-python"
assets = [
["target/release/opensesame", "usr/bin/", "755"],
["files/reload-opensesame", "usr/bin/", "755"],
["files/trigger-watchdog", "usr/bin/", "755"],
["files/opensesame.spec", "usr/share/elektra/specification/", "644"],
["files/opensesame.state.spec", "usr/share/elektra/specification/", "644"],
["files/opensesame.mo", "usr/share/locale/de/LC_MESSAGES/", "644"],
["files/i2c_2_clock_freq_6000_overlay.dtbo", "usr/lib/olinuxino-overlays/sun7i-a20/", "644"],
["files/91-gpio.rules", "etc/udev/rules.d/", "644"],
["files/alarm.ogg", "usr/share/sounds/opensesame/", "644"],
["README.md", "usr/share/doc/opensesame/README.md", "644"],
["doc/*", "usr/share/doc/opensesame/", "644"],
]
[dependencies]
gpio-cdev = { version = "0.5.1", features = ["async-tokio"]}
i2cdev = "0.5.1"
elektra = { version = "0.11.0", features = ["pkg-config"] }
reqwest = { version = "0.11", features = ["json"] }
bme280 = "0.3.0"
mlx9061x = "0.2.1"
linux-embedded-hal = { version = "0.3", features = ["gpio_cdev"] }
systemstat = "0.1.11"
nix = "0.25"
chrono = "0.4.19"
signal-hook = "0.3.14"
signal-hook-tokio = "0.3.1"
tokio = { version = "1.15.0", features = ["full"] }
tokio-util = "0.6.9"
async-ssh2-tokio = "0.7.1"
futures = "0.3.19"
gettext-rs = "0.7.0"
serde = "1.0.188"
serde_json = "1.0.106"
serial_test = "0.4.0" # TODO, remove when issues.libelektra.org/4466 is fixed
sunrise = "1.0.0"
libmodbus = {git = "https://github.com/ElektraInitiative/libmodbus-rs.git"}
[[bin]]
name = "weatherstation_dump"
path = "src/weather_station/dump_all_regs.rs"
[[bin]]
name = "weatherstation_write"
path = "src/weather_station/write_to_reg.rs"