forked from freenet/freenet-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
162 lines (144 loc) · 4.16 KB
/
Cargo.toml
File metadata and controls
162 lines (144 loc) · 4.16 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
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
[workspace]
resolver = "2"
members = [
"crates/*",
"apps/freenet-ping/app",
"apps/freenet-ping/types",
"apps/freenet-ping/contracts/ping",
"tests/test-contract-integration",
"tests/test-contract-update-nochange",
"tests/test-contract-mock-aligned"
]
[workspace.dependencies]
# Core utilities
ahash = "0.8"
boot-time = "0.1.3"
anyhow = "1"
arrayvec = { version = "0.7", features = ["serde"] }
bincode = "1"
byteorder = "1"
bytes = { version = "1", features = ["serde"] }
delegate = "0.13"
either = "1"
event-listener = "5"
hex = "0.4"
parking_lot = "0.12"
pav_regression = "0.7.0"
renegade-ml = "0.3.3"
pin-project = "1"
thiserror = "2"
ulid = { version = "1.1", features = ["serde"] }
zeroize = { version = "1.8", features = ["derive"] }
# Async/networking
axum = { version = "0.8", default-features = false }
futures = "0.3"
socket2 = "0.6"
headers = "0.4"
hickory-resolver = { version = "0.24", features = ["dns-over-rustls"] }
http = "1.4"
reqwest = { version = "0.12", default-features = false, features = ["json", "stream", "rustls-tls"] }
tokio = { version = "1", features = ["full"] }
tokio-stream = "0.1.18"
tokio-tungstenite = "0.27.0"
tower-http = { version = "0.6", features = ["fs", "trace"] }
# Crypto
aes-gcm = "0.10"
blake3 = { version = "1", features = ["std", "traits-preview"] }
bs58 = "0.5"
chacha20poly1305 = "0.10"
sha2 = "0.11"
x25519-dalek = { version = "2", features = ["static_secrets"] }
# Data structures/storage
dashmap = "6.1"
lru = "0.18.0"
redb = "4"
sqlx = { version = "0.8", features = ["runtime-tokio-rustls", "sqlite"] }
moka = { version = "0.12", features = ["sync"] }
# File I/O
directories = "6"
dirs = "6"
flate2 = "1"
notify = "8"
tar = "0.4"
tempfile = "3"
xz2 = "0.1"
# Serialization
flatbuffers = "25.9"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
serde_with = "3"
toml = "1.0"
# CLI
clap = "4"
ctrlc = "3"
# Time
chrono = { version = "0.4", default-features = true }
# Random
rand = "0.9"
# Observability
opentelemetry = "0.31"
opentelemetry-jaeger = "0.22"
opentelemetry-otlp = "0.31.1"
opentelemetry_sdk = { version = "0.31", features = ["rt-tokio"] }
tracing = "0.1"
tracing-appender = "0.2"
tracing-opentelemetry = "0.32.1"
tracing-subscriber = "0.3"
console-subscriber = "0.5.0"
# WASM
# v43.0.1 has a linker error on macOS x86_64 cross-compilation due to the
# stack-switching feature (undefined symbol wasmtime_continuation_start).
# Disable default features and re-enable all defaults except stack-switching.
# TODO: Re-enable default features once upstream fixes the linker regression.
wasmtime = { version = "44", default-features = false, features = [
"anyhow", "async", "backtrace", "cache", "cranelift",
"compile-time-builtins", "component-model", "component-model-async",
"coredump", "debug", "debug-builtins", "demangle", "addr2line",
"gc", "gc-drc", "gc-null", "parallel-compilation", "pooling-allocator",
"profiling", "runtime", "std", "threads", "wat",
] }
# Testing/simulation
arbitrary = { version = "1", features = ["derive"] }
criterion = { version = "0.8", features = ["async_tokio"] }
freenet-test-network = "0.1.22"
httptest = "0.16"
proptest = "1"
regex = "1"
rstest = "0.26"
serial_test = "3"
statrs = "0.18"
test-log = "0.2"
testresult = "0.4"
turmoil = "0.7"
ureq = { version = "3.3", features = ["json"] }
which = "8.0"
# Versioning
semver = { version = "1", features = ["serde"] }
# Proc macros
darling = "0.23"
proc-macro2 = "1.0"
quote = "1.0"
syn = { version = "2.0", features = ["full", "extra-traits", "parsing"] }
trybuild = "1.0"
# Platform-specific
libc = "0.2"
tikv-jemallocator = { version = "0.6", features = ["unprefixed_malloc_on_supported_platforms"] }
tikv-jemalloc-ctl = { version = "0.6", features = ["stats"] }
gag = "1"
winapi = "0.3"
tao = { version = "0.35", default-features = false, features = ["rwh_06"] }
wry = { version = "0.55", default-features = false, features = ["os-webview"] }
winreg = "0.56"
tray-icon = "0.22"
muda = "0.17"
zip = { version = "8", default-features = false, features = ["deflate", "time"] }
# Freenet
freenet-stdlib = "0.6.1"
[profile.dev.package."*"]
opt-level = 3
# [profile.release]
# strip = true
# opt-level = "z"
# lto = true
# codegen-units = 1
# panic = "abort"