Releases: ruma/js_int
Releases · ruma/js_int
v0.2.2
Consider negative values in saturating add / sub
impl TryFrom<UInt> for iN
for N = [8, 16, 32]
impl TryFrom<Int> for uN
for N = [8, 16, 32]
Fix lax_deserialize accepting NaN
Support deserializing floats without fractional component
Add usize
and isize
TryFrom
implementations
v0.2.0
Bump MSRV to 1.35
Drop support for the rocket_04
Cargo feature (Rocket 0.4 FromFormValue
/ FromParam
implementations)
v0.1.9
Add a new Cargo feature: lax_deserialize
See the crate documentation or README.md for what it does.
v0.1.8
Update the documentation to use the macros introduced in 0.1.6.
v0.1.7
Fix building without the std
feature
v0.1.6
Introduce int!
and uint!
macros as shorthand for Int::from(Ni32)
and UInt::from(Nu32)
v0.1.5
Introduce Int::MIN
, Int::MAX
, UInt::MIN
, UInt::MAX
and deprecate const fn min_value
and
const fn max_value
s.
v0.1.4
Allow deserialization of Int
s and UInt
s from non-self-describing formats
v0.1.3
Add conversions to / from 128 bit integer types
v0.1.2
Implement std::iter::Sum
and std::iter::Product
for Int
and UInt
Mention JavaScript's propsed BigInt type in documentation
You can’t perform that action at this time.