chore(identify): remove deprecated items

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

Pull-Request: #3698.
This commit is contained in:
Hannes
2023-05-02 15:15:34 +02:00
committed by GitHub
parent 4ca888580c
commit 3e5f64345b
2 changed files with 2 additions and 21 deletions

View File

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