@@ -5,41 +5,41 @@ license = "MIT"
5
5
version = " 0.9.3"
6
6
edition = " 2021"
7
7
8
+ # cargo-machete does not detect serde_millis usage, so we ignore the warning
9
+ [package .metadata .cargo-machete ]
10
+ ignored = [" serde_millis" ]
11
+
8
12
[build-dependencies ]
9
13
prost-build = " 0.13"
10
14
11
15
[dependencies ]
12
- async-trait = " 0.1.81 "
16
+ async-trait = " 0.1.88 "
13
17
bs58 = " 0.5.1"
14
- bytes = " 1.6 .1"
15
- cid = " 0.10 .1"
18
+ bytes = " 1.10 .1"
19
+ cid = " 0.11 .1"
16
20
ed25519-dalek = { version = " 2.1.1" , features = [" rand_core" ] }
17
21
futures = " 0.3.27"
18
22
futures-timer = " 3.0.3"
19
- hex-literal = " 0.4.1"
20
- indexmap = { version = " 2.7.1" , features = [" std" ] }
23
+ indexmap = { version = " 2.9.0" , features = [" std" ] }
21
24
libc = " 0.2.158"
22
25
mockall = " 0.13.1"
23
26
multiaddr = " 0.17.0"
24
- multihash = { version = " 0.17.0" , default-features = false , features = [" std" , " multihash-impl" , " identity" , " sha2" ] }
25
- network-interface = " 1.1 .1"
27
+ multihash = { version = " 0.17.0" , default-features = false , features = [" std" , " multihash-impl" , " identity" , " sha2" , " blake2b " ] }
28
+ network-interface = " 2.0 .1"
26
29
parking_lot = " 0.12.3"
27
- pin-project = " 1.1.0 "
28
- prost = " 0.12.6 "
30
+ pin-project = " 1.1.10 "
31
+ prost = " 0.13.5 "
29
32
rand = { version = " 0.8.0" , features = [" getrandom" ] }
30
- rcgen = " 0.10.0"
31
33
serde = " 1.0.158"
32
34
sha2 = " 0.10.8"
33
35
simple-dns = " 0.9.3"
34
- smallvec = " 1.13.2 "
36
+ smallvec = " 1.15.0 "
35
37
snow = { version = " 0.9.3" , features = [" ring-resolver" ], default-features = false }
36
- socket2 = { version = " 0.5.8" , features = [" all" ] }
37
- str0m = { version = " 0.6.2" , optional = true }
38
- thiserror = " 2.0.11"
38
+ socket2 = { version = " 0.5.9" , features = [" all" ] }
39
+ thiserror = " 2.0.12"
39
40
tokio-stream = " 0.1.12"
40
- tokio-tungstenite = { version = " 0.26.1" , features = [" rustls-tls-native-roots" , " url" ], optional = true }
41
- tokio-util = { version = " 0.7.11" , features = [" compat" , " io" , " codec" ] }
42
- tokio = { version = " 1.43.1" , features = [" rt" , " net" , " io-util" , " time" , " macros" , " sync" , " parking_lot" ] }
41
+ tokio-util = { version = " 0.7.15" , features = [" compat" , " io" , " codec" ] }
42
+ tokio = { version = " 1.44.2" , features = [" rt" , " net" , " io-util" , " time" , " macros" , " sync" , " parking_lot" ] }
43
43
tracing = { version = " 0.1.40" , features = [" log" ] }
44
44
hickory-resolver = " 0.24.2"
45
45
uint = " 0.10.0"
@@ -51,11 +51,25 @@ yasna = "0.5.0"
51
51
zeroize = " 1.8.1"
52
52
yamux = " 0.13.4"
53
53
54
+ # Websocket related dependencies.
55
+ tokio-tungstenite = { version = " 0.26.2" , features = [" rustls-tls-native-roots" , " url" ], optional = true }
56
+ # End of websocket related dependencies.
57
+
54
58
# Quic related dependencies. Quic is an experimental feature flag. The dependencies must be updated.
55
59
quinn = { version = " 0.9.3" , default-features = false , features = [" tls-rustls" , " runtime-tokio" ], optional = true }
56
60
rustls = { version = " 0.20.7" , default-features = false , features = [" dangerous_configuration" ], optional = true }
57
61
ring = { version = " 0.16.20" , optional = true }
58
62
webpki = { version = " 0.22.4" , optional = true }
63
+ rcgen = { version = " 0.10.0" , optional = true }
64
+ # End of Quic related dependencies.
65
+
66
+ # WebRTC related dependencies. WebRTC is an experimental feature flag. The dependencies must be updated.
67
+ str0m = { version = " 0.6.2" , optional = true }
68
+ # End of WebRTC related dependencies.
69
+
70
+ # Fuzzing related dependencies.
71
+ serde_millis = {version = " 0.1" , optional = true }
72
+ # End of fuzzing related dependencies.
59
73
60
74
[dev-dependencies ]
61
75
libp2p = { version = " 0.51.4" , features = [
@@ -73,15 +87,23 @@ libp2p = { version = "0.51.4", features = [
73
87
" quic" ,
74
88
]}
75
89
quickcheck = " 1.0.3"
76
- serde_json = " 1.0.122 "
90
+ serde_json = " 1.0.140 "
77
91
tracing-subscriber = { version = " 0.3.16" , features = [" env-filter" ] }
78
92
futures_ringbuf = " 0.4.0"
93
+ hex-literal = " 0.4.1"
79
94
80
95
[features ]
81
- quic = [" dep:webpki" , " dep:quinn" , " dep:rustls" , " dep:ring" ]
82
- webrtc = [" dep:str0m" ]
96
+ # Stable feature flags.
83
97
websocket = [" dep:tokio-tungstenite" ]
84
98
99
+ # Fuzzing feature flags.
100
+ fuzz = [" serde/derive" , " serde/rc" , " bytes/serde" , " dep:serde_millis" , " cid/serde" , " multihash/serde" ]
101
+
102
+ # Unstable / experimental feature flags. These features are not guaranteed to be stable and may change in the future.
103
+ # They are not yet suitable for production use-cases and should be used with caution.
104
+ quic = [" dep:webpki" , " dep:quinn" , " dep:rustls" , " dep:ring" , " dep:rcgen" ]
105
+ webrtc = [" dep:str0m" ]
106
+
85
107
[profile .release ]
86
108
debug = true
87
109
0 commit comments