Bump MSRV to 1.80.

Ipv4Addr::to_bits() is stable only in 1.80+.
This commit is contained in:
Dario Nieuwenhuis 2024-09-20 17:26:27 +02:00
parent 61156ed98b
commit 997ce67d3c
4 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@
name = "smoltcp"
version = "0.11.0"
edition = "2021"
rust-version = "1.77"
rust-version = "1.80"
authors = ["whitequark <whitequark@whitequark.org>"]
description = "A TCP/IP stack designed for bare-metal, real-time systems without a heap."
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.
_smoltcp_ does not need heap allocation *at all*, is [extensively documented][docs],
and compiles on stable Rust 1.77 and later.
and compiles on stable Rust 1.80 and later.
_smoltcp_ achieves [~Gbps of throughput](#examplesbenchmarkrs) when tested against
the Linux TCP stack in loopback mode.

2
ci.sh
View File

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

View File

@ -65,7 +65,7 @@
//!
//! # Minimum Supported Rust Version (MSRV)
//!
//! This crate is guaranteed to compile on stable Rust 1.77 and up with any valid set of features.
//! This crate is guaranteed to compile on stable Rust 1.80 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