Skip to content

Commit

Permalink
chore(mdns): remove deprecated items
Browse files Browse the repository at this point in the history
Related: #3647.

Pull-Request: #3699.
  • Loading branch information
umgefahren authored May 2, 2023
1 parent 02d8715 commit 30d2c75
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 19 deletions.
2 changes: 2 additions & 0 deletions protocols/mdns/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@

- Raise MSRV to 1.65.
See [PR 3715].
- Remove deprecated `Mdns` prefixed items. See [PR 3699].

[PR 3621]: https://github.com/libp2p/rust-libp2p/pull/3621
[PR 3715]: https://github.com/libp2p/rust-libp2p/pull/3715
[PR 3699]: https://github.com/libp2p/rust-libp2p/pull/3699

## 0.43.1

Expand Down
19 changes: 0 additions & 19 deletions protocols/mdns/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,25 +38,6 @@
use std::net::{Ipv4Addr, Ipv6Addr};
use std::time::Duration;

#[deprecated(
since = "0.42.0",
note = "Use re-exports that omit `Mdns` prefix, i.e. `libp2p::mdns::Config`"
)]
pub type MdnsConfig = Config;

#[deprecated(
since = "0.42.0",
note = "Use re-exports that omit `Mdns` prefix, i.e. `libp2p::mdns::Event`"
)]
pub type MdnsEvent = Event;

#[deprecated(
since = "0.42.0",
note = "Use the async-io prefixed `Mdns`, i.e. `libp2p::mdns::async_io::Mdns`"
)]
#[cfg(feature = "async-io")]
pub type Mdns = async_io::Behaviour;

mod behaviour;
pub use crate::behaviour::{Behaviour, Event};

Expand Down

0 comments on commit 30d2c75

Please sign in to comment.