NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io · #1906 most downloaded on crates.io
The `uint!` macro for `Uint` and `Bits` literals
Last release 2 years ago
no release in 18 months
Ships fairly regularly
a new release about every 5 months
Most releases are documented
notes for 6 of 10 stable releases
Nothing withdrawn
no release was ever pulled
4 years old
10 releases · first in 2022
One column per quarter.
Nothing published for this version
Added reduce_mod, add_mod, mul_mod, pow_mod.
reduce_mod, add_mod, mul_mod, pow_mod.num-bigint and ark-ff support.algorithms public, but with unstable API for now.Uint::as_limbs_mut as unsafe.mul implementations and move to algorithms.uint! macro incorrectly accepting hex digits in decimal.Added approx_log, approx_log2, approx_log10 for f64 log approximations.
saturating_shl.approx_log, approx_log2, approx_log10 for f64 log approximations.approx_pow2 to construct from f64 log2 approximation.root computing integer roots.usize to match BITS in pow, log functions.track_caller to div/rem ops to track div-by-zero easier.Nothing published for this version
Nothing published for this version
Added add, sub, neg and sum functions.
next_power_of_two and next_multiple_of functions.checked_from_limb_slice and from_uint.from_limb_slice now handles arbitrary length slices.Extensive Postgres ToSql support supporting many column types.
TryFrom<Uint> for primitive integer types.From conversions to f32 and f64.Debug, Display, decimal, hex, etc.>>= operator.to_base_le and to_base_le base conversion spigotsreverse_bits, most_sigificant_bits bit methods.as_le_{slice,bytes)_* accessors.to_{be,le}_bytes_* to use optimized methods. This has trickle-down
effects for a lot of conversions and formatting.Common bit-size aliases and nightly-only Uint alias.
Uint<BITS> alias.to_{be/le}_bytes_vec and made try_from_le_byte_iter public.rlp and fastrlp support.into_limbs, leading_zeros, bit_len, byte_len, checked_log2.primitive-types support.Uint<BITS, LIMBS> to get stable compatibility!BYTES parameter to to_{be/le}_bytes.try_from_{be/le}_slice.Nothing published for this version
Basic overflowing_add implementation.
Uint structure.overflowing_add implementation.uint! and const_for! macros.<!-- links to version -->
Your coding agent can read these notes before it upgrades. Set up the MCP server →