-
Notifications
You must be signed in to change notification settings - Fork 7
/
Cargo.toml
83 lines (74 loc) · 2.23 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
[package]
name = "wasm_serverless"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
qp2p = "0.36.4" #{ path = "qp2p" }
tokio = { version = "1.32.0", features = ["full"] }
thiserror = "1.0.50"
async-trait = "0.1.74"
prost = "0.11"
parking_lot = "0.11.1"
# raft = { version = "0.7.0", default-features = false, features = [
# "prost-codec",
# ] } # tikv raft
async-raft = "0.6.1" #{ path = "async-raft/async-raft" } #
tracing = "0.1.40"
# openraft = "0.8"
serde = "1.0.126"
serde_json = "1.0.64"
serde_yaml = "0.9"
anyhow = "1.0.75"
slog = "2.2"
slog-async = "2.3.0"
slog-term = "2.4.0"
regex = "1"
camelpaste = "0.1.0"
tracing-subscriber = "0.3"
ws_derive = { path = "./ws_derive" }
clap = { version = "3", features = ["derive"] }
downcast-rs = "1.2.0"
bincode = "1.3.3"
crossbeam-skiplist = "0.1"
lazy_static = "1.4.0"
axum = {version="0.6.20",features=["multipart"]}
async-channel = "2.1.0"
sysinfo = "0.29.10"
ssh2 = "0.9.4"
moka = { version = "0.12.1", features = ["sync"] }
rand = "0.8.5"
slotmap = { version = "1.0" }
prometheus-client = "0.22.1"
tower-http = {version="0.4.0", features=["cors"]}
tower= "0.4.0"
sled = "0.34.7"
enum-as-inner = "0.6.0"
reqwest = "0.12.4"
futures = "0.3.30"
zip-extract = "0.1.3"
zip = "0.5.13"
walkdir = "2.5.0"
[dependencies.uuid]
version = "1.8.0"
features = [
"v4", # Lets you generate random UUIDs
"fast-rng", # Use a faster (but still sufficiently random) RNG
"macro-diagnostics", # Enable better diagnostics for compile-time UUIDs
]
# slog-envlogger = { version = "2.1.0", optional = true }
[build-dependencies]
prost-build = { version = "0.12" }
#[target.'cfg( target_os = "macos" )'.dependencies]
#wasmer = "4.2.5"
[target.'cfg(target_os = "linux")'.dependencies]
wasmedge-sdk = { version = "0.10.1", features = ["async"] }
[profile.test]
# 0: no optimizations
# 1: basic optimizations
# 2: some optimizations
# 3: all optimizations
# "s": optimize for binary size
# "z": optimize for binary size, but also turn off loop vectorization.
opt-level = 3 # Use slightly better optimizations.
overflow-checks = false # Disable integer overflow checks.