chore: improve MSRV to 1.87

Signed-off-by: Haobo Gu <haobogu@outlook.com>
This commit is contained in:
Haobo Gu 2025-09-03 21:12:13 +08:00
parent c1f20ffa39
commit 46f132eeba
4 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@
name = "smoltcp" name = "smoltcp"
version = "0.12.0" version = "0.12.0"
edition = "2021" edition = "2021"
rust-version = "1.81" rust-version = "1.87"
authors = ["whitequark <whitequark@whitequark.org>"] authors = ["whitequark <whitequark@whitequark.org>"]
description = "A TCP/IP stack designed for bare-metal, real-time systems without a heap." description = "A TCP/IP stack designed for bare-metal, real-time systems without a heap."
documentation = "https://docs.rs/smoltcp/" documentation = "https://docs.rs/smoltcp/"

View File

@ -12,7 +12,7 @@ include complicated compile-time computations, such as macro or type tricks, eve
at cost of performance degradation. at cost of performance degradation.
_smoltcp_ does not need heap allocation *at all*, is [extensively documented][docs], _smoltcp_ does not need heap allocation *at all*, is [extensively documented][docs],
and compiles on stable Rust 1.81 and later. and compiles on stable Rust 1.87 and later.
_smoltcp_ achieves [~Gbps of throughput](#examplesbenchmarkrs) when tested against _smoltcp_ achieves [~Gbps of throughput](#examplesbenchmarkrs) when tested against
the Linux TCP stack in loopback mode. the Linux TCP stack in loopback mode.

2
ci.sh
View File

@ -4,7 +4,7 @@ set -eox pipefail
export DEFMT_LOG=trace export DEFMT_LOG=trace
MSRV="1.81.0" MSRV="1.87.0"
RUSTC_VERSIONS=( RUSTC_VERSIONS=(
$MSRV $MSRV

View File

@ -65,7 +65,7 @@
//! //!
//! # Minimum Supported Rust Version (MSRV) //! # Minimum Supported Rust Version (MSRV)
//! //!
//! This crate is guaranteed to compile on stable Rust 1.81 and up with any valid set of features. //! This crate is guaranteed to compile on stable Rust 1.87 and up with any valid set of features.
//! It *might* compile on older versions but that may change in any new patch release. //! 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 //! The exception is when using the `defmt` feature, in which case `defmt`'s MSRV applies, which