2
2
name = " libp2p-mdns"
3
3
edition.workspace = true
4
4
rust-version = { workspace = true }
5
- version = " 0.47 .0"
5
+ version = " 0.48 .0"
6
6
description = " Implementation of the libp2p mDNS discovery method"
7
7
authors = [
" Parity Technologies <[email protected] >" ]
8
8
license = " MIT"
@@ -11,8 +11,6 @@ keywords = ["peer-to-peer", "libp2p", "networking"]
11
11
categories = [" network-programming" , " asynchronous" ]
12
12
13
13
[dependencies ]
14
- async-std = { version = " 1.12.0" , optional = true }
15
- async-io = { version = " 2.3.3" , optional = true }
16
14
futures = { workspace = true }
17
15
if-watch = { workspace = true }
18
16
libp2p-core = { workspace = true }
@@ -21,25 +19,19 @@ libp2p-identity = { workspace = true }
21
19
rand = " 0.8.3"
22
20
smallvec = " 1.13.2"
23
21
socket2 = { version = " 0.5.7" , features = [" all" ] }
24
- tokio = { workspace = true , default-features = false , features = [" net" , " time" ], optional = true }
22
+ tokio = { workspace = true , default-features = false , features = [" net" , " time" ], optional = true }
25
23
tracing = { workspace = true }
26
24
hickory-proto = { workspace = true , features = [" mdns" ] }
27
25
28
26
[features ]
29
27
tokio = [" dep:tokio" , " if-watch/tokio" ]
30
- async-io = [" dep:async-io" , " dep:async-std" , " if-watch/smol" ]
31
28
32
29
[dev-dependencies ]
33
- async-std = { version = " 1.9.0" , features = [" attributes" ] }
34
- libp2p-swarm = { workspace = true , features = [" tokio" , " async-std" ] }
30
+ libp2p-swarm = { workspace = true , features = [" tokio" ] }
35
31
tokio = { workspace = true , features = [" macros" , " rt" , " rt-multi-thread" , " time" ] }
36
32
libp2p-swarm-test = { path = " ../../swarm-test" }
37
33
tracing-subscriber = { workspace = true , features = [" env-filter" ] }
38
34
39
- [[test ]]
40
- name = " use-async-std"
41
- required-features = [" async-io" , " libp2p-swarm-test/async-std" ]
42
-
43
35
[[test ]]
44
36
name = " use-tokio"
45
37
required-features = [" tokio" , " libp2p-swarm-test/tokio" ]
0 commit comments