update msrv to 1.57

This commit is contained in:
Jacob Rothstein 2023-01-10 15:13:56 -08:00 committed by Dirkjan Ochtman
parent 857aab52fa
commit be7b159ca6
3 changed files with 4 additions and 2 deletions

View File

@ -20,7 +20,7 @@ jobs:
- stable - stable
- beta - beta
- nightly - nightly
- 1.56 # MSRV - 1.57 # MSRV
os: [ubuntu-20.04] os: [ubuntu-20.04]
# but only stable on macos/windows (slower platforms) # but only stable on macos/windows (slower platforms)
include: include:

View File

@ -27,6 +27,8 @@ If you'd like to help out, please see [CONTRIBUTING.md](CONTRIBUTING.md).
Both a full deframer buffer and a full incoming plaintext buffer will Both a full deframer buffer and a full incoming plaintext buffer will
now cause an error to be returned. Callers should call `process_new_packets()` now cause an error to be returned. Callers should call `process_new_packets()`
and read out the `writer()` after each successful call to `read_tls()`. and read out the `writer()` after each successful call to `read_tls()`.
- The minimum supported Rust version is now 1.57.0 due to some dependencies
requiring it.
* 0.20.7 (2022-10-18) * 0.20.7 (2022-10-18)
- Expose secret extraction API under the `secret_extraction` cargo feature. - Expose secret extraction API under the `secret_extraction` cargo feature.
This is designed to enable switching from rustls to kTLS (kernel TLS This is designed to enable switching from rustls to kTLS (kernel TLS

View File

@ -2,7 +2,7 @@
name = "rustls" name = "rustls"
version = "0.20.7" version = "0.20.7"
edition = "2018" edition = "2018"
rust-version = "1.56" rust-version = "1.57"
license = "Apache-2.0/ISC/MIT" license = "Apache-2.0/ISC/MIT"
readme = "../README.md" readme = "../README.md"
description = "Rustls is a modern TLS library written in Rust." description = "Rustls is a modern TLS library written in Rust."