-
-
Notifications
You must be signed in to change notification settings - Fork 14
/
Cargo.toml
91 lines (86 loc) · 2.07 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
[package]
name = "chirpstack-mqtt-forwarder"
description = "ChirpStack MQTT Forwarder"
repository = "https://github.com/chirpstack/chirpstack-mqtt-forwarder"
homepage = "https://www.chirpstack.io/"
license = "MIT"
version = "4.3.1"
authors = ["Orne Brocaar <[email protected]>"]
edition = "2021"
publish = false
[dependencies]
clap = { version = "4.5", default-features = false, features = [
"std",
"help",
"usage",
"derive",
] }
chirpstack_api = { version = "4.10", default-features = false, features = [
"json",
] }
lrwn_filters = { version = "4.9", features = ["serde"] }
serde_json = "1.0"
serde = { version = "1.0", features = ["derive"] }
humantime-serde = "1.1"
log = "0.4"
simple_logger = "5.0"
syslog = "7.0"
prost = "0.13"
anyhow = "1.0"
toml = "0.8"
once_cell = "1.20"
chrono = "0.4"
signal-hook = "0.3"
hex = "0.4"
base64 = "0.22"
rand = "0.8"
pbjson-types = "0.7"
rumqttc = { version = "0.24", features = ["url", "websocket"] }
url = "2.5"
rustls-native-certs = "0.8"
rustls-pemfile = "2.2"
rustls-pki-types = "1.10"
handlebars = "6.2"
tokio = { version = "1.42", features = [
"macros",
"rt-multi-thread",
"net",
"process",
"io-util",
"sync",
"time",
] }
async-trait = "0.1"
zmq = { version = "0.10", optional = true }
[dev-dependencies]
dotenv = "0.15"
[features]
default = ["semtech_udp", "concentratord"]
semtech_udp = []
concentratord = ["zmq"]
# Debian packaging.
[package.metadata.deb]
assets = [
[
"target/release/chirpstack-mqtt-forwarder",
"usr/bin/",
"755",
],
[
"packaging/debian/chirpstack-mqtt-forwarder.toml",
"etc/chirpstack-mqtt-forwarder/",
"640",
],
]
conf-files = [
"/etc/chirpstack-mqtt-forwarder/chirpstack-mqtt-forwarder.toml",
]
suggests = "mosquitto"
maintainer-scripts = "packaging/debian/"
systemd-units = { enable = true }
[profile.release]
strip = true
opt-level = "z"
lto = true
codegen-units = 1
panic = "abort"