chore(mdns): remove deprecated items

Related: https://github.com/libp2p/rust-libp2p/issues/3647.

Pull-Request: #3699.
This commit is contained in:
Hannes
2023-05-02 13:32:28 +02:00
committed by GitHub
parent 02d87155a5
commit 30d2c75206
2 changed files with 2 additions and 19 deletions

View File

@ -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};