Skip to content

Releases: JSorngard/const-primes

v0.9.3

13 Nov 16:28
254c5f6

Choose a tag to compare

What's Changed

  • Clarify which crate versions have which MSRVs in #79

Full Changelog: v0.9.2...v0.9.3

v0.9.2

13 Nov 16:21

Choose a tag to compare

What's Changed

  • Corrected docstrings of the Primes struct as well as its new and default functions.

Full Changelog: v0.9.0...v0.9.2

v0.9.0

04 Nov 14:01
c63bdad

Choose a tag to compare

What's Changed

  • Removed the std and const_assert features. Increased MSRV to 1.81.0 in #64
  • Added the feature rkyv that derives the traits from the rkyv crate for Primes<N> in #66
  • Added the feature zerocopy that derives the trait IntoBytes from the zerocopy crate.

Full Changelog: v0.8.7...v0.9.0

v0.8.7

19 Jun 20:03

Choose a tag to compare

What's changed

  • Sped up the is_prime function by checking smaller bases of witnesses for smaller numbers.

Full Changelog: v0.8.6...v0.8.7

v0.8.6

17 Jun 16:53

Choose a tag to compare

What's Changed

  • Fixed a bug where primes_lt and sieve_lt could panic for some inputs where the underlying segmented sieve tried to sieve negative numbers, in #55.

Full Changelog: v0.8.5...v0.8.6

v0.8.5

17 Jun 09:26

Choose a tag to compare

What's Changed

  • Add the feature const_assert that promotes panics into compile errors by using inline const from Rust 1.79.0, in #50.

Full Changelog: v0.8.4...v0.8.5

v0.8.4

13 Jun 05:31

Choose a tag to compare

This is a tiny release

Changes

  • Add links to the local license files to the README.
  • Add a docs.rs badge.
  • Small documentation improvements.

Full Changelog: v0.8.3...v0.8.4

v0.8.3

10 Jun 11:47

Choose a tag to compare

What's Changed

  • Add totient function to Primes<N> , in #42.
  • Derive Serialize and Deserialize for the error types, in #43.
  • Derive Hash for SieveError, in #43.

Full Changelog: v0.8.2...v0.8.3

v0.8.2

07 Jun 12:46
187175a

Choose a tag to compare

What's Changed

  • Add support for serde to the Primes struct, hidden behind a feature, in #41.

Full Changelog: v0.8.1...v0.8.2

v0.8.1

03 Jun 14:11

Choose a tag to compare

What's Changed

  • Add feature gate badges on docs.rs, in #38.

Full Changelog: v0.8.0...v0.8.1