Skip to content

Commit a84178f

Browse files
committed
Merge branch 'master' of github.com:libp2p/rust-libp2p into identify-remove-io-behaviour
2 parents 57013bb + 4fe518d commit a84178f

File tree

24 files changed

+51
-193
lines changed

24 files changed

+51
-193
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,15 @@
4545

4646
# `libp2p` facade crate
4747

48+
# 0.51.0 [unreleased]
49+
50+
- Remove `SimpleProtocol` due to being unused. See [`libp2p::core::upgrade`](https://docs.rs/libp2p/0.50.0/libp2p/core/upgrade/index.html) for alternatives. See [PR 3191].
51+
52+
- Update individual crates.
53+
- Update to [`libp2p-swarm` `v0.42.0`](swarm/CHANGELOG.md#0420).
54+
55+
[PR 3191]: https://github.com/libp2p/rust-libp2p/pull/3191
56+
4857
# 0.50.0
4958

5059
This is a large release. After > 4 years, rust-libp2p ships with an [(alpha) QUIC

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "libp2p"
33
edition = "2021"
44
rust-version = "1.62.0"
55
description = "Peer-to-peer networking library"
6-
version = "0.50.0"
6+
version = "0.51.0"
77
authors = ["Parity Technologies <admin@parity.io>"]
88
license = "MIT"
99
repository = "https://github.com/libp2p/rust-libp2p"
@@ -107,7 +107,7 @@ libp2p-pnet = { version = "0.22.2", path = "transports/pnet", optional = true }
107107
libp2p-relay = { version = "0.14.0", path = "protocols/relay", optional = true }
108108
libp2p-rendezvous = { version = "0.11.0", path = "protocols/rendezvous", optional = true }
109109
libp2p-request-response = { version = "0.23.0", path = "protocols/request-response", optional = true }
110-
libp2p-swarm = { version = "0.41.0", path = "swarm" }
110+
libp2p-swarm = { version = "0.42.0", path = "swarm" }
111111
libp2p-uds = { version = "0.37.0", path = "transports/uds", optional = true }
112112
libp2p-wasm-ext = { version = "0.38.0", path = "transports/wasm-ext", optional = true }
113113
libp2p-yamux = { version = "0.42.0", path = "muxers/yamux", optional = true }

misc/metrics/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ libp2p-identify = { version = "0.41.0", path = "../../protocols/identify", optio
2525
libp2p-kad = { version = "0.42.0", path = "../../protocols/kad", optional = true }
2626
libp2p-ping = { version = "0.41.0", path = "../../protocols/ping", optional = true }
2727
libp2p-relay = { version = "0.14.0", path = "../../protocols/relay", optional = true }
28-
libp2p-swarm = { version = "0.41.0", path = "../../swarm" }
28+
libp2p-swarm = { version = "0.42.0", path = "../../swarm" }
2929
prometheus-client = "0.18.0"
3030

3131
[target.'cfg(not(target_os = "unknown"))'.dependencies]
@@ -39,7 +39,7 @@ libp2p = { path = "../..", features = ["full"] }
3939
hyper = { version="0.14", features = ["server", "tcp", "http1"] }
4040
tokio = { version = "1", features = ["rt-multi-thread"] }
4141

42-
# Passing arguments to the docsrs builder in order to properly document cfg's.
42+
# Passing arguments to the docsrs builder in order to properly document cfg's.
4343
# More information: https://docs.rs/about/builds#cross-compiling
4444
[package.metadata.docs.rs]
4545
all-features = true

protocols/autonat/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ futures = "0.3"
1919
futures-timer = "3.0"
2020
instant = "0.1"
2121
libp2p-core = { version = "0.38.0", path = "../../core" }
22-
libp2p-swarm = { version = "0.41.0", path = "../../swarm" }
22+
libp2p-swarm = { version = "0.42.0", path = "../../swarm" }
2323
libp2p-request-response = { version = "0.23.0", path = "../request-response" }
2424
log = "0.4"
2525
rand = "0.8"
@@ -31,7 +31,7 @@ env_logger = "0.10"
3131
clap = { version = "4.0.13", features = ["derive"] }
3232
libp2p = { path = "../..", features = ["full"] }
3333

34-
# Passing arguments to the docsrs builder in order to properly document cfg's.
34+
# Passing arguments to the docsrs builder in order to properly document cfg's.
3535
# More information: https://docs.rs/about/builds#cross-compiling
3636
[package.metadata.docs.rs]
3737
all-features = true

protocols/dcutr/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ futures = "0.3.1"
1818
futures-timer = "3.0"
1919
instant = "0.1.11"
2020
libp2p-core = { version = "0.38.0", path = "../../core" }
21-
libp2p-swarm = { version = "0.41.0", path = "../../swarm" }
21+
libp2p-swarm = { version = "0.42.0", path = "../../swarm" }
2222
log = "0.4"
2323
prost-codec = { version = "0.3", path = "../../misc/prost-codec" }
2424
prost = "0.11"
@@ -34,7 +34,7 @@ libp2p = { path = "../..", features = ["full"] }
3434
rand = "0.8"
3535
clap = { version = "4.0.13", features = ["derive"] }
3636

37-
# Passing arguments to the docsrs builder in order to properly document cfg's.
37+
# Passing arguments to the docsrs builder in order to properly document cfg's.
3838
# More information: https://docs.rs/about/builds#cross-compiling
3939
[package.metadata.docs.rs]
4040
all-features = true

protocols/floodsub/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ cuckoofilter = "0.5.0"
1515
fnv = "1.0"
1616
futures = "0.3.1"
1717
libp2p-core = { version = "0.38.0", path = "../../core" }
18-
libp2p-swarm = { version = "0.41.0", path = "../../swarm" }
18+
libp2p-swarm = { version = "0.42.0", path = "../../swarm" }
1919
log = "0.4"
2020
prost = "0.11"
2121
rand = "0.8"
@@ -25,7 +25,7 @@ thiserror = "1.0.37"
2525
[build-dependencies]
2626
prost-build = "0.11"
2727

28-
# Passing arguments to the docsrs builder in order to properly document cfg's.
28+
# Passing arguments to the docsrs builder in order to properly document cfg's.
2929
# More information: https://docs.rs/about/builds#cross-compiling
3030
[package.metadata.docs.rs]
3131
all-features = true

protocols/gossipsub/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ keywords = ["peer-to-peer", "libp2p", "networking"]
1111
categories = ["network-programming", "asynchronous"]
1212

1313
[dependencies]
14-
libp2p-swarm = { version = "0.41.0", path = "../../swarm" }
14+
libp2p-swarm = { version = "0.42.0", path = "../../swarm" }
1515
libp2p-core = { version = "0.38.0", path = "../../core" }
1616
bytes = "1.0"
1717
byteorder = "1.3.4"
@@ -46,7 +46,7 @@ derive_builder = "0.11.1"
4646
[build-dependencies]
4747
prost-build = "0.11"
4848

49-
# Passing arguments to the docsrs builder in order to properly document cfg's.
49+
# Passing arguments to the docsrs builder in order to properly document cfg's.
5050
# More information: https://docs.rs/about/builds#cross-compiling
5151
[package.metadata.docs.rs]
5252
all-features = true

protocols/gossipsub/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,8 @@
121121
//! libp2p_gossipsub::Gossipsub::new(message_authenticity, gossipsub_config).unwrap();
122122
//! // subscribe to the topic
123123
//! gossipsub.subscribe(&topic);
124-
//! // create the swarm
125-
//! libp2p_swarm::Swarm::new(
124+
//! // create the swarm (use an executor in a real example)
125+
//! libp2p_swarm::Swarm::without_executor(
126126
//! transport,
127127
//! gossipsub,
128128
//! local_peer_id,

protocols/identify/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ asynchronous-codec = "0.6"
1515
futures = "0.3.1"
1616
futures-timer = "3.0.2"
1717
libp2p-core = { version = "0.38.0", path = "../../core" }
18-
libp2p-swarm = { version = "0.41.0", path = "../../swarm" }
18+
libp2p-swarm = { version = "0.42.0", path = "../../swarm" }
1919
log = "0.4.1"
2020
lru = "0.8.0"
2121
prost-codec = { version = "0.3", path = "../../misc/prost-codec" }
@@ -32,7 +32,7 @@ libp2p = { path = "../..", features = ["full"] }
3232
[build-dependencies]
3333
prost-build = "0.11"
3434

35-
# Passing arguments to the docsrs builder in order to properly document cfg's.
35+
# Passing arguments to the docsrs builder in order to properly document cfg's.
3636
# More information: https://docs.rs/about/builds#cross-compiling
3737
[package.metadata.docs.rs]
3838
all-features = true

protocols/kad/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ asynchronous-codec = "0.6"
1919
futures = "0.3.1"
2020
log = "0.4"
2121
libp2p-core = { version = "0.38.0", path = "../../core" }
22-
libp2p-swarm = { version = "0.41.0", path = "../../swarm" }
22+
libp2p-swarm = { version = "0.42.0", path = "../../swarm" }
2323
prost = "0.11"
2424
rand = "0.8"
2525
sha2 = "0.10.0"
@@ -44,7 +44,7 @@ prost-build = "0.11"
4444
[features]
4545
serde = ["dep:serde", "bytes/serde"]
4646

47-
# Passing arguments to the docsrs builder in order to properly document cfg's.
47+
# Passing arguments to the docsrs builder in order to properly document cfg's.
4848
# More information: https://docs.rs/about/builds#cross-compiling
4949
[package.metadata.docs.rs]
5050
all-features = true

0 commit comments

Comments
 (0)