From 16018643cfbb4be25e14ed6b98556996c450f110 Mon Sep 17 00:00:00 2001 From: Max Inden Date: Wed, 17 Mar 2021 16:36:19 +0100 Subject: [PATCH] core/: Prepare libp2p-core v0.28.1 incl multiaddr v0.11.2 libp2p-dns requires a new feature in parity-multiaddr v0.11.2 namely Multiaddr::ends_with. libp2p-dns does not depend on parity-multiaddr directly but through libp2p-core. Prepare a new version of libp2p-core requiring at least parity-multiaddr v0.11.2 and update libp2p-dns to require libp2p-core v0.28.1. --- core/CHANGELOG.md | 4 ++++ core/Cargo.toml | 4 ++-- transports/dns/Cargo.toml | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/core/CHANGELOG.md b/core/CHANGELOG.md index e8dc5177..927e14dc 100644 --- a/core/CHANGELOG.md +++ b/core/CHANGELOG.md @@ -1,3 +1,7 @@ +# 0.28.1 [2021-03-17] + +- Update `paritytech-multiaddr` to `>=v0.11.2`. + # 0.28.0 [2021-03-17] - `Network::dial()` understands `/p2p` addresses and `Transport::dial` diff --git a/core/Cargo.toml b/core/Cargo.toml index 83f12d2b..f863a687 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -2,7 +2,7 @@ name = "libp2p-core" edition = "2018" description = "Core traits and structs of libp2p" -version = "0.28.0" +version = "0.28.1" authors = ["Parity Technologies "] license = "MIT" repository = "https://github.com/libp2p/rust-libp2p" @@ -20,7 +20,7 @@ futures-timer = "3" lazy_static = "1.2" libsecp256k1 = { version = "0.3.1", optional = true } log = "0.4" -multiaddr = { package = "parity-multiaddr", version = "0.11", path = "../misc/multiaddr" } +multiaddr = { package = "parity-multiaddr", version = "0.11.2", path = "../misc/multiaddr" } multihash = { version = "0.13", default-features = false, features = ["std", "multihash-impl", "identity", "sha2"] } multistream-select = { version = "0.10", path = "../misc/multistream-select" } parking_lot = "0.11.0" diff --git a/transports/dns/Cargo.toml b/transports/dns/Cargo.toml index c6510309..327ea1c7 100644 --- a/transports/dns/Cargo.toml +++ b/transports/dns/Cargo.toml @@ -10,7 +10,7 @@ keywords = ["peer-to-peer", "libp2p", "networking"] categories = ["network-programming", "asynchronous"] [dependencies] -libp2p-core = { version = "0.28.0", path = "../../core" } +libp2p-core = { version = "0.28.1", path = "../../core" } log = "0.4.1" futures = "0.3.1" trust-dns-resolver = { version = "0.20", default-features = false, features = ["system-config"] }