-
Notifications
You must be signed in to change notification settings - Fork 3
/
Cargo.toml
81 lines (67 loc) · 1.97 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
[package]
name = "sgx_server"
version ="0.4.7"
edition = "2021"
[[bin]]
name = "sgx_server"
path = "src/main.rs"
[dependencies]
# Client
reqwest = "0.11.23"
mime = "0.3"
hyper = { version = "0.14.28", features = ["full"] }
graphql_client = "0.13.0"
# Server
axum = {version = "0.6.20", features = ["ws", "headers", "macros", "multipart", "tokio"]}
axum-server = { version = "0.5", features = ["tls-rustls"] }
rustls = "0.21.8"
rustls-acme = {version = "0.7.7", features = ["axum"]}
tokio = { version = "1.35.1", features = ["full"] }
tokio-util = "0.7.10"
tokio-stream = { version="0.1.14", features = ["net"] }
tower-http = { version = "0.4.3", features = ["add-extension","cors","fs","trace","timeout", "limit"] }
tower = {version = "0.4.13", features = ["timeout", "util"]}
urlencoding = "2.1.3"
# codec
serde_json = "1.0.107"
serde = { version = "1.0.196", features = ["derive"] }
hex = "0.4.3"
base64 = "0.21.7"
zip = "0.6.4"
async_zip = {version = "0.0.16", features = ["deflate"]}
# Time and Trace
chrono = "0.4.33"
tokio-cron-scheduler = "0.9.4"
tracing = "0.1.37"
tracing-subscriber = { version = "0.3.17", features = ["env-filter", "fmt"] }
sentry = { version = "0.31.8", features = ["anyhow", "debug-images", "tracing"] }
sentry-tower = { version = "0.31.8", features = ["http"]}
# Tools
cached = "0.48.1"
clap = { version = "4.4.18", features = ["derive"] }
sysinfo = "0.30.5"
anyhow = "1.0.79"
walkdir = "2.3.2"
# Async
futures = "0.3.30"
futures-util = { version = "0.3.30", features = ["io"] }
tokio-test = "0.4.2"
async-trait = "0.1.77"
# Ternoa/Polkadot
parity-scale-codec = { version = "3.6.5", default-features = false, features = ["derive", "full", "bit-vec"] }
subxt = { version = "0.31.0" , features = ["substrate-compat"]}
# Crypto / Keys
rand = "0.8.5"
sha256 = "1.5.0"
ecies = {version = "0.2.6", features = ["std"]}
[profile.release]
debug = false
strip = "symbols"
panic = "abort"
[features]
default = ["alphanet"]
mainnet = []
alphanet = []
dev1 = []
dev0 = []
localchain = []