Skip to content

Commit 86821b1

Browse files
committed
Bump MSRV to 1.65
1 parent d62fd3a commit 86821b1

File tree

6 files changed

+13
-9
lines changed

6 files changed

+13
-9
lines changed

.github/workflows/clippy.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ jobs:
1616
ref: refs/pull/${{ github.event.number }}/head
1717
- uses: actions/checkout@v2
1818
if: github.event_name != 'pull_request_target'
19-
- run: sed -n 's,^rust-version = "\(.*\)"$,RUSTUP_TOOLCHAIN=\1,p' Cargo.toml >> $GITHUB_ENV
19+
# TODO update when stable Rust 1.65 is out.
20+
#- run: sed -n 's,^rust-version = "\(.*\)"$,RUSTUP_TOOLCHAIN=\1,p' Cargo.toml >> $GITHUB_ENV
21+
- run: echo RUSTUP_TOOLCHAIN=beta >> $GITHUB_ENV
2022
- run: rustup toolchain install $RUSTUP_TOOLCHAIN
2123
- run: rustup component add clippy
2224
- uses: actions-rs/clippy-check@v1

.github/workflows/test.yml

+6-4
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,9 @@ jobs:
2020
# Test on stable, MSRV, and nightly.
2121
# Failure is permitted on nightly.
2222
rust:
23-
- stable
24-
- 1.61.0
23+
# TODO update when stable Rust 1.65 is out.
24+
#- stable
25+
- beta
2526
- nightly
2627

2728
features:
@@ -64,8 +65,9 @@ jobs:
6465
# Test on stable, MSRV, and nightly.
6566
# Failure is permitted on nightly.
6667
rust:
67-
- stable
68-
- 1.61.0
68+
# TODO update when stable Rust 1.65 is out.
69+
#- stable
70+
- beta
6971
- nightly
7072

7173
features:

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111
- Remove IpAddress::Unspecified
1212
- 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).
1313
- Fix enable `defmt/alloc` if `alloc` or `std` is enabled.
14-
- Minimum Supported Rust Version (MSRV) **bumped** from 1.56 to 1.60
14+
- Minimum Supported Rust Version (MSRV) **bumped** from 1.56 to 1.65
1515

1616
## [0.8.1] - 2022-05-12
1717

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "smoltcp"
33
version = "0.8.1"
44
edition = "2018"
5-
rust-version = "1.61"
5+
rust-version = "1.65"
66
authors = ["whitequark <[email protected]>"]
77
description = "A TCP/IP stack designed for bare-metal, real-time systems without a heap."
88
documentation = "https://docs.rs/smoltcp/"

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ include complicated compile-time computations, such as macro or type tricks, eve
1111
at cost of performance degradation.
1212

1313
_smoltcp_ does not need heap allocation *at all*, is [extensively documented][docs],
14-
and compiles on stable Rust 1.61 and later.
14+
and compiles on stable Rust 1.65 and later.
1515

1616
_smoltcp_ achieves [~Gbps of throughput](#examplesbenchmarkrs) when tested against
1717
the Linux TCP stack in loopback mode.

src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
//!
6666
//! # Minimum Supported Rust Version (MSRV)
6767
//!
68-
//! This crate is guaranteed to compile on stable Rust 1.61 and up with any valid set of features.
68+
//! This crate is guaranteed to compile on stable Rust 1.65 and up with any valid set of features.
6969
//! It *might* compile on older versions but that may change in any new patch release.
7070
//!
7171
//! The exception is when using the `defmt` feature, in which case `defmt`'s MSRV applies, which

0 commit comments

Comments
 (0)