mamrhein / money.rs

Currency-safe computations with money amounts
BSD 3-Clause "New" or "Revised" License
8 stars 1 forks source link

Update fpdec requirement from 0.7.0 to 0.8.1 #4

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Updates the requirements on fpdec to permit the latest version.

Release notes

Sourced from fpdec's releases.

Version 0.8.1

Fixed defect in impl From<Decimal> for String and in impl Debug for Decimal.

Changelog

Sourced from fpdec's changelog.

Version Changes


0.8.0 Added optional support for zero-copy serialization via 'rkyv' (thx to den-mentiei).

0.7.0 Replaced impl Into for Decimal by impl From 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.

Commits
  • 0ed2860 Release 0.8.1
  • e13ba7c Fixed defect in impl From<Decimal> for String and in impl Debug for Decimal.
  • f7be5bb Modified test case to check issue #6.
  • 97f9edd Added test case to check issue #6.
  • 36986fa Added test case to check issue #6.
  • 6716499 Release 0.8.0
  • 2d5aae4 Merge branch 'den-mentiei-rkyv'.
  • ab48bc6 Reformatted code.
  • d7167a1 Force tests to include feature 'rkyv'.
  • 57ca8cc Merge branch 'rkyv' of github.com:den-mentiei/fpdec.rs into den-mentiei-rkyv
  • Additional commits viewable in compare view


Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)