Skip to content

Latest commit

 

History

History
64 lines (41 loc) · 1.68 KB

CHANGELOG.md

File metadata and controls

64 lines (41 loc) · 1.68 KB

Changelog

Entries are listed in reverse chronological order.

2.5.0

  • Update to new stable #![doc = include_str!], by @delta1. This fixes a compile issue caused by the use of the older #![doc(include(...))] syntax. This also bumps the MSRV to 1.54.

2.4.1

  • Add a note to the README about crate seizures.

2.4.0

  • Add new ConstantTimeGreater and ConstantTimeLess traits, as well as implementations for unsigned integers, by @isislovecruft.

2.3.0

  • Add impl ConstantTimeEq for Choice by @tarcieri.
  • Add impl From<CtOption<T>> for Option<T> by @CPerezz. This is useful for handling library code that produces CtOptions in contexts where timing doesn't matter.
  • Introduce an MSRV policy.

2.2.3

  • Remove the nightly-only asm-based black_box barrier in favor of the volatile-based one, fixing compilation on current nightlies.

2.2.2

  • Update README.md to clarify that 2.2 and above do not require the nightly feature.

2.2.1

  • Adds an or_else combinator for CtOption, by @ebfull.
  • Optimized black_box for nightly, by @jethrogb.
  • Optimized black_box for stable, by @dsprenkels.
  • Fixed CI for no_std, by @dsprenkels.
  • Fixed fuzz target compilation, by @3for.

2.2.0

  • Error during cargo publish, yanked.

2.1.1

  • Adds the "crypto" tag to crate metadata.
  • New shorter, more efficient ct_eq() for integers, contributed by Thomas Pornin.

2.1.0

  • Adds a new CtOption<T> which acts as a constant-time Option<T> (thanks to @ebfull for the implementation).
  • Choice now itself implements ConditionallySelectable.

2.0.0

  • Stable version with traits reworked from 1.0.0 to interact better with the orphan rules.