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.
This commit is contained in:
Max Inden 2021-03-17 16:36:19 +01:00
parent 0934b0178d
commit 16018643cf
No known key found for this signature in database
GPG Key ID: 888449134FDBF31A
3 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,7 @@
# 0.28.1 [2021-03-17]
- Update `paritytech-multiaddr` to `>=v0.11.2`.
# 0.28.0 [2021-03-17] # 0.28.0 [2021-03-17]
- `Network::dial()` understands `/p2p` addresses and `Transport::dial` - `Network::dial()` understands `/p2p` addresses and `Transport::dial`

View File

@ -2,7 +2,7 @@
name = "libp2p-core" name = "libp2p-core"
edition = "2018" edition = "2018"
description = "Core traits and structs of libp2p" description = "Core traits and structs of libp2p"
version = "0.28.0" version = "0.28.1"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
license = "MIT" license = "MIT"
repository = "https://github.com/libp2p/rust-libp2p" repository = "https://github.com/libp2p/rust-libp2p"
@ -20,7 +20,7 @@ futures-timer = "3"
lazy_static = "1.2" lazy_static = "1.2"
libsecp256k1 = { version = "0.3.1", optional = true } libsecp256k1 = { version = "0.3.1", optional = true }
log = "0.4" 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"] } multihash = { version = "0.13", default-features = false, features = ["std", "multihash-impl", "identity", "sha2"] }
multistream-select = { version = "0.10", path = "../misc/multistream-select" } multistream-select = { version = "0.10", path = "../misc/multistream-select" }
parking_lot = "0.11.0" parking_lot = "0.11.0"

View File

@ -10,7 +10,7 @@ keywords = ["peer-to-peer", "libp2p", "networking"]
categories = ["network-programming", "asynchronous"] categories = ["network-programming", "asynchronous"]
[dependencies] [dependencies]
libp2p-core = { version = "0.28.0", path = "../../core" } libp2p-core = { version = "0.28.1", path = "../../core" }
log = "0.4.1" log = "0.4.1"
futures = "0.3.1" futures = "0.3.1"
trust-dns-resolver = { version = "0.20", default-features = false, features = ["system-config"] } trust-dns-resolver = { version = "0.20", default-features = false, features = ["system-config"] }