From a430e6bffc9d1d25c3f6dbace1b8f73e8bcd5225 Mon Sep 17 00:00:00 2001 From: Max Inden Date: Fri, 15 Oct 2021 15:30:16 +0200 Subject: [PATCH] protocols/kad: Export KademliaBucketInserts (#2294) --- CHANGELOG.md | 6 ++++++ Cargo.toml | 4 ++-- protocols/kad/CHANGELOG.md | 6 ++++++ protocols/kad/Cargo.toml | 2 +- protocols/kad/src/lib.rs | 3 ++- 5 files changed, 17 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4a64d537..db0ca108 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -42,6 +42,12 @@ # `libp2p` facade crate + +## Version 0.40.0-rc.2 [2021-10-15] + +- Update individual crates. + - `libp2p-kad` + ## Version 0.40.0-rc.1 [2021-10-15] - Update individual crates. diff --git a/Cargo.toml b/Cargo.toml index 5152e012..4ab8a15d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,7 @@ name = "libp2p" edition = "2018" description = "Peer-to-peer networking library" -version = "0.40.0-rc.1" +version = "0.40.0-rc.2" authors = ["Parity Technologies "] license = "MIT" repository = "https://github.com/libp2p/rust-libp2p" @@ -72,7 +72,7 @@ libp2p-core = { version = "0.30.0-rc.1", path = "core", default-features = fals libp2p-floodsub = { version = "0.31.0-rc.1", path = "protocols/floodsub", optional = true } libp2p-gossipsub = { version = "0.33.0-rc.1", path = "./protocols/gossipsub", optional = true } libp2p-identify = { version = "0.31.0-rc.1", path = "protocols/identify", optional = true } -libp2p-kad = { version = "0.32.0-rc.1", path = "protocols/kad", optional = true } +libp2p-kad = { version = "0.32.0-rc.2", path = "protocols/kad", optional = true } libp2p-metrics = { version = "0.1.0-rc.1", path = "misc/metrics", optional = true } libp2p-mplex = { version = "0.30.0-rc.1", path = "muxers/mplex", optional = true } libp2p-noise = { version = "0.33.0-rc.1", path = "transports/noise", optional = true } diff --git a/protocols/kad/CHANGELOG.md b/protocols/kad/CHANGELOG.md index d746459a..b4ebf2f6 100644 --- a/protocols/kad/CHANGELOG.md +++ b/protocols/kad/CHANGELOG.md @@ -1,3 +1,9 @@ +# 0.32.0-rc.2 [2021-10-15] + +- Export `KademliaBucketInserts` (see [PR 2294]). + +[PR 2294]: https://github.com/libp2p/rust-libp2p/pull/2294 + # 0.32.0-rc.1 [2021-10-15] - Make default features of `libp2p-core` optional. diff --git a/protocols/kad/Cargo.toml b/protocols/kad/Cargo.toml index f67c6151..353943a2 100644 --- a/protocols/kad/Cargo.toml +++ b/protocols/kad/Cargo.toml @@ -2,7 +2,7 @@ name = "libp2p-kad" edition = "2018" description = "Kademlia protocol for libp2p" -version = "0.32.0-rc.1" +version = "0.32.0-rc.2" authors = ["Parity Technologies "] license = "MIT" repository = "https://github.com/libp2p/rust-libp2p" diff --git a/protocols/kad/src/lib.rs b/protocols/kad/src/lib.rs index 3b8a0d21..d8734ec0 100644 --- a/protocols/kad/src/lib.rs +++ b/protocols/kad/src/lib.rs @@ -48,7 +48,8 @@ pub use behaviour::{ QueryStats, }; pub use behaviour::{ - Kademlia, KademliaCaching, KademliaConfig, KademliaEvent, KademliaStoreInserts, Quorum, + Kademlia, KademliaBucketInserts, KademliaCaching, KademliaConfig, KademliaEvent, + KademliaStoreInserts, Quorum, }; pub use protocol::KadConnectionType; pub use query::QueryId;