mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-24 23:31: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:
@ -5,9 +5,11 @@
|
|||||||
|
|
||||||
- Raise MSRV to 1.65.
|
- Raise MSRV to 1.65.
|
||||||
See [PR 3715].
|
See [PR 3715].
|
||||||
|
- Remove deprecated `Mdns` prefixed items. See [PR 3699].
|
||||||
|
|
||||||
[PR 3621]: https://github.com/libp2p/rust-libp2p/pull/3621
|
[PR 3621]: https://github.com/libp2p/rust-libp2p/pull/3621
|
||||||
[PR 3715]: https://github.com/libp2p/rust-libp2p/pull/3715
|
[PR 3715]: https://github.com/libp2p/rust-libp2p/pull/3715
|
||||||
|
[PR 3699]: https://github.com/libp2p/rust-libp2p/pull/3699
|
||||||
|
|
||||||
## 0.43.1
|
## 0.43.1
|
||||||
|
|
||||||
|
@ -38,25 +38,6 @@
|
|||||||
use std::net::{Ipv4Addr, Ipv6Addr};
|
use std::net::{Ipv4Addr, Ipv6Addr};
|
||||||
use std::time::Duration;
|
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;
|
mod behaviour;
|
||||||
pub use crate::behaviour::{Behaviour, Event};
|
pub use crate::behaviour::{Behaviour, Event};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user