Releases: JSorngard/const-primes
Releases · JSorngard/const-primes
v0.8.6
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
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
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
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
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
What's Changed
- Add feature gate badges on docs.rs, in #38.
Full Changelog: v0.8.0...v0.8.1
v0.8.0
What's Changed
Breaking changes
- Change the API of
Primes<N>::binary_search
to be the same as core::slice::binary_search
, in #36.
Other changes
- Minor documentation tweaks.
Full Changelog: v0.7.4...v0.8.0
v0.7.4
What's Changed
- Correct wrong doclink to
remainder
function in docstring of Primes<N>::prime_factors
.
Full Changelog: v0.7.3...v0.7.4
v0.7.3
What's Changed
- Add
prime_factors
function to Primes<N>
, done in #35.
Full Changelog: v0.7.2...v0.7.3
v0.7.2
New additions
- Add
Primes<N>::prime_factorization
function, in #34.
Full Changelog: v0.7.1...v0.7.2