mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-07-31 08:51:57 +00:00
chore: leverage cargo
's workspace inheritance
Previously, we would specify the version and path of our workspace dependencies in each of our crates. This is error prone as https://github.com/libp2p/rust-libp2p/pull/3658#discussion_r1153278072 for example shows. Problems like these happened in the past too. There is no need for us to ever depend on a earlier version than the most current one in our crates. It thus makes sense that we manage this version in a single place. Cargo supports a feature called "workspace inheritance" which allows us to share a dependency declaration across a workspace and inherit it with `{ workspace = true }`. We do this for all our workspace dependencies and for the MSRV. Resolves #3787. Pull-Request: #3715.
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
## 0.11.0 - unreleased
|
||||
|
||||
- Raise MSRV to 1.65.
|
||||
See [PR 3715].
|
||||
|
||||
[PR 3715]: https://github.com/libp2p/rust-libp2p/pull/3715
|
||||
|
||||
## 0.10.2
|
||||
|
||||
- Store server `PeerId`s in `HashSet` to avoid duplicates and lower memory consumption.
|
||||
|
@@ -1,9 +1,9 @@
|
||||
[package]
|
||||
name = "libp2p-autonat"
|
||||
edition = "2021"
|
||||
rust-version = "1.62.0"
|
||||
rust-version = { workspace = true }
|
||||
description = "NAT and firewall detection for libp2p"
|
||||
version = "0.10.2"
|
||||
version = "0.11.0"
|
||||
authors = ["David Craven <david@craven.ch>", "Elena Frank <elena.frank@protonmail.com>"]
|
||||
license = "MIT"
|
||||
repository = "https://github.com/libp2p/rust-libp2p"
|
||||
@@ -15,10 +15,10 @@ async-trait = "0.1"
|
||||
futures = "0.3"
|
||||
futures-timer = "3.0"
|
||||
instant = "0.1"
|
||||
libp2p-core = { version = "0.39.0", path = "../../core" }
|
||||
libp2p-swarm = { version = "0.42.1", path = "../../swarm" }
|
||||
libp2p-request-response = { version = "0.24.0", path = "../request-response" }
|
||||
libp2p-identity = { version = "0.1.0", path = "../../identity" }
|
||||
libp2p-core = { workspace = true }
|
||||
libp2p-swarm = { workspace = true }
|
||||
libp2p-request-response = { workspace = true }
|
||||
libp2p-identity = { workspace = true }
|
||||
log = "0.4"
|
||||
rand = "0.8"
|
||||
quick-protobuf = "0.8"
|
||||
@@ -26,7 +26,7 @@ quick-protobuf = "0.8"
|
||||
[dev-dependencies]
|
||||
async-std = { version = "1.10", features = ["attributes"] }
|
||||
env_logger = "0.10"
|
||||
libp2p-swarm-test = { path = "../../swarm-test" }
|
||||
libp2p-swarm-test = { workspace = true }
|
||||
|
||||
# Passing arguments to the docsrs builder in order to properly document cfg's.
|
||||
# More information: https://docs.rs/about/builds#cross-compiling
|
||||
|
@@ -1,3 +1,10 @@
|
||||
## 0.10.0 - unreleased
|
||||
|
||||
- Raise MSRV to 1.65.
|
||||
See [PR 3715].
|
||||
|
||||
[PR 3715]: https://github.com/libp2p/rust-libp2p/pull/3715
|
||||
|
||||
## 0.9.1
|
||||
|
||||
- Migrate from `prost` to `quick-protobuf`. This removes `protoc` dependency. See [PR 3312].
|
||||
|
@@ -1,9 +1,9 @@
|
||||
[package]
|
||||
name = "libp2p-dcutr"
|
||||
edition = "2021"
|
||||
rust-version = "1.62.0"
|
||||
rust-version = { workspace = true }
|
||||
description = "Direct connection upgrade through relay"
|
||||
version = "0.9.1"
|
||||
version = "0.10.0"
|
||||
authors = ["Max Inden <mail@max-inden.de>"]
|
||||
license = "MIT"
|
||||
repository = "https://github.com/libp2p/rust-libp2p"
|
||||
@@ -16,12 +16,12 @@ either = "1.6.0"
|
||||
futures = "0.3.28"
|
||||
futures-timer = "3.0"
|
||||
instant = "0.1.11"
|
||||
libp2p-core = { version = "0.39.0", path = "../../core" }
|
||||
libp2p-swarm = { version = "0.42.1", path = "../../swarm" }
|
||||
libp2p-identity = { version = "0.1.0", path = "../../identity" }
|
||||
libp2p-core = { workspace = true }
|
||||
libp2p-swarm = { workspace = true }
|
||||
libp2p-identity = { workspace = true }
|
||||
log = "0.4"
|
||||
quick-protobuf = "0.8"
|
||||
quick-protobuf-codec = { version = "0.1", path = "../../misc/quick-protobuf-codec" }
|
||||
quick-protobuf-codec = { workspace = true }
|
||||
thiserror = "1.0"
|
||||
void = "1"
|
||||
|
||||
@@ -29,16 +29,16 @@ void = "1"
|
||||
async-std = { version = "1.12.0", features = ["attributes"] }
|
||||
clap = { version = "4.2.5", features = ["derive"] }
|
||||
env_logger = "0.10.0"
|
||||
libp2p-dns = { path = "../../transports/dns", features = ["async-std"] }
|
||||
libp2p-identify = { path = "../../protocols/identify" }
|
||||
libp2p-noise = { path = "../../transports/noise" }
|
||||
libp2p-ping = { path = "../../protocols/ping" }
|
||||
libp2p-plaintext = { path = "../../transports/plaintext" }
|
||||
libp2p-relay = { path = "../relay" }
|
||||
libp2p-swarm = { path = "../../swarm", features = ["macros"] }
|
||||
libp2p-swarm-test = { path = "../../swarm-test"}
|
||||
libp2p-tcp = { path = "../../transports/tcp", features = ["async-io"] }
|
||||
libp2p-yamux = { path = "../../muxers/yamux" }
|
||||
libp2p-dns = { workspace = true, features = ["async-std"] }
|
||||
libp2p-identify = { workspace = true }
|
||||
libp2p-noise = { workspace = true }
|
||||
libp2p-ping = { workspace = true }
|
||||
libp2p-plaintext = { workspace = true }
|
||||
libp2p-relay = { workspace = true }
|
||||
libp2p-swarm = { workspace = true, features = ["macros"] }
|
||||
libp2p-swarm-test = { workspace = true }
|
||||
libp2p-tcp = { workspace = true, features = ["async-io"] }
|
||||
libp2p-yamux = { workspace = true }
|
||||
rand = "0.8"
|
||||
|
||||
# Passing arguments to the docsrs builder in order to properly document cfg's.
|
||||
|
@@ -1,3 +1,10 @@
|
||||
## 0.43.0 - unreleased
|
||||
|
||||
- Raise MSRV to 1.65.
|
||||
See [PR 3715].
|
||||
|
||||
[PR 3715]: https://github.com/libp2p/rust-libp2p/pull/3715
|
||||
|
||||
## 0.42.1
|
||||
|
||||
- Migrate from `prost` to `quick-protobuf`. This removes `protoc` dependency. See [PR 3312].
|
||||
|
@@ -1,9 +1,9 @@
|
||||
[package]
|
||||
name = "libp2p-floodsub"
|
||||
edition = "2021"
|
||||
rust-version = "1.62.0"
|
||||
rust-version = { workspace = true }
|
||||
description = "Floodsub protocol for libp2p"
|
||||
version = "0.42.1"
|
||||
version = "0.43.0"
|
||||
authors = ["Parity Technologies <admin@parity.io>"]
|
||||
license = "MIT"
|
||||
repository = "https://github.com/libp2p/rust-libp2p"
|
||||
@@ -15,12 +15,12 @@ asynchronous-codec = "0.6"
|
||||
cuckoofilter = "0.5.0"
|
||||
fnv = "1.0"
|
||||
futures = "0.3.28"
|
||||
libp2p-core = { version = "0.39.0", path = "../../core" }
|
||||
libp2p-swarm = { version = "0.42.1", path = "../../swarm" }
|
||||
libp2p-identity = { version = "0.1.0", path = "../../identity" }
|
||||
libp2p-core = { workspace = true }
|
||||
libp2p-swarm = { workspace = true }
|
||||
libp2p-identity = { workspace = true }
|
||||
log = "0.4"
|
||||
quick-protobuf = "0.8"
|
||||
quick-protobuf-codec = { version = "0.1", path = "../../misc/quick-protobuf-codec" }
|
||||
quick-protobuf-codec = { workspace = true }
|
||||
rand = "0.8"
|
||||
smallvec = "1.6.1"
|
||||
thiserror = "1.0.40"
|
||||
|
@@ -1,3 +1,10 @@
|
||||
## 0.45.0 - unreleased
|
||||
|
||||
- Raise MSRV to 1.65.
|
||||
See [PR 3715].
|
||||
|
||||
[PR 3715]: https://github.com/libp2p/rust-libp2p/pull/3715
|
||||
|
||||
## 0.44.4
|
||||
|
||||
- Deprecate `metrics`, `protocol`, `subscription_filter`, `time_cache` modules to make them private. See [PR 3777].
|
||||
|
@@ -1,9 +1,9 @@
|
||||
[package]
|
||||
name = "libp2p-gossipsub"
|
||||
edition = "2021"
|
||||
rust-version = "1.62.0"
|
||||
rust-version = { workspace = true }
|
||||
description = "Gossipsub protocol for libp2p"
|
||||
version = "0.44.4"
|
||||
version = "0.45.0"
|
||||
authors = ["Age Manning <Age@AgeManning.com>"]
|
||||
license = "MIT"
|
||||
repository = "https://github.com/libp2p/rust-libp2p"
|
||||
@@ -12,9 +12,9 @@ categories = ["network-programming", "asynchronous"]
|
||||
|
||||
[dependencies]
|
||||
either = "1.5"
|
||||
libp2p-swarm = { version = "0.42.2", path = "../../swarm" }
|
||||
libp2p-core = { version = "0.39.0", path = "../../core" }
|
||||
libp2p-identity = { version = "0.1.2", path = "../../identity" }
|
||||
libp2p-swarm = { workspace = true }
|
||||
libp2p-core = { workspace = true }
|
||||
libp2p-identity = { workspace = true }
|
||||
bytes = "1.4"
|
||||
byteorder = "1.3.4"
|
||||
fnv = "1.0.7"
|
||||
@@ -27,7 +27,7 @@ sha2 = "0.10.0"
|
||||
base64 = "0.21.0"
|
||||
smallvec = "1.6.1"
|
||||
quick-protobuf = "0.8"
|
||||
quick-protobuf-codec = { version = "0.1", path = "../../misc/quick-protobuf-codec" }
|
||||
quick-protobuf-codec = { workspace = true }
|
||||
hex_fmt = "0.3.0"
|
||||
regex = "1.8.1"
|
||||
serde = { version = "1", optional = true, features = ["derive"] }
|
||||
@@ -42,11 +42,11 @@ prometheus-client = "0.19.0"
|
||||
async-std = { version = "1.6.3", features = ["unstable"] }
|
||||
env_logger = "0.10.0"
|
||||
hex = "0.4.2"
|
||||
libp2p-core = { path = "../../core"}
|
||||
libp2p-mplex = { path = "../../muxers/mplex"}
|
||||
libp2p-noise = { path = "../../transports/noise"}
|
||||
libp2p-swarm-test = { path = "../../swarm-test"}
|
||||
quickcheck-ext = { path = "../../misc/quickcheck-ext" }
|
||||
libp2p-core = { workspace = true }
|
||||
libp2p-mplex = { workspace = true }
|
||||
libp2p-noise = { workspace = true }
|
||||
libp2p-swarm-test = { workspace = true }
|
||||
quickcheck = { workspace = true }
|
||||
|
||||
# Passing arguments to the docsrs builder in order to properly document cfg's.
|
||||
# More information: https://docs.rs/about/builds#cross-compiling
|
||||
|
@@ -3709,7 +3709,7 @@ mod local_test {
|
||||
use super::*;
|
||||
use crate::IdentTopic;
|
||||
use asynchronous_codec::Encoder;
|
||||
use quickcheck_ext::*;
|
||||
use quickcheck::*;
|
||||
|
||||
fn empty_rpc() -> Rpc {
|
||||
Rpc {
|
||||
|
@@ -557,7 +557,7 @@ mod tests {
|
||||
use crate::IdentTopic as Topic;
|
||||
use crate::{Behaviour, ConfigBuilder};
|
||||
use libp2p_core::identity::Keypair;
|
||||
use quickcheck_ext::*;
|
||||
use quickcheck::*;
|
||||
|
||||
#[derive(Clone, Debug)]
|
||||
struct Message(RawMessage);
|
||||
|
@@ -26,7 +26,7 @@ use libp2p_gossipsub::{MessageAuthenticity, ValidationMode};
|
||||
use libp2p_swarm::Swarm;
|
||||
use libp2p_swarm_test::SwarmExt as _;
|
||||
use log::debug;
|
||||
use quickcheck_ext::{QuickCheck, TestResult};
|
||||
use quickcheck::{QuickCheck, TestResult};
|
||||
use rand::{seq::SliceRandom, SeedableRng};
|
||||
use std::{task::Poll, time::Duration};
|
||||
|
||||
|
@@ -1,3 +1,10 @@
|
||||
## 0.43.0 - unreleased
|
||||
|
||||
- Raise MSRV to 1.65.
|
||||
See [PR 3715].
|
||||
|
||||
[PR 3715]: https://github.com/libp2p/rust-libp2p/pull/3715
|
||||
|
||||
## 0.42.2
|
||||
|
||||
- Do not implicitly dial a peer upon `identify::Behaviour::push`.
|
||||
|
@@ -1,9 +1,9 @@
|
||||
[package]
|
||||
name = "libp2p-identify"
|
||||
edition = "2021"
|
||||
rust-version = "1.62.0"
|
||||
rust-version = { workspace = true }
|
||||
description = "Nodes identifcation protocol for libp2p"
|
||||
version = "0.42.2"
|
||||
version = "0.43.0"
|
||||
authors = ["Parity Technologies <admin@parity.io>"]
|
||||
license = "MIT"
|
||||
repository = "https://github.com/libp2p/rust-libp2p"
|
||||
@@ -14,12 +14,12 @@ categories = ["network-programming", "asynchronous"]
|
||||
asynchronous-codec = "0.6"
|
||||
futures = "0.3.28"
|
||||
futures-timer = "3.0.2"
|
||||
libp2p-core = { version = "0.39.0", path = "../../core" }
|
||||
libp2p-swarm = { version = "0.42.1", path = "../../swarm" }
|
||||
libp2p-identity = { version = "0.1.2", path = "../../identity" }
|
||||
libp2p-core = { workspace = true }
|
||||
libp2p-swarm = { workspace = true }
|
||||
libp2p-identity = { workspace = true }
|
||||
log = "0.4.1"
|
||||
lru = "0.10.0"
|
||||
quick-protobuf-codec = { version = "0.1", path = "../../misc/quick-protobuf-codec" }
|
||||
quick-protobuf-codec = { workspace = true }
|
||||
quick-protobuf = "0.8"
|
||||
smallvec = "1.6.1"
|
||||
thiserror = "1.0"
|
||||
@@ -29,11 +29,11 @@ either = "1.8.0"
|
||||
[dev-dependencies]
|
||||
async-std = { version = "1.6.2", features = ["attributes"] }
|
||||
env_logger = "0.10"
|
||||
libp2p-mplex = { path = "../../muxers/mplex" }
|
||||
libp2p-yamux = { path = "../../muxers/yamux" }
|
||||
libp2p-noise = { path = "../../transports/noise" }
|
||||
libp2p-swarm = { path = "../../swarm", features = ["async-std"] }
|
||||
libp2p-tcp = { path = "../../transports/tcp", features = ["async-io"] }
|
||||
libp2p-mplex = { workspace = true }
|
||||
libp2p-yamux = { workspace = true }
|
||||
libp2p-noise = { workspace = true }
|
||||
libp2p-swarm = { workspace = true, features = ["async-std"] }
|
||||
libp2p-tcp = { workspace = true, features = ["async-io"] }
|
||||
|
||||
# Passing arguments to the docsrs builder in order to properly document cfg's.
|
||||
# More information: https://docs.rs/about/builds#cross-compiling
|
||||
|
@@ -1,3 +1,10 @@
|
||||
## 0.44.0 - unreleased
|
||||
|
||||
- Raise MSRV to 1.65.
|
||||
See [PR 3715].
|
||||
|
||||
[PR 3715]: https://github.com/libp2p/rust-libp2p/pull/3715
|
||||
|
||||
## 0.43.3
|
||||
|
||||
- Preserve existing `KeepAlive::Until` timeout instead of continuously setting new `KeepAlive::Until(Instant::now() + self.config.idle_timeout)`.
|
||||
|
@@ -3,7 +3,7 @@ name = "libp2p-kad"
|
||||
edition = "2021"
|
||||
rust-version = "1.65.0"
|
||||
description = "Kademlia protocol for libp2p"
|
||||
version = "0.43.3"
|
||||
version = "0.44.0"
|
||||
authors = ["Parity Technologies <admin@parity.io>"]
|
||||
license = "MIT"
|
||||
repository = "https://github.com/libp2p/rust-libp2p"
|
||||
@@ -18,10 +18,10 @@ fnv = "1.0"
|
||||
asynchronous-codec = "0.6"
|
||||
futures = "0.3.28"
|
||||
log = "0.4"
|
||||
libp2p-core = { version = "0.39.0", path = "../../core" }
|
||||
libp2p-swarm = { version = "0.42.1", path = "../../swarm" }
|
||||
libp2p-core = { workspace = true }
|
||||
libp2p-swarm = { workspace = true }
|
||||
quick-protobuf = "0.8"
|
||||
libp2p-identity = { version = "0.1.0", path = "../../identity" }
|
||||
libp2p-identity = { workspace = true }
|
||||
rand = "0.8"
|
||||
sha2 = "0.10.0"
|
||||
smallvec = "1.6.1"
|
||||
@@ -36,9 +36,9 @@ thiserror = "1"
|
||||
[dev-dependencies]
|
||||
env_logger = "0.10.0"
|
||||
futures-timer = "3.0"
|
||||
libp2p-noise = { path = "../../transports/noise" }
|
||||
libp2p-yamux = { path = "../../muxers/yamux" }
|
||||
quickcheck = { package = "quickcheck-ext", path = "../../misc/quickcheck-ext" }
|
||||
libp2p-noise = { workspace = true }
|
||||
libp2p-yamux = { workspace = true }
|
||||
quickcheck = { workspace = true }
|
||||
|
||||
[features]
|
||||
serde = ["dep:serde", "bytes/serde"]
|
||||
|
@@ -1,3 +1,10 @@
|
||||
## 0.44.0 - unreleased
|
||||
|
||||
- Raise MSRV to 1.65.
|
||||
See [PR 3715].
|
||||
|
||||
[PR 3715]: https://github.com/libp2p/rust-libp2p/pull/3715
|
||||
|
||||
## 0.43.1
|
||||
|
||||
- Derive `Clone` for `mdns::Event`. See [PR 3606].
|
||||
|
@@ -1,8 +1,8 @@
|
||||
[package]
|
||||
name = "libp2p-mdns"
|
||||
edition = "2021"
|
||||
rust-version = "1.62.0"
|
||||
version = "0.43.1"
|
||||
rust-version = { workspace = true }
|
||||
version = "0.44.0"
|
||||
description = "Implementation of the libp2p mDNS discovery method"
|
||||
authors = ["Parity Technologies <admin@parity.io>"]
|
||||
license = "MIT"
|
||||
@@ -15,9 +15,9 @@ async-io = { version = "1.13.0", optional = true }
|
||||
data-encoding = "2.3.2"
|
||||
futures = "0.3.28"
|
||||
if-watch = "3.0.1"
|
||||
libp2p-core = { version = "0.39.0", path = "../../core" }
|
||||
libp2p-swarm = { version = "0.42.1", path = "../../swarm" }
|
||||
libp2p-identity = { version = "0.1.0", path = "../../identity" }
|
||||
libp2p-core = { workspace = true }
|
||||
libp2p-swarm = { workspace = true }
|
||||
libp2p-identity = { workspace = true }
|
||||
log = "0.4.14"
|
||||
rand = "0.8.3"
|
||||
smallvec = "1.6.1"
|
||||
@@ -33,12 +33,12 @@ async-io = ["dep:async-io", "if-watch/smol"]
|
||||
[dev-dependencies]
|
||||
async-std = { version = "1.9.0", features = ["attributes"] }
|
||||
env_logger = "0.10.0"
|
||||
libp2p-noise = { path = "../../transports/noise" }
|
||||
libp2p-swarm = { path = "../../swarm", features = ["tokio", "async-std"] }
|
||||
libp2p-tcp = { path = "../../transports/tcp", features = ["tokio", "async-io"] }
|
||||
libp2p-yamux = { path = "../../muxers/yamux" }
|
||||
libp2p-noise = { workspace = true }
|
||||
libp2p-swarm = { workspace = true, features = ["tokio", "async-std"] }
|
||||
libp2p-tcp = { workspace = true, features = ["tokio", "async-io"] }
|
||||
libp2p-yamux = { workspace = true }
|
||||
tokio = { version = "1.28", default-features = false, features = ["macros", "rt", "rt-multi-thread", "time"] }
|
||||
libp2p-swarm-test = { path = "../../swarm-test" }
|
||||
libp2p-swarm-test = { workspace = true }
|
||||
|
||||
[[test]]
|
||||
name = "use-async-std"
|
||||
|
@@ -1,3 +1,10 @@
|
||||
## 0.2.0 - unreleased
|
||||
|
||||
- Raise MSRV to 1.65.
|
||||
See [PR 3715].
|
||||
|
||||
[PR 3715]: https://github.com/libp2p/rust-libp2p/pull/3715
|
||||
|
||||
## 0.1.0
|
||||
|
||||
- Initial release.
|
||||
|
@@ -1,9 +1,9 @@
|
||||
[package]
|
||||
name = "libp2p-perf"
|
||||
edition = "2021"
|
||||
rust-version = "1.64.0"
|
||||
rust-version = { workspace = true }
|
||||
description = "libp2p perf protocol implementation"
|
||||
version = "0.1.0"
|
||||
version = "0.2.0"
|
||||
authors = ["Max Inden <mail@max-inden.de>"]
|
||||
license = "MIT"
|
||||
repository = "https://github.com/libp2p/rust-libp2p"
|
||||
@@ -17,21 +17,21 @@ clap = { version = "4.2.5", features = ["derive"] }
|
||||
env_logger = "0.10.0"
|
||||
futures = "0.3.28"
|
||||
instant = "0.1.11"
|
||||
libp2p-core = { version = "0.39.0", path = "../../core" }
|
||||
libp2p-dns = { version = "0.39.0", path = "../../transports/dns", features = ["async-std"] }
|
||||
libp2p-identity = { version = "0.1.0", path = "../../identity" }
|
||||
libp2p-noise = { version = "0.42.2", path = "../../transports/noise" }
|
||||
libp2p-quic = { version = "0.7.0-alpha.2", path = "../../transports/quic", features = ["async-std"] }
|
||||
libp2p-swarm = { version = "0.42.1", path = "../../swarm", features = ["macros", "async-std"] }
|
||||
libp2p-tcp = { version = "0.39.0", path = "../../transports/tcp", features = ["async-io"] }
|
||||
libp2p-yamux = { version = "0.43.1", path = "../../muxers/yamux" }
|
||||
libp2p-core = { workspace = true }
|
||||
libp2p-dns = { workspace = true, features = ["async-std"] }
|
||||
libp2p-identity = { workspace = true }
|
||||
libp2p-noise = { workspace = true }
|
||||
libp2p-quic = { workspace = true, features = ["async-std"] }
|
||||
libp2p-swarm = { workspace = true, features = ["macros", "async-std"] }
|
||||
libp2p-tcp = { workspace = true, features = ["async-io"] }
|
||||
libp2p-yamux = { workspace = true }
|
||||
log = "0.4"
|
||||
thiserror = "1.0"
|
||||
void = "1"
|
||||
|
||||
[dev-dependencies]
|
||||
rand = "0.8"
|
||||
libp2p-swarm-test = { path = "../../swarm-test"}
|
||||
libp2p-swarm-test = { workspace = true }
|
||||
|
||||
# Passing arguments to the docsrs builder in order to properly document cfg's.
|
||||
# More information: https://docs.rs/about/builds#cross-compiling
|
||||
|
@@ -1,3 +1,10 @@
|
||||
## 0.43.0 - unreleased
|
||||
|
||||
- Raise MSRV to 1.65.
|
||||
See [PR 3715].
|
||||
|
||||
[PR 3715]: https://github.com/libp2p/rust-libp2p/pull/3715
|
||||
|
||||
## 0.42.0
|
||||
|
||||
- Update to `libp2p-core` `v0.39.0`.
|
||||
|
@@ -1,9 +1,9 @@
|
||||
[package]
|
||||
name = "libp2p-ping"
|
||||
edition = "2021"
|
||||
rust-version = "1.62.0"
|
||||
rust-version = { workspace = true }
|
||||
description = "Ping protocol for libp2p"
|
||||
version = "0.42.0"
|
||||
version = "0.43.0"
|
||||
authors = ["Parity Technologies <admin@parity.io>"]
|
||||
license = "MIT"
|
||||
repository = "https://github.com/libp2p/rust-libp2p"
|
||||
@@ -15,9 +15,9 @@ either = "1.8.0"
|
||||
futures = "0.3.28"
|
||||
futures-timer = "3.0.2"
|
||||
instant = "0.1.11"
|
||||
libp2p-core = { version = "0.39.0", path = "../../core" }
|
||||
libp2p-swarm = { version = "0.42.1", path = "../../swarm" }
|
||||
libp2p-identity = { version = "0.1.0", path = "../../identity" }
|
||||
libp2p-core = { workspace = true }
|
||||
libp2p-swarm = { workspace = true }
|
||||
libp2p-identity = { workspace = true }
|
||||
log = "0.4.1"
|
||||
rand = "0.8"
|
||||
void = "1.0"
|
||||
@@ -25,9 +25,9 @@ void = "1.0"
|
||||
[dev-dependencies]
|
||||
async-std = "1.6.2"
|
||||
env_logger = "0.10.0"
|
||||
libp2p-swarm = { path = "../../swarm", features = ["macros"] }
|
||||
libp2p-swarm-test = { path = "../../swarm-test" }
|
||||
quickcheck = { package = "quickcheck-ext", path = "../../misc/quickcheck-ext" }
|
||||
libp2p-swarm = { workspace = true, features = ["macros"] }
|
||||
libp2p-swarm-test = { workspace = true }
|
||||
quickcheck = { workspace = true }
|
||||
|
||||
# Passing arguments to the docsrs builder in order to properly document cfg's.
|
||||
# More information: https://docs.rs/about/builds#cross-compiling
|
||||
|
@@ -1,3 +1,10 @@
|
||||
## 0.16.0 - unreleased
|
||||
|
||||
- Raise MSRV to 1.65.
|
||||
See [PR 3715].
|
||||
|
||||
[PR 3715]: https://github.com/libp2p/rust-libp2p/pull/3715
|
||||
|
||||
## 0.15.2
|
||||
|
||||
- Send correct `PeerId` in outbound STOP message to client.
|
||||
|
@@ -1,9 +1,9 @@
|
||||
[package]
|
||||
name = "libp2p-relay"
|
||||
edition = "2021"
|
||||
rust-version = "1.62.0"
|
||||
rust-version = { workspace = true }
|
||||
description = "Communications relaying for libp2p"
|
||||
version = "0.15.2"
|
||||
version = "0.16.0"
|
||||
authors = ["Parity Technologies <admin@parity.io>", "Max Inden <mail@max-inden.de>"]
|
||||
license = "MIT"
|
||||
repository = "https://github.com/libp2p/rust-libp2p"
|
||||
@@ -17,12 +17,12 @@ either = "1.6.0"
|
||||
futures = "0.3.28"
|
||||
futures-timer = "3"
|
||||
instant = "0.1.11"
|
||||
libp2p-core = { version = "0.39.0", path = "../../core" }
|
||||
libp2p-swarm = { version = "0.42.1", path = "../../swarm", features = ["async-std"] }
|
||||
libp2p-identity = { version = "0.1.0", path = "../../identity" }
|
||||
libp2p-core = { workspace = true }
|
||||
libp2p-swarm = { workspace = true, features = ["async-std"] }
|
||||
libp2p-identity = { workspace = true }
|
||||
log = "0.4"
|
||||
quick-protobuf = "0.8"
|
||||
quick-protobuf-codec = { version = "0.1", path = "../../misc/quick-protobuf-codec" }
|
||||
quick-protobuf-codec = { workspace = true }
|
||||
rand = "0.8.4"
|
||||
static_assertions = "1"
|
||||
thiserror = "1.0"
|
||||
@@ -30,11 +30,11 @@ void = "1"
|
||||
|
||||
[dev-dependencies]
|
||||
env_logger = "0.10.0"
|
||||
libp2p-ping = { path = "../../protocols/ping" }
|
||||
libp2p-plaintext = { path = "../../transports/plaintext" }
|
||||
libp2p-swarm = { path = "../../swarm", features = ["macros"] }
|
||||
libp2p-yamux = { path = "../../muxers/yamux" }
|
||||
quickcheck = { package = "quickcheck-ext", path = "../../misc/quickcheck-ext" }
|
||||
libp2p-ping = { workspace = true }
|
||||
libp2p-plaintext = { workspace = true }
|
||||
libp2p-swarm = { workspace = true, features = ["macros"] }
|
||||
libp2p-yamux = { workspace = true }
|
||||
quickcheck = { workspace = true }
|
||||
|
||||
# Passing arguments to the docsrs builder in order to properly document cfg's.
|
||||
# More information: https://docs.rs/about/builds#cross-compiling
|
||||
|
@@ -1,3 +1,10 @@
|
||||
## 0.13.0 - unreleased
|
||||
|
||||
- Raise MSRV to 1.65.
|
||||
See [PR 3715].
|
||||
|
||||
[PR 3715]: https://github.com/libp2p/rust-libp2p/pull/3715
|
||||
|
||||
## 0.12.1
|
||||
|
||||
- Migrate from `prost` to `quick-protobuf`. This removes `protoc` dependency. See [PR 3312].
|
||||
|
@@ -1,9 +1,9 @@
|
||||
[package]
|
||||
name = "libp2p-rendezvous"
|
||||
edition = "2021"
|
||||
rust-version = "1.62.0"
|
||||
rust-version = { workspace = true }
|
||||
description = "Rendezvous protocol for libp2p"
|
||||
version = "0.12.1"
|
||||
version = "0.13.0"
|
||||
authors = ["The COMIT guys <hello@comit.network>"]
|
||||
license = "MIT"
|
||||
repository = "https://github.com/libp2p/rust-libp2p"
|
||||
@@ -16,12 +16,12 @@ bimap = "0.6.3"
|
||||
futures = { version = "0.3", default-features = false, features = ["std"] }
|
||||
futures-timer = "3.0.2"
|
||||
instant = "0.1.11"
|
||||
libp2p-core = { version = "0.39.0", path = "../../core" }
|
||||
libp2p-swarm = { version = "0.42.1", path = "../../swarm" }
|
||||
libp2p-identity = { version = "0.1.0", path = "../../identity" }
|
||||
libp2p-core = { workspace = true }
|
||||
libp2p-swarm = { workspace = true }
|
||||
libp2p-identity = { workspace = true }
|
||||
log = "0.4"
|
||||
quick-protobuf = "0.8"
|
||||
quick-protobuf-codec = { version = "0.1", path = "../../misc/quick-protobuf-codec" }
|
||||
quick-protobuf-codec = { workspace = true }
|
||||
rand = "0.8"
|
||||
thiserror = "1"
|
||||
void = "1"
|
||||
@@ -29,16 +29,16 @@ void = "1"
|
||||
[dev-dependencies]
|
||||
async-trait = "0.1"
|
||||
env_logger = "0.10.0"
|
||||
libp2p-swarm = { path = "../../swarm", features = ["macros", "tokio"] }
|
||||
libp2p-mplex = { path = "../../muxers/mplex" }
|
||||
libp2p-noise = { path = "../../transports/noise" }
|
||||
libp2p-ping = { path = "../ping" }
|
||||
libp2p-identify = { path = "../identify" }
|
||||
libp2p-yamux = { path = "../../muxers/yamux" }
|
||||
libp2p-tcp = { path = "../../transports/tcp", features = ["tokio"] }
|
||||
libp2p-swarm = { workspace = true, features = ["macros", "tokio"] }
|
||||
libp2p-mplex = { workspace = true }
|
||||
libp2p-noise = { workspace = true }
|
||||
libp2p-ping = { workspace = true }
|
||||
libp2p-identify = { workspace = true }
|
||||
libp2p-yamux = { workspace = true }
|
||||
libp2p-tcp = { workspace = true, features = ["tokio"] }
|
||||
rand = "0.8"
|
||||
tokio = { version = "1.28", features = [ "rt-multi-thread", "time", "macros", "sync", "process", "fs", "net" ] }
|
||||
libp2p-swarm-test = { path = "../../swarm-test" }
|
||||
libp2p-swarm-test = { workspace = true }
|
||||
|
||||
# Passing arguments to the docsrs builder in order to properly document cfg's.
|
||||
# More information: https://docs.rs/about/builds#cross-compiling
|
||||
|
@@ -1,3 +1,10 @@
|
||||
## 0.25.0 - unreleased
|
||||
|
||||
- Raise MSRV to 1.65.
|
||||
See [PR 3715].
|
||||
|
||||
[PR 3715]: https://github.com/libp2p/rust-libp2p/pull/3715
|
||||
|
||||
## 0.24.1
|
||||
|
||||
- Deprecate `handler`, `codec` modules to make them private. See [PR 3847].
|
||||
|
@@ -1,9 +1,9 @@
|
||||
[package]
|
||||
name = "libp2p-request-response"
|
||||
edition = "2021"
|
||||
rust-version = "1.62.0"
|
||||
rust-version = { workspace = true }
|
||||
description = "Generic Request/Response Protocols"
|
||||
version = "0.24.1"
|
||||
version = "0.25.0"
|
||||
authors = ["Parity Technologies <admin@parity.io>"]
|
||||
license = "MIT"
|
||||
repository = "https://github.com/libp2p/rust-libp2p"
|
||||
@@ -14,20 +14,20 @@ categories = ["network-programming", "asynchronous"]
|
||||
async-trait = "0.1"
|
||||
futures = "0.3.28"
|
||||
instant = "0.1.11"
|
||||
libp2p-core = { version = "0.39.0", path = "../../core" }
|
||||
libp2p-swarm = { version = "0.42.1", path = "../../swarm" }
|
||||
libp2p-identity = { version = "0.1.0", path = "../../identity" }
|
||||
libp2p-core = { workspace = true }
|
||||
libp2p-swarm = { workspace = true }
|
||||
libp2p-identity = { workspace = true }
|
||||
rand = "0.8"
|
||||
smallvec = "1.6.1"
|
||||
|
||||
[dev-dependencies]
|
||||
async-std = { version = "1.6.2", features = ["attributes"] }
|
||||
env_logger = "0.10.0"
|
||||
libp2p-noise = { path = "../../transports/noise" }
|
||||
libp2p-tcp = { path = "../../transports/tcp", features = ["async-io"] }
|
||||
libp2p-yamux = { path = "../../muxers/yamux" }
|
||||
libp2p-noise = { workspace = true }
|
||||
libp2p-tcp = { workspace = true, features = ["async-io"] }
|
||||
libp2p-yamux = { workspace = true }
|
||||
rand = "0.8"
|
||||
libp2p-swarm-test = { path = "../../swarm-test" }
|
||||
libp2p-swarm-test = { workspace = true }
|
||||
|
||||
# Passing arguments to the docsrs builder in order to properly document cfg's.
|
||||
# More information: https://docs.rs/about/builds#cross-compiling
|
||||
|
Reference in New Issue
Block a user