Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.14.1 backports for main, rustls 0.23.18 #491

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- nightly
# MSRV - keep in sync with what rustls and rustls-platform-verifier
# consider MSRV
- 1.64.0
- 1.71.0
os: [ ubuntu-latest ]
# but only stable, clang, and aws-lc-rs on macos (slower platform)
include:
Expand Down
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Changelog

## 0.14.1 (2024-11-22)

This release updates to [Rustls 0.23.18][] and increases the project MSRV from
1.64 to 1.71, matching the upstream Rustls MSRV.

Notably this brings in a fix for an availability issue for **servers** using
the `rustls_acceptor` type and associated APIs. See the upstream 0.23.18
release notes for more information.

[Rustls 0.23.18]: https://github.com/rustls/rustls/releases/tag/v%2F0.23.18

## 0.14.0 (2024-09-12)

This release updates to [Rustls 0.23.13][] and changes the rustls-ffi API to allow
Expand Down
10 changes: 5 additions & 5 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rustls-ffi"
version = "0.14.0"
version = "0.15.0"
license = "Apache-2.0 OR ISC OR MIT"
readme = "README-crates.io.md"
description = "Rustls bindings for non-Rust languages"
Expand All @@ -9,7 +9,7 @@ repository = "https://github.com/rustls/rustls-ffi"
categories = ["network-programming", "cryptography"]
edition = "2021"
links = "rustls_ffi"
rust-version = "1.64"
rust-version = "1.71"

[features]
default = ["aws-lc-rs"]
Expand All @@ -27,7 +27,7 @@ cert_compression = ["rustls/brotli", "rustls/zlib"]

[dependencies]
# Keep in sync with RUSTLS_CRATE_VERSION in build.rs
rustls = { version = "0.23.16", default-features = false, features = ["std", "tls12"] }
rustls = { version = "0.23.18", default-features = false, features = ["std", "tls12"] }
pki-types = { package = "rustls-pki-types", version = "1.10", features = ["std"] }
webpki = { package = "rustls-webpki", version = "0.102.0", default-features = false, features = ["std"] }
libc = "0.2"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ to provide the cryptographic primitives.

# Build

You'll need to [install the Rust toolchain](https://rustup.rs/) (version 1.64
You'll need to [install the Rust toolchain](https://rustup.rs/) (version 1.71
or above) and a C compiler (`gcc` and `clang` should both work).

## Cryptography provider
Expand Down
2 changes: 1 addition & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use std::{env, fs, path::PathBuf};
// because doing so would require a heavy-weight deserialization lib dependency
// (and it couldn't be a _dev_ dep for use in a build script) or doing brittle
// by-hand parsing.
const RUSTLS_CRATE_VERSION: &str = "0.23.16";
const RUSTLS_CRATE_VERSION: &str = "0.23.18";

fn main() {
let out_dir = PathBuf::from(env::var_os("OUT_DIR").unwrap());
Expand Down