Skip to content

dec-0.4.10

Latest

Choose a tag to compare

@petrosagg petrosagg released this 06 May 12:34
· 3 commits to master since this release

0.4.10 - 2025-05-06

  • Optimize Decimal::<N>::from_f{64,32}.

  • Provide a serde-compatible module, dec::serde_decimal_from_non_float_primitives, to permit
    deserializing Decimal values from primitive integers, String, and str.

    This feature relies on Deserialize::deserialize_any, so is only appropriate
    when using self-describing formats (e.g. JSON) as input.

    Find more details on the module-level documentation.

  • Implement num_traits::{MulAdd, MulAddAssign, One, Zero} for the
    Decimal, Decimal64, and Decimal128 types when the num-traits feature
    is enabled.