mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-29 17:51:35 +00:00
chore(identify): remove deprecated items
Related: https://github.com/libp2p/rust-libp2p/issues/3647. Pull-Request: #3698.
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user