File tree Expand file tree Collapse file tree 4 files changed +21
-6
lines changed Expand file tree Collapse file tree 4 files changed +21
-6
lines changed Original file line number Diff line number Diff line change 22
33Entries are listed in reverse chronological order.
44
5+ ## 2.5.0
6+
7+ * Add constant-timedness note to the documentation for ` CtOption::unwrap_or_else ` .
8+ * Add ` CtOption::expect ` .
9+ * Add ` ConstantTimeEq::ct_ne ` with default implementation.
10+ * Add new ` core_hint_black_box ` feature from Diane Hosfelt and Amber
11+ Sprenkels which utilises the original ` black_box ` functionality from
12+ when subtle was first written, which has now found it's way into the
13+ Rust standard library.
14+ * Add new ` const-generics ` feature from @survived which adds support
15+ for subtle traits for generic arrays ` [T; N] ` .
16+ * Add new feature for supporting ` core::cmp::Ordering ` for types which
17+ implement subtle traits, patch from @tarcieri .
18+ * Update ` rand ` dependency to 0.8.
19+
520## 2.4.1
621
722* Fix a bug in how the README was included in the documentation builds
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ name = "subtle"
55# - update html_root_url
66# - update README if necessary by semver
77# - if any updates were made to the README, also update the module documentation in src/lib.rs
8- version = " 2.4.1 "
8+ version = " 2.5.0 "
99edition = " 2018"
1010authors = [
" Isis Lovecruft <[email protected] >" ,
1111 " Henry de Valence <[email protected] >" ]
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ instead of `bool` which are intended to execute in constant-time. The `Choice`
77type is a wrapper around a ` u8 ` that holds a ` 0 ` or ` 1 ` .
88
99``` toml
10- subtle = " 2.4 "
10+ subtle = " 2.5 "
1111```
1212
1313This crate represents a “best-effort” attempt, since side-channels
@@ -61,7 +61,7 @@ which attempts to provide a more comprehensive approach for preventing
6161software side-channels in Rust code.
6262
6363From version ` 2.2 ` , it was based on Diane Hosfelt and Amber Sprenkels' work on
64- "Secret Types in Rust". Version ` 2.3 ` adds the ` core_hint_black_box ` feature,
64+ "Secret Types in Rust". Version ` 2.5 ` adds the ` core_hint_black_box ` feature,
6565which uses the original method through the [ ` core::hint::black_box ` ] function
6666from the Rust standard library.
6767
Original file line number Diff line number Diff line change 1111#![ no_std]
1212#![ deny( missing_docs) ]
1313#![ doc( html_logo_url = "https://doc.dalek.rs/assets/dalek-logo-clear.png" ) ]
14- #![ doc( html_root_url = "https://docs.rs/subtle/2.4.1 " ) ]
14+ #![ doc( html_root_url = "https://docs.rs/subtle/2.5.0 " ) ]
1515
1616//! # subtle [](https://crates.io/crates/subtle) [](https://doc.dalek.rs/subtle) [](https://travis-ci.org/dalek-cryptography/subtle)
1717//!
2222//! type is a wrapper around a `u8` that holds a `0` or `1`.
2323//!
2424//! ```toml
25- //! subtle = "2.4 "
25+ //! subtle = "2.5 "
2626//! ```
2727//!
2828//! This crate represents a “best-effort” attempt, since side-channels
7676//! software side-channels in Rust code.
7777//!
7878//! From version `2.2`, it was based on Diane Hosfelt and Amber Sprenkels' work on
79- //! "Secret Types in Rust". Version `2.3 ` adds the `core_hint_black_box` feature,
79+ //! "Secret Types in Rust". Version `2.5 ` adds the `core_hint_black_box` feature,
8080//! which uses the original method through the [`core::hint::black_box`] function
8181//! from the Rust standard library.
8282//!
You can’t perform that action at this time.
0 commit comments