This release adds one new quantity, Absement. Two new underlying storage types, Complex32 and Complex64. Eight new exponential and logarithmic functions on Ratio and changes to use #[must_use] and #[non_exhaustive].
#287 Add support for Complex32 and Complex64 as underlying storage types.
#290 Implement exp2, exp_m1, exp, ln_1p, ln, log10, log2, and log for Ratio.
#306 Add missing #[must_use] on all methods returning a value. must_use_candidate and return_self_not_must_use clippy lints are now enabled to ensure future methods include the attribute.
Changed
#272 Improve documentation on how to enable serde for big* and rational* underlying storage types.
Enable #[non_exhaustive] on Unitsenums. The #[doc(hidden)] __nonexhaustive trick is not longer used.
This release adds one new quantity, Absement. Two new underlying storage types, Complex32 and
Complex64. Eight new exponential and logarithmic functions on Ratio and changes to use
#[must_use] and #[non_exhaustive].
#287 Add support for Complex32 and Complex64
as underlying storage types.
#290 Implement exp2, exp_m1, exp, ln_1p,
ln, log10, log2, and log for Ratio.
#306 Add missing #[must_use] on all methods
returning a value. must_use_candidate and return_self_not_must_use clippy lints are now
enabled to ensure future methods include the attribute.
Changed
#272 Improve documentation on how to enable
serde for big* and rational* underlying storage types.
Enable #[non_exhaustive] on Unitsenums. The #[doc(hidden)] __nonexhaustive trick is not
longer used.
[v0.32.0] — 2022-01-14
This release adds one new quantity, MolarHeatCapacity, a new trait, ConstZero, and many internal
improvements. The quickcheck 1.0 update uncovered a number of issues with floating point precision
that were able to be resolved while still maintaining zero-cost guarantees.
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 uom to permit the latest version.
Release notes
Sourced from uom's releases.
Changelog
Sourced from uom's changelog.
... (truncated)
Commits
51a7cbf
Release v0.33.0.6de9f7b
Enable#[non_exhaustive]
onUnits
enum
s.147907c
MakeUnits
trait type alias created by$quantities!
macropub
.49fc627
Resolverustfmt
formatting issue.5bd0c3c
Merge pull request #306 from gonzaponte/add-must-usee2d25ac
Revert "Add example that intentionally generates unused functions' outputs"8a50c72
Addmust_use
attribute to string-formatting methods316bf93
Addmust_use
attribute to methods that transform data9d19869
Addmust_use
attribute to functions returning static valuesa6fb467
Add example that intentionally generates unused functions' outputsDependabot 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)