Skip to content

Commit 30d2c75

Browse files
authored
chore(mdns): remove deprecated items
Related: #3647. Pull-Request: #3699.
1 parent 02d8715 commit 30d2c75

File tree

2 files changed

+2
-19
lines changed

2 files changed

+2
-19
lines changed

protocols/mdns/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,11 @@
55

66
- Raise MSRV to 1.65.
77
See [PR 3715].
8+
- Remove deprecated `Mdns` prefixed items. See [PR 3699].
89

910
[PR 3621]: https://github.com/libp2p/rust-libp2p/pull/3621
1011
[PR 3715]: https://github.com/libp2p/rust-libp2p/pull/3715
12+
[PR 3699]: https://github.com/libp2p/rust-libp2p/pull/3699
1113

1214
## 0.43.1
1315

protocols/mdns/src/lib.rs

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -38,25 +38,6 @@
3838
use std::net::{Ipv4Addr, Ipv6Addr};
3939
use std::time::Duration;
4040

41-
#[deprecated(
42-
since = "0.42.0",
43-
note = "Use re-exports that omit `Mdns` prefix, i.e. `libp2p::mdns::Config`"
44-
)]
45-
pub type MdnsConfig = Config;
46-
47-
#[deprecated(
48-
since = "0.42.0",
49-
note = "Use re-exports that omit `Mdns` prefix, i.e. `libp2p::mdns::Event`"
50-
)]
51-
pub type MdnsEvent = Event;
52-
53-
#[deprecated(
54-
since = "0.42.0",
55-
note = "Use the async-io prefixed `Mdns`, i.e. `libp2p::mdns::async_io::Mdns`"
56-
)]
57-
#[cfg(feature = "async-io")]
58-
pub type Mdns = async_io::Behaviour;
59-
6041
mod behaviour;
6142
pub use crate::behaviour::{Behaviour, Event};
6243

0 commit comments

Comments
 (0)