diff --git a/Cargo.lock b/Cargo.lock index 091b1b8dede..252429064af 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2654,7 +2654,7 @@ checksum = "b5aba8db14291edd000dfcc4d620c7ebfb122c613afb886ca8803fa4e128a20a" [[package]] name = "libp2p" -version = "0.54.2" +version = "0.55.0" dependencies = [ "async-std", "bytes", diff --git a/Cargo.toml b/Cargo.toml index b8186584487..bd793d4f2c1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -70,10 +70,10 @@ members = [ resolver = "2" [workspace.package] -rust-version = "1.75.0" +rust-version = "1.83.0" [workspace.dependencies] -libp2p = { version = "0.54.2", path = "libp2p" } +libp2p = { version = "0.55.0", path = "libp2p" } libp2p-allow-block-list = { version = "0.4.1", path = "misc/allow-block-list" } libp2p-autonat = { version = "0.13.1", path = "protocols/autonat" } libp2p-connection-limits = { version = "0.4.1", path = "misc/connection-limits" } diff --git a/examples/autonatv2/Dockerfile b/examples/autonatv2/Dockerfile index 6bc92e4d11b..083f9f5c113 100644 --- a/examples/autonatv2/Dockerfile +++ b/examples/autonatv2/Dockerfile @@ -1,4 +1,4 @@ -FROM rust:1.81-alpine as builder +FROM rust:1.83-alpine as builder RUN apk add musl-dev diff --git a/hole-punching-tests/Dockerfile b/hole-punching-tests/Dockerfile index 403cc301fc6..30c8e0a6414 100644 --- a/hole-punching-tests/Dockerfile +++ b/hole-punching-tests/Dockerfile @@ -1,5 +1,5 @@ # syntax=docker/dockerfile:1.5-labs -FROM rust:1.81.0 as builder +FROM rust:1.83.0 as builder # Run with access to the target cache to speed up builds WORKDIR /workspace diff --git a/interop-tests/Dockerfile.chromium b/interop-tests/Dockerfile.chromium index 86edbc5b9d2..4ccb142b4a3 100644 --- a/interop-tests/Dockerfile.chromium +++ b/interop-tests/Dockerfile.chromium @@ -1,5 +1,5 @@ # syntax=docker/dockerfile:1.5-labs -FROM rust:1.81 as chef +FROM rust:1.83 as chef RUN rustup target add wasm32-unknown-unknown RUN wget -q -O- https://github.com/rustwasm/wasm-pack/releases/download/v0.12.1/wasm-pack-v0.12.1-x86_64-unknown-linux-musl.tar.gz | tar -zx -C /usr/local/bin --strip-components 1 --wildcards "wasm-pack-*/wasm-pack" RUN wget -q -O- https://github.com/WebAssembly/binaryen/releases/download/version_115/binaryen-version_115-x86_64-linux.tar.gz | tar -zx -C /usr/local/bin --strip-components 2 --wildcards "binaryen-version_*/bin/wasm-opt" diff --git a/interop-tests/Dockerfile.native b/interop-tests/Dockerfile.native index 499c73437fc..f0b078d9492 100644 --- a/interop-tests/Dockerfile.native +++ b/interop-tests/Dockerfile.native @@ -1,5 +1,5 @@ # syntax=docker/dockerfile:1.5-labs -FROM lukemathwalker/cargo-chef:0.1.67-rust-bullseye as chef +FROM lukemathwalker/cargo-chef:0.1.68-rust-bullseye as chef WORKDIR /app FROM chef AS planner @@ -15,7 +15,7 @@ COPY . . RUN RUSTFLAGS='-C target-feature=+crt-static' cargo build --release --package interop-tests --target $(rustc -vV | grep host | awk '{print $2}') --bin native_ping RUN cp /app/target/$(rustc -vV | grep host | awk '{print $2}')/release/native_ping /usr/local/bin/testplan -FROM scratch +FROM debian:bullseye COPY --from=builder /usr/local/bin/testplan /usr/local/bin/testplan ENV RUST_BACKTRACE=1 ENTRYPOINT ["testplan"] diff --git a/libp2p/CHANGELOG.md b/libp2p/CHANGELOG.md index 8b7bf0ff55f..9e7194e2a69 100644 --- a/libp2p/CHANGELOG.md +++ b/libp2p/CHANGELOG.md @@ -1,4 +1,7 @@ -## 0.54.2 +## 0.55.0 + +- Raise MSRV to 1.83.0. + See [PR 5650](https://github.com/libp2p/rust-libp2p/pull/5650). - Add `with_connection_timeout` on `SwarmBuilder` to allow configuration of the connection_timeout parameter. See [PR 5575](https://github.com/libp2p/rust-libp2p/pull/5575). diff --git a/libp2p/Cargo.toml b/libp2p/Cargo.toml index ae23dcf0db5..39d01a5c5c7 100644 --- a/libp2p/Cargo.toml +++ b/libp2p/Cargo.toml @@ -3,7 +3,7 @@ name = "libp2p" edition = "2021" rust-version = { workspace = true } description = "Peer-to-peer networking library" -version = "0.54.2" +version = "0.55.0" authors = ["Parity Technologies "] license = "MIT" repository = "https://github.com/libp2p/rust-libp2p" diff --git a/misc/server/Dockerfile b/misc/server/Dockerfile index 12a8982eb3f..8b5aac2ae82 100644 --- a/misc/server/Dockerfile +++ b/misc/server/Dockerfile @@ -1,5 +1,5 @@ # syntax=docker/dockerfile:1.5-labs -FROM rust:1.81.0 as chef +FROM rust:1.83.0 as chef RUN wget -q -O- https://github.com/LukeMathWalker/cargo-chef/releases/download/v0.1.62/cargo-chef-x86_64-unknown-linux-gnu.tar.gz | tar -zx -C /usr/local/bin WORKDIR /app diff --git a/protocols/perf/Dockerfile b/protocols/perf/Dockerfile index f68ea6ef211..bb3124df02f 100644 --- a/protocols/perf/Dockerfile +++ b/protocols/perf/Dockerfile @@ -1,5 +1,5 @@ # syntax=docker/dockerfile:1.5-labs -FROM rust:1.81.0 as builder +FROM rust:1.83.0 as builder # Run with access to the target cache to speed up builds WORKDIR /workspace