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 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-core to permit the latest version.
Changelog
Sourced from fpdec-core's changelog.
Commits
6716499
Release 0.8.02d5aae4
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-rkyveabd17d
Removed some non-active clippy lints.e069fd8
Renamed mod traits to num_traits.81e0e7c
rkyv: Added new optional feature.345fcc5
Release 0.7.0375fedb
Replaced impl Into<String> for Decimal by impl From<Decimal> for String.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)