File tree Expand file tree Collapse file tree 2 files changed +3
-27
lines changed Expand file tree Collapse file tree 2 files changed +3
-27
lines changed Original file line number Diff line number Diff line change 66 See [ PR 4503] ( https://github.com/libp2p/rust-libp2p/pull/4503 ) .
77- Make previously "deprecated" ` record ` module private.
88 See [ PR 4035] ( https://github.com/libp2p/rust-libp2p/pull/4035 ) .
9+ - Remove previously deprecated type-aliases.
10+ Users should follow the convention of importing the ` libp2p::kad ` module and referring to symbols as ` kad::Behaviour ` etc.
11+ See [ PR 4733] ( https://github.com/libp2p/rust-libp2p/pull/4733 ) .
912
1013## 0.44.6
1114
Original file line number Diff line number Diff line change @@ -106,30 +106,3 @@ pub const PROTOCOL_NAME: StreamProtocol = protocol::DEFAULT_PROTO_NAME;
106106/// Constant shared across tests for the [`Multihash`](libp2p_core::multihash::Multihash) type.
107107#[ cfg( test) ]
108108const SHA_256_MH : u64 = 0x12 ;
109-
110- #[ deprecated( note = "Import the `kad` module instead and refer to this type as `kad::Behaviour`." ) ]
111- pub type Kademlia < TStore > = Behaviour < TStore > ;
112-
113- #[ deprecated(
114- note = "Import the `kad` module instead and refer to this type as `kad::BucketInserts`."
115- ) ]
116- pub type KademliaBucketInserts = BucketInserts ;
117-
118- #[ deprecated(
119- note = "Import the `kad` module instead and refer to this type as `kad::StoreInserts`."
120- ) ]
121- pub type KademliaStoreInserts = StoreInserts ;
122-
123- #[ deprecated( note = "Import the `kad` module instead and refer to this type as `kad::Config`." ) ]
124- pub type KademliaConfig = Config ;
125-
126- #[ deprecated( note = "Import the `kad` module instead and refer to this type as `kad::Caching`." ) ]
127- pub type KademliaCaching = Caching ;
128-
129- #[ deprecated( note = "Import the `kad` module instead and refer to this type as `kad::Event`." ) ]
130- pub type KademliaEvent = Event ;
131-
132- #[ deprecated(
133- note = "Import the `kad` module instead and refer to this type as `kad::ConnectionType`."
134- ) ]
135- pub type KadConnectionType = ConnectionType ;
You can’t perform that action at this time.
0 commit comments