diff --git a/protocols/kad/CHANGELOG.md b/protocols/kad/CHANGELOG.md index 79b7c9f71db..3cf725e61e3 100644 --- a/protocols/kad/CHANGELOG.md +++ b/protocols/kad/CHANGELOG.md @@ -6,6 +6,9 @@ See [PR 4503](https://github.com/libp2p/rust-libp2p/pull/4503). - Make previously "deprecated" `record` module private. See [PR 4035](https://github.com/libp2p/rust-libp2p/pull/4035). +- Remove previously deprecated type-aliases. + Users should follow the convention of importing the `libp2p::kad` module and referring to symbols as `kad::Behaviour` etc. + See [PR 4733](https://github.com/libp2p/rust-libp2p/pull/4733). ## 0.44.6 diff --git a/protocols/kad/src/lib.rs b/protocols/kad/src/lib.rs index d78644913da..519b67f9d7a 100644 --- a/protocols/kad/src/lib.rs +++ b/protocols/kad/src/lib.rs @@ -106,30 +106,3 @@ pub const PROTOCOL_NAME: StreamProtocol = protocol::DEFAULT_PROTO_NAME; /// Constant shared across tests for the [`Multihash`](libp2p_core::multihash::Multihash) type. #[cfg(test)] const SHA_256_MH: u64 = 0x12; - -#[deprecated(note = "Import the `kad` module instead and refer to this type as `kad::Behaviour`.")] -pub type Kademlia = Behaviour; - -#[deprecated( - note = "Import the `kad` module instead and refer to this type as `kad::BucketInserts`." -)] -pub type KademliaBucketInserts = BucketInserts; - -#[deprecated( - note = "Import the `kad` module instead and refer to this type as `kad::StoreInserts`." -)] -pub type KademliaStoreInserts = StoreInserts; - -#[deprecated(note = "Import the `kad` module instead and refer to this type as `kad::Config`.")] -pub type KademliaConfig = Config; - -#[deprecated(note = "Import the `kad` module instead and refer to this type as `kad::Caching`.")] -pub type KademliaCaching = Caching; - -#[deprecated(note = "Import the `kad` module instead and refer to this type as `kad::Event`.")] -pub type KademliaEvent = Event; - -#[deprecated( - note = "Import the `kad` module instead and refer to this type as `kad::ConnectionType`." -)] -pub type KadConnectionType = ConnectionType;