Skip to content

Prepare 0.13.0 release with Rustls 0.23 #389

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

Merged
merged 3 commits into from
Mar 28, 2024
Merged
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
24 changes: 24 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,29 @@
# Changelog

## 0.13.0 (XXXX-XX-XX)

This release updates to [Rustls 0.23.1] and continues to use `*ring*` as the
only cryptographic provider.

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

### Added

* A new `rustls_accepted_alert` type is added. Calling
`rustls_accepted_alert_bytes` on this type produces TLS data to write
in the case where a server acceptor encountered an error accepting a client.
The returned TLS data should be written to the connection before freeing
the `rustls_accepted_alert` by calling `rustls_accepted_alert_write_tls` with
a `rustls_write_callback` implementation.

## Changed

* The `rustls_acceptor_accept` and `rustls_accepted_into_connection` API
functions now require an extra `rustls_accepted_alert` out parameter. This
parameter will only be set when an error occurs accepting a client connection
and can be used to write any generated alerts to the connection to signal
the accept error to the peer.

## 0.12.1 (2024-03-21)

### Added
Expand Down
18 changes: 12 additions & 6 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.12.1"
version = "0.13.0"
authors = ["Jacob Hoffman-Andrews <[email protected]>"]
license = "Apache-2.0/ISC/MIT"
readme = "README-crates.io.md"
Expand All @@ -24,9 +24,9 @@ capi = []

[dependencies]
# Keep in sync with RUSTLS_CRATE_VERSION in build.rs
rustls = { version = "0.22", features = [ "ring" ]}
rustls = { version = "0.23.1", default-features = false, features = [ "ring", "std", "tls12" ]}
pki-types = { package = "rustls-pki-types", version = "1", features = ["std"] }
webpki = { package = "rustls-webpki", version = "0.102.0", features = ["std"] }
webpki = { package = "rustls-webpki", version = "0.102.0", default-features = false, features = [ "ring", "std" ] }
libc = "0.2"
rustls-pemfile = "2"
log = "0.4.17"
Expand Down
2 changes: 1 addition & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use std::io::Write;
use std::{env, fs, path::PathBuf};

// Keep in sync with Cargo.toml.
const RUSTLS_CRATE_VERSION: &str = "0.22";
const RUSTLS_CRATE_VERSION: &str = "0.23.1";

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