-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
64 lines (60 loc) · 1.34 KB
/
Cargo.toml
File metadata and controls
64 lines (60 loc) · 1.34 KB
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
[package]
name = "webgw"
version = "0.1.0-rc1"
edition = "2021"
authors = ["TF TECH NV <info@threefold.tech>"]
description = "Threefold grid networking utilities"
readme = "README.md"
repository = "https://github.com/threefoldtech/webgw"
license = "Apache-2.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[[bin]]
name = "server"
[[bin]]
name = "client"
[dependencies]
# Technically we only need signal and fs because the others are enabled by other libraries.
# Also, make sure parking lot is enabled.
tokio = { version = "1.24.2", features = [
"macros",
"net",
"io-util",
"rt-multi-thread",
"time",
"sync",
"parking_lot",
"signal",
"fs",
] }
async-trait = "0.1"
# Tracing instead of log
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = [
"env-filter",
"local-time",
"time",
"parking_lot",
] }
rand = "0.8.5"
jsonrpsee = { version = "0.16.2", features = [
"ws-client",
"macros",
"server",
"client",
] }
serde = { version = "1.0.152", features = ["derive"] }
faster-hex = "0.6.1"
clap = { version = "4.1.1", features = ["derive"] }
toml = "0.5.10"
axum = { version = "0.6.2", default-features = false, features = [
"json",
"tower-log",
"tokio",
] }
sha2 = "0.10.6"
tokio-util = "0.7.4"
[profile.release]
opt-level = 3
debug = false
lto = "fat"
codegen-units = 1