-
Notifications
You must be signed in to change notification settings - Fork 4
/
CHANGES.TXT
56 lines (35 loc) · 1.85 KB
/
CHANGES.TXT
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
Version Changes
-------- --------------------------------------------------------------------
0.11.0 Added impl of num_traits::Signed for Decimal.
Set minimal rust version to 1.74.1.
0.10.3 Fixed issue #15.
0.10.2 Fixed issues #13 and #14.
0.10.1 Fixed issue #9.
0.10.0 Added impl Hash for Decimal.
0.9.0 Added conversion of Decimal values to primitive ints and floats.
0.8.0 Added optional support for zero-copy serialization via 'rkyv' (thx
to den-mentiei).
0.7.0 Replaced impl Into<String> for Decimal by impl From<Decimal> for
String.
0.6.4 Code hygiene based on clippy hints.
Changed CI job to use cargo-hack.
0.6.3 Added CI jobs for cargo check, test and clippy (thx to Roms1383).
0.6.0 Added support for serde: serialize to / deserialize from String.
0.5.4 Optimized conversion from string to Decimal.
0.5.3 Some code hygiene based on rustc and clippy lints.
0.5.2 Fixed errors in 'no_std' environment.
0.5.1 Changed internal fn, so that macro Dec! can be used in a const
context.
0.5.0 Reduced MAX_N_FRAC_DIGITS to 18.
If the exact result of Multiplication or Division would exceed
MAX_N_FRAC_DIGITS, a result rounded to MAX_N_FRAC_DIGITS is returned
instead of panicking.
0.4.1 Fixed mismatch between impl of PartialOrd and derived impl of Ord.
0.4.0 Added impls of trait DivRounded for native integers.
Added traits AsIntegerRatio and Quantize as well as corresponding
implementations for Decimal and native ints.
0.3.1 Check resulting n_frac_digits > MAX_N_FRAC_DIGITS in fn mul.
0.3.0 Added "checked" variants of Add, Div, Mul, Rem and Sub as well as
corresponding implementations.
0.2.0 Added conversion from `f32` and `f64` to `Decimal`.
0.1.0 First public version.