-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
56 lines (50 loc) · 1.47 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
[package]
name = "purpledrop"
version = "0.1.0"
authors = ["Max Willsey <[email protected]>"]
edition = "2018"
publish = false
license = "MIT"
readme = "README.md"
description = "Software for the purpledrop DMF device"
[dependencies]
structopt = "0.3.5"
log = "0.4.6"
env_logger = "0.7"
futures = "0.1"
hyper-staticfile = "0.3.0"
signal-hook = "0.1.9"
serde = { version = "1", features = ["derive"] }
serde_yaml = "0.8.9"
toml = "0.5"
jsonrpc-core = "14"
jsonrpc-derive = "14"
jsonrpc-http-server = "14"
prost = "0.5"
bytes = "*"
ws = "*"
reqwest = { version = "0.10", features = ["blocking", "json"] }
anyhow = "1.0"
[target.'cfg(target_arch = "arm")'.dependencies]
rppal = "0.11"
[build-dependencies]
chrono = "0.4"
prost-build = "0.5"
[profile.release]
debug = true
[package.metadata.deb]
maintainer = "Max Willsey <[email protected]>"
extended-description = """
Software for the purpledrop DMF device, including a webserver
"""
depends = "$auto,systemd"
assets = [
["target/release/pdd", "/usr/bin/", "755"],
["target/release/pd-test", "/usr/bin/", "755"],
["README.md", "/usr/share/doc/purpledrop/", "644"],
["config/default.toml", "/etc/purpledrop/", "644"],
["config/pdd.service", "/etc/systemd/system/", "644"],
# it's not recursive, two levels will work for now
["jsclient/dist/*", "/usr/share/purpledrop/webroot/", "644"],
["jsclient/dist/*/*", "/usr/share/purpledrop/webroot/", "644"],
]