forked from helium/gateway-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
76 lines (69 loc) · 2.12 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
[package]
name = "gateway-rs"
description = "Helium Gateway for LoRa packet forwarders"
version = "1.0.0"
authors = ["Marc Nijdam <marc@helium.com>"]
edition = "2021"
license = "Apache-2.0"
[[bin]]
name = "helium_gateway"
path = "src/main.rs"
doc = false
[workspace]
members = ["lorawan", "beacon"]
[workspace.dependencies]
byteorder = "1"
serde = {version = "1", features = ["rc", "derive"]}
rust_decimal = {version = "1", features = ["serde-with-float"]}
helium-proto = { git = "https://github.com/helium/proto", branch="master", features=["services"]}
rand = "0.8"
base64 = ">=0.21"
sha2 = "0"
thiserror = "1.0"
prost = "0"
[dependencies]
clap = {version = "4", default-features=false, features = ["derive", "help", "std", "error-context"]}
semver = "0"
config = {version="0", default-features=false, features=["toml"]}
serde = {workspace = true}
serde_json = "1"
serde_urlencoded = "*"
http-serde = "1"
tokio = { version="1", default-features=false, features=["macros", "signal", "rt", "time", "sync"] }
tokio-stream = {version="0", default-features=false }
futures = "*"
triggered = "0.1"
tracing = "0"
tracing-subscriber = {version = "0", default-features = false, features = ["smallvec", "fmt", "std"]}
tracing-appender = "0"
thiserror = {workspace = true}
rand = {workspace = true}
prost = {workspace = true}
tonic = "0"
http = "*"
xxhash-rust = { version = "0.8", features = ["xxh64"]}
sha2 = {workspace = true}
base64 = {workspace = true}
helium-proto = {workspace = true}
signature = "2"
async-trait = "0"
angry-purple-tiger = "0"
lorawan = { package = "lorawan", path = "lorawan" }
beacon = { package = "beacon", path = "beacon" }
exponential-backoff = {git = "https://github.com/yoshuawuyts/exponential-backoff", branch = "master"}
semtech-udp = { version = ">=0.10.7", default-features=false, features=["server"] }
helium-crypto = "0.6"
[features]
default = [ "ecc608" ]
ecc608 = [ "helium-crypto/ecc608" ]
tpm = ["helium-crypto/tpm"]
[profile.release]
opt-level = "z"
lto = true
codegen-units = 1
panic = "abort"
#debug = true
#strip = "debuginfo"
strip = "symbols"
[package.metadata.cross.build]
pre-build = ["apt-get install -y protobuf-compiler"]