Skip to content

Releases: ruma/js_int

v0.2.2

23 Mar 11:29
v0.2.2
cc8e1a0
Compare
Choose a tag to compare
  • 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

08 Dec 13:16
v0.2.0
52753d0
Compare
Choose a tag to compare
  • Bump MSRV to 1.35
  • Drop support for the rocket_04 Cargo feature (Rocket 0.4 FromFormValue / FromParam implementations)

v0.1.9

19 Jul 14:01
v0.1.9
5147ee6
Compare
Choose a tag to compare
  • Add a new Cargo feature: lax_deserialize
    • See the crate documentation or README.md for what it does.

v0.1.8

21 Jun 16:38
v0.1.8
68e518f
Compare
Choose a tag to compare
  • Update the documentation to use the macros introduced in 0.1.6.

v0.1.7

18 Jun 23:20
v0.1.7
9c89632
Compare
Choose a tag to compare
  • Fix building without the std feature

v0.1.6

18 Jun 23:08
ed4ab89
Compare
Choose a tag to compare
  • Introduce int! and uint! macros as shorthand for Int::from(Ni32) and UInt::from(Nu32)

v0.1.5

27 Apr 10:13
v0.1.5
0fd01e2
Compare
Choose a tag to compare
  • Introduce Int::MIN, Int::MAX, UInt::MIN, UInt::MAX and deprecate const fn min_value and
    const fn max_values.

v0.1.4

27 Apr 10:13
v0.1.4
3733e6b
Compare
Choose a tag to compare
  • Allow deserialization of Ints and UInts from non-self-describing formats

v0.1.3

15 Mar 11:45
v0.1.3
6cf9c7e
Compare
Choose a tag to compare
  • Add conversions to / from 128 bit integer types

v0.1.2

04 Aug 12:03
Compare
Choose a tag to compare
  • Implement std::iter::Sum and std::iter::Product for Int and UInt
  • Mention JavaScript's propsed BigInt type in documentation