v0.4.4
Changes
- Revert formatting semantics to match Rust's meanings rather than Python's
- The meaning of the formatting string
"{:.4}"
has returned to "4 digits after decimal place" rather than "four digits of precision"
- The meaning of the formatting string
- Add new compile-time parameters for safer formatting
- Configurable thresholds prevent printing out full decimal form of large numbers, like 1e999999999999999 (could be used in)
- Improved JSON serialization / formatting routines
Note
Please add your own tests to ensure this library formats (and continues to format) numbers as you expect
-
Added methods
BigDecimalRef::clone_into
BigDecimal::set_scale
(mutable version oftake_and_scale
)
-
Optimized bigdecimal comparison algorithms
-
Restricted versions of num-* crates to respect Minimum Supported Rust Version (1.43)
- I may raise this up soon