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 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.
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 show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@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)
Updates the requirements on fpdec to permit the latest version.
Release notes
Sourced from fpdec's releases.
Changelog
Sourced from fpdec's changelog.
Commits
f7abf3c
Release 0.10.0bb3eab4
Added impl Hash for Decimal.e53d99b
Release 0.9.0e94c669
Added optional dep 'num-traits' as feature.7fd2c16
Replaced 'impl TryInto<> for Decimal' by 'impl TryFrom<Decimal> for ' for all...225eef1
Added conversion of Decimal values to primitive floats.05560c3
Added conversion of Decimal values to primitive ints.b211b23
Optimized fn Decimal::as_integer_ratio.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 show