From 3e5f64345beaea3fe391442f4e090e289436304d Mon Sep 17 00:00:00 2001 From: Hannes <55623006+umgefahren@users.noreply.github.com> Date: Tue, 2 May 2023 15:15:34 +0200 Subject: [PATCH] chore(identify): remove deprecated items Related: https://github.com/libp2p/rust-libp2p/issues/3647. Pull-Request: #3698. --- protocols/identify/CHANGELOG.md | 2 ++ protocols/identify/src/lib.rs | 21 --------------------- 2 files changed, 2 insertions(+), 21 deletions(-) diff --git a/protocols/identify/CHANGELOG.md b/protocols/identify/CHANGELOG.md index aaf31686..d05e63a5 100644 --- a/protocols/identify/CHANGELOG.md +++ b/protocols/identify/CHANGELOG.md @@ -1,8 +1,10 @@ ## 0.43.0 - unreleased +- Remove deprecated `Identify` prefixed symbols. See [PR 3698]. - Raise MSRV to 1.65. See [PR 3715]. +[PR 3698]: https://github.com/libp2p/rust-libp2p/pull/3698 [PR 3715]: https://github.com/libp2p/rust-libp2p/pull/3715 ## 0.42.2 diff --git a/protocols/identify/src/lib.rs b/protocols/identify/src/lib.rs index f7a4a1ec..34928d5d 100644 --- a/protocols/identify/src/lib.rs +++ b/protocols/identify/src/lib.rs @@ -44,27 +44,6 @@ pub use self::behaviour::{Behaviour, Config, Event}; pub use self::protocol::{Info, UpgradeError, PROTOCOL_NAME, PUSH_PROTOCOL_NAME}; -#[deprecated( - since = "0.40.0", - note = "Use re-exports that omit `Identify` prefix, i.e. `libp2p_identify::Config`" -)] -pub type IdentifyConfig = Config; - -#[deprecated( - since = "0.40.0", - note = "Use re-exports that omit `Identify` prefix, i.e. `libp2p_identify::Event`" -)] -pub type IdentifyEvent = Event; - -#[deprecated(since = "0.40.0", note = "Use libp2p_identify::Behaviour instead.")] -pub type Identify = Behaviour; - -#[deprecated( - since = "0.40.0", - note = "Use re-exports that omit `Identify` prefix, i.e. `libp2p_identify::Info`" -)] -pub type IdentifyInfo = Info; - mod behaviour; mod handler; mod protocol;