diff --git a/.github/workflows/clippy.yml b/.github/workflows/clippy.yml index 111b1ef99..e020d63c9 100644 --- a/.github/workflows/clippy.yml +++ b/.github/workflows/clippy.yml @@ -16,7 +16,9 @@ jobs: ref: refs/pull/${{ github.event.number }}/head - uses: actions/checkout@v2 if: github.event_name != 'pull_request_target' - - run: sed -n 's,^rust-version = "\(.*\)"$,RUSTUP_TOOLCHAIN=\1,p' Cargo.toml >> $GITHUB_ENV + # TODO update when stable Rust 1.65 is out. + #- run: sed -n 's,^rust-version = "\(.*\)"$,RUSTUP_TOOLCHAIN=\1,p' Cargo.toml >> $GITHUB_ENV + - run: echo RUSTUP_TOOLCHAIN=beta >> $GITHUB_ENV - run: rustup toolchain install $RUSTUP_TOOLCHAIN - run: rustup component add clippy - uses: actions-rs/clippy-check@v1 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 72b3fdbab..4d18fcbbc 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -20,8 +20,9 @@ jobs: # Test on stable, MSRV, and nightly. # Failure is permitted on nightly. rust: - - stable - - 1.60.0 + # TODO update when stable Rust 1.65 is out. + #- stable + - beta - nightly features: @@ -64,8 +65,9 @@ jobs: # Test on stable, MSRV, and nightly. # Failure is permitted on nightly. rust: - - stable - - 1.60.0 + # TODO update when stable Rust 1.65 is out. + #- stable + - beta - nightly features: diff --git a/CHANGELOG.md b/CHANGELOG.md index 6e7cbbf7d..d12c4c73b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,7 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Remove IpAddress::Unspecified - When sending packets with a raw socket, the source IP address is sent unmodified (it was previously replaced with the interface's address if it was unspecified). - Fix enable `defmt/alloc` if `alloc` or `std` is enabled. -- Minimum Supported Rust Version (MSRV) **bumped** from 1.56 to 1.60 +- Minimum Supported Rust Version (MSRV) **bumped** from 1.56 to 1.65 ## [0.8.1] - 2022-05-12 diff --git a/Cargo.toml b/Cargo.toml index 60c785837..d4e31f34b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,7 @@ name = "smoltcp" version = "0.8.0" edition = "2018" -rust-version = "1.60" +rust-version = "1.65" authors = ["whitequark "] description = "A TCP/IP stack designed for bare-metal, real-time systems without a heap." documentation = "https://docs.rs/smoltcp/" diff --git a/README.md b/README.md index 9c07fb291..61de6ca0f 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ include complicated compile-time computations, such as macro or type tricks, eve at cost of performance degradation. _smoltcp_ does not need heap allocation *at all*, is [extensively documented][docs], -and compiles on stable Rust 1.60 and later. +and compiles on stable Rust 1.65 and later. _smoltcp_ achieves [~Gbps of throughput](#examplesbenchmarkrs) when tested against the Linux TCP stack in loopback mode. diff --git a/src/lib.rs b/src/lib.rs index 6eb0568dc..74ff6bba7 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -65,7 +65,7 @@ //! //! # Minimum Supported Rust Version (MSRV) //! -//! This crate is guaranteed to compile on stable Rust 1.60 and up with any valid set of features. +//! This crate is guaranteed to compile on stable Rust 1.65 and up with any valid set of features. //! It *might* compile on older versions but that may change in any new patch release. //! //! The exception is when using the `defmt` feature, in which case `defmt`'s MSRV applies, which