Skip to content

Releases: JSorngard/const-primes

v0.9.7

29 Nov 13:29
33adf33
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.9.6...v0.9.7

v0.9.6

25 Nov 21:09
Compare
Choose a tag to compare

What's new

  • Correct wrong function name in example code in README.

Full Changelog: v0.9.5...v0.9.6

v0.9.5

23 Nov 11:31
Compare
Choose a tag to compare

What's changed

  • Set the rust-version field to 1.81.0.
    This is not an MSRV guarantee for the future. If we don't set this field crates.io auto-sets it to 1.56.0 which is too old to compile the crate.

Full Changelog: v0.9.4...v0.9.5

v0.9.4

22 Nov 10:27
Compare
Choose a tag to compare

What's Changed

  • Clarify docs of macros in #82 and #83.

Full Changelog: v0.9.3...v0.9.4

v0.9.3

13 Nov 16:28
254c5f6
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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