@@ -10,11 +10,27 @@ description = "IPFS node implementation"
10
10
version = " 0.15.0"
11
11
12
12
[features ]
13
- default = []
13
+ default = [" rsa " , " dns " , " ed25519 " , " secp256k1 " , " ecdsa " , " tls " , " noise " , " tcp " , " quic " , " pnet " , " websocket " ]
14
14
15
- experimental_stream = [" dep:libp2p-stream" ]
15
+ rsa = [" libp2p/rsa" , " rust-ipns/rsa" ]
16
+ ed25519 = [" libp2p/ed25519" , " rust-ipns/ed25519" ]
17
+ secp256k1 = [" libp2p/secp256k1" , " rust-ipns/secp256k1" ]
18
+ ecdsa = [" libp2p/ecdsa" , " rust-ipns/ecdsa" ]
16
19
17
- webrtc_transport = [" dep:libp2p-webrtc" ]
20
+ stream = [" dep:libp2p-stream" ]
21
+
22
+ x509_dep = [" dep:simple_x509" , " rcgen" , " pem" , " p256" , " rand_chacha" , " hkdf" , " sec1" ]
23
+
24
+ dns = [" libp2p/dns" ]
25
+ tls = [" libp2p/tls" ]
26
+ noise = [" libp2p/noise" ]
27
+ tcp = [" libp2p/tcp" ]
28
+ quic = [" libp2p/quic" ]
29
+ pnet = [" libp2p/pnet" ]
30
+
31
+ webrtc = [" dep:libp2p-webrtc" , " dep:libp2p-webrtc-websys" , " x509_dep" ]
32
+ websocket = [" libp2p/websocket" , " libp2p/websocket-websys" , " x509_dep" ]
33
+ webtransport = [" libp2p/webtransport-websys" ]
18
34
19
35
test_go_interop = []
20
36
test_js_interop = []
@@ -23,10 +39,10 @@ test_js_interop = []
23
39
anyhow = " 1.0.97"
24
40
async-rt = " 0.1.5"
25
41
async-stream = { version = " 0.3.6" }
26
- async-trait = { version = " 0.1.87 " }
42
+ async-trait = { version = " 0.1.88 " }
27
43
asynchronous-codec = " 0.7.0"
28
44
base64 = { version = " 0.22.1" }
29
- bytes = " 1.10.0 "
45
+ bytes = " 1.10.1 "
30
46
cid = " 0.11.1"
31
47
chrono = { version = " 0.4.40" }
32
48
clap = { version = " 4.5.31" , features = [" derive" ] }
@@ -64,7 +80,7 @@ rand = "0.9.0"
64
80
rand_chacha = " 0.3.1"
65
81
rcgen = { version = " 0.13.2" , features = [" pem" , " x509-parser" ] }
66
82
rlimit = " 0.10.2"
67
- rust-ipns = { version = " 0.7.0" , path = " packages/rust-ipns" }
83
+ rust-ipns = { version = " 0.7.0" , path = " packages/rust-ipns" , default-features = false }
68
84
rust-unixfs = { version = " 0.5.0" , path = " unixfs" }
69
85
sec1 = { version = " 0.7.3" , features = [" pem" , " pkcs8" ] }
70
86
send_wrapper = " 0.6.0"
@@ -79,7 +95,7 @@ thiserror = { version = "2.0.11" }
79
95
tracing = { version = " 0.1.41" }
80
96
tracing-futures = { features = [" futures-03" ], version = " 0.2.5" }
81
97
82
- tokio = { default-features = false , version = " 1.43.0 " }
98
+ tokio = { default-features = false , version = " 1.44.2 " }
83
99
tokio-stream = { default-features = false , version = " 0.1.17" }
84
100
tokio-util = { default-features = false , version = " 0.7.13" }
85
101
unsigned-varint = { version = " 0.8.0" , features = [" asynchronous_codec" ] }
@@ -100,7 +116,7 @@ chrono.workspace = true
100
116
either.workspace = true
101
117
futures-timeout.workspace = true
102
118
futures.workspace = true
103
- hkdf. workspace = true
119
+ hkdf = { workspace = true , optional = true }
104
120
indexmap.workspace = true
105
121
ipld-core.workspace = true
106
122
ipld-dagpb.workspace = true
@@ -112,17 +128,17 @@ multibase.workspace = true
112
128
multihash.workspace = true
113
129
multihash-codetable.workspace = true
114
130
multihash-derive.workspace = true
115
- p256. workspace = true
131
+ p256 = { workspace = true , optional = true }
116
132
parking_lot.workspace = true
117
- pem. workspace = true
133
+ pem = { workspace = true , optional = true }
118
134
pollable-map.workspace = true
119
135
quick-protobuf-codec.workspace = true
120
136
quick-protobuf.workspace = true
121
137
rand.workspace = true
122
- rand_chacha. workspace = true
123
- rust-ipns = { workspace = true }
138
+ rand_chacha = { workspace = true , optional = true }
139
+ rust-ipns = { workspace = true , features = [ " libp2p " ] }
124
140
rust-unixfs = { workspace = true }
125
- sec1. workspace = true
141
+ sec1 = { workspace = true , optional = true }
126
142
serde = { features = [" derive" ], workspace = true }
127
143
serde_ipld_dagcbor.workspace = true
128
144
serde_ipld_dagjson.workspace = true
@@ -139,11 +155,11 @@ zeroize.workspace = true
139
155
futures-timer.workspace = true
140
156
fs2.workspace = true
141
157
hickory-resolver.workspace = true
142
- libp2p = { features = [" gossipsub" , " autonat" , " relay" , " dcutr" , " identify" , " kad" , " websocket " , " tcp " , " macros" , " tokio" , " noise " , " tls " , " ping" , " yamux" , " dns " , " mdns" , " ed25519 " , " secp256k1 " , " ecdsa " , " rsa " , " serde" , " request-response" , " json" , " cbor" , " rendezvous" , " upnp" , " quic " , " pnet " ], workspace = true }
158
+ libp2p = { features = [" gossipsub" , " autonat" , " relay" , " dcutr" , " identify" , " kad" , " macros" , " tokio" , " ping" , " yamux" , " mdns" , " serde" , " request-response" , " json" , " cbor" , " rendezvous" , " upnp" ], workspace = true }
143
159
libp2p-webrtc = { workspace = true , features = [" tokio" , ], optional = true }
144
- rcgen. workspace = true
160
+ rcgen = { workspace = true , optional = true }
145
161
rlimit.workspace = true
146
- simple_x509. workspace = true
162
+ simple_x509 = { workspace = true , optional = true }
147
163
tokio = { features = [" full" ], workspace = true }
148
164
tokio-stream = { workspace = true , features = [" fs" ] }
149
165
tokio-util = { workspace = true , features = [" full" ] }
@@ -152,8 +168,8 @@ tokio-util = { workspace = true, features = ["full"] }
152
168
futures-timer = { workspace = true , features = [" wasm-bindgen" ] }
153
169
getrandom = { workspace = true , features = [" js" ] }
154
170
idb.workspace = true
155
- libp2p = { features = [" gossipsub" , " autonat" , " relay" , " dcutr " , " identify" , " kad" , " websocket-websys " , " webtransport-websys " , " macros" , " noise " , " ping" , " yamux" , " dns " , " ed25519 " , " secp256k1 " , " ecdsa " , " serde" , " request-response" , " json" , " cbor" , " rendezvous" , " wasm-bindgen" , ], workspace = true }
156
- libp2p-webrtc-websys = { workspace = true }
171
+ libp2p = { features = [" gossipsub" , " autonat" , " relay" , " identify" , " kad" , " noise " , " macros" , " ping" , " yamux" , " serde" , " request-response" , " json" , " cbor" , " rendezvous" , " wasm-bindgen" ], workspace = true }
172
+ libp2p-webrtc-websys = { workspace = true , optional = true }
157
173
send_wrapper.workspace = true
158
174
serde-wasm-bindgen.workspace = true
159
175
tokio = { default-features = false , features = [" sync" , " macros" ], workspace = true }
0 commit comments