@@ -11,32 +11,30 @@ keywords = ["peer-to-peer", "libp2p", "networking"]
11
11
categories = [" network-programming" , " asynchronous" ]
12
12
13
13
[features ]
14
+ dcutr = [" libp2p-dcutr" ]
14
15
gossipsub = [" libp2p-gossipsub" ]
15
16
identify = [" libp2p-identify" ]
16
17
kad = [" libp2p-kad" ]
17
18
ping = [" libp2p-ping" ]
18
19
relay = [" libp2p-relay" ]
19
- dcutr = [" libp2p-dcutr" ]
20
20
21
21
[dependencies ]
22
22
instant = " 0.1.12"
23
23
libp2p-core = { workspace = true }
24
24
libp2p-dcutr = { workspace = true , optional = true }
25
+ libp2p-gossipsub = { workspace = true , optional = true }
25
26
libp2p-identify = { workspace = true , optional = true }
27
+ libp2p-identity = { workspace = true }
26
28
libp2p-kad = { workspace = true , optional = true }
27
29
libp2p-ping = { workspace = true , optional = true }
28
30
libp2p-relay = { workspace = true , optional = true }
29
31
libp2p-swarm = { workspace = true }
30
- libp2p-identity = { workspace = true }
31
- prometheus-client = { version = " 0.21.2" }
32
32
once_cell = " 1.18.0"
33
-
34
- [target .'cfg(not(target_os = "unknown"))' .dependencies ]
35
- libp2p-gossipsub = { workspace = true , optional = true }
33
+ prometheus-client = { version = " 0.21.2" }
36
34
37
35
# Passing arguments to the docsrs builder in order to properly document cfg's.
38
36
# More information: https://docs.rs/about/builds#cross-compiling
39
37
[package .metadata .docs .rs ]
40
38
all-features = true
41
- rustdoc-args = [" --cfg" , " docsrs" ]
42
39
rustc-args = [" --cfg" , " docsrs" ]
40
+ rustdoc-args = [" --cfg" , " docsrs" ]
0 commit comments