mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-24 15:21:33 +00:00
chore(mdns): remove deprecated items
Related: https://github.com/libp2p/rust-libp2p/issues/3647. Pull-Request: #3699.
This commit is contained in:
@ -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};
|
||||
|
||||
|
Reference in New Issue
Block a user