File tree 4 files changed +21
-6
lines changed 4 files changed +21
-6
lines changed Original file line number Diff line number Diff line change 2
2
3
3
Entries are listed in reverse chronological order.
4
4
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
+
5
20
## 2.4.1
6
21
7
22
* 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"
5
5
# - update html_root_url
6
6
# - update README if necessary by semver
7
7
# - 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 "
9
9
edition = " 2018"
10
10
authors = [
" Isis Lovecruft <[email protected] >" ,
11
11
" 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`
7
7
type is a wrapper around a ` u8 ` that holds a ` 0 ` or ` 1 ` .
8
8
9
9
``` toml
10
- subtle = " 2.4 "
10
+ subtle = " 2.5 "
11
11
```
12
12
13
13
This crate represents a “best-effort” attempt, since side-channels
@@ -61,7 +61,7 @@ which attempts to provide a more comprehensive approach for preventing
61
61
software side-channels in Rust code.
62
62
63
63
From 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,
65
65
which uses the original method through the [ ` core::hint::black_box ` ] function
66
66
from the Rust standard library.
67
67
Original file line number Diff line number Diff line change 11
11
#![ no_std]
12
12
#![ deny( missing_docs) ]
13
13
#![ 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 " ) ]
15
15
16
16
//! # subtle [](https://crates.io/crates/subtle) [](https://doc.dalek.rs/subtle) [](https://travis-ci.org/dalek-cryptography/subtle)
17
17
//!
22
22
//! type is a wrapper around a `u8` that holds a `0` or `1`.
23
23
//!
24
24
//! ```toml
25
- //! subtle = "2.4 "
25
+ //! subtle = "2.5 "
26
26
//! ```
27
27
//!
28
28
//! This crate represents a “best-effort” attempt, since side-channels
76
76
//! software side-channels in Rust code.
77
77
//!
78
78
//! 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,
80
80
//! which uses the original method through the [`core::hint::black_box`] function
81
81
//! from the Rust standard library.
82
82
//!
You can’t perform that action at this time.
0 commit comments