Skip to content

Commit 302f608

Browse files
committed
Bump version to 2.3.0 and update CHANGELOG
1 parent 3764f42 commit 302f608

File tree

4 files changed

+11
-3
lines changed

4 files changed

+11
-3
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
Entries are listed in reverse chronological order.
44

5+
## 2.3.0
6+
7+
* Add `impl ConstantTimeEq for Choice` by @tarcieri.
8+
* Add `impl From<CtOption<T>> for Option<T>` by @CPerezz. This is useful for
9+
handling library code that produces `CtOption`s in contexts where timing
10+
doesn't matter.
11+
* Introduce an MSRV policy.
12+
513
## 2.2.3
614

715
* Remove the `nightly`-only asm-based `black_box` barrier in favor of the

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ name = "subtle"
44
# - update CHANGELOG
55
# - update html_root_url
66
# - update README if necessary by semver
7-
version = "2.2.3"
7+
version = "2.3.0"
88
authors = ["Isis Lovecruft <isis@patternsinthevoid.net>",
99
"Henry de Valence <hdevalence@hdevalence.ca>"]
1010
readme = "README.md"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ instead of `bool` which are intended to execute in constant-time. The `Choice`
77
type is a wrapper around a `u8` that holds a `0` or `1`.
88

99
```toml
10-
subtle = "2.2"
10+
subtle = "2.3"
1111
```
1212

1313
This crate represents a “best-effort” attempt, since side-channels

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
#![cfg_attr(feature = "nightly", doc(include = "../README.md"))]
1414
#![cfg_attr(feature = "nightly", deny(missing_docs))]
1515
#![doc(html_logo_url = "https://doc.dalek.rs/assets/dalek-logo-clear.png")]
16-
#![doc(html_root_url = "https://docs.rs/subtle/2.2.3")]
16+
#![doc(html_root_url = "https://docs.rs/subtle/2.3.0")]
1717

1818
//! Note that docs will only build on nightly Rust until
1919
//! [RFC 1990 stabilizes](https://github.com/rust-lang/rust/issues/44732).

0 commit comments

Comments
 (0)