Skip to content

Commit

Permalink
Bump MSRV to 1.65
Browse files Browse the repository at this point in the history
  • Loading branch information
Dirbaio committed Sep 21, 2022
1 parent e0a00fa commit ecccf5b
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 9 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/clippy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "smoltcp"
version = "0.8.0"
edition = "2018"
rust-version = "1.60"
rust-version = "1.65"
authors = ["whitequark <[email protected]>"]
description = "A TCP/IP stack designed for bare-metal, real-time systems without a heap."
documentation = "https://docs.rs/smoltcp/"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ecccf5b

Please sign in to comment.