Releases: neosmart/prettysize-rs
Releases · neosmart/prettysize-rs
prettysize-rs 0.5.0
What's Changed
- Support deserializing from string types with
Size::from_str()
by @mqudsi in #11 - Re-export consts from crate root
- Update consts documentation
- Add rust GitHub CI pipeline
- fix: cargo clippy warnings by @Antosser in #8
- feat: Derive more traits by @Antosser in #9
Full Changelog: 0.4.1...0.5.0
This is the same release as 0.5.0-preview2 but with some clippy lints addressed.
prettysize-rs 0.4.1
This update includes some hidden improvements as well as a few public-facing API changes.
New features:
Size
now implementsAddAssign
,SubAssign
,MulAssign
, andDivAssign
.SizeFormatter::new()
is now a const function.
Improvements:
- Crate documentation has been improved further.
- The MSRV (which is not guaranteed) has been reduced and currently the crate
builds with rust 1.46.0. - Crate tests have been modified to pass on older versions of the rust compiler.
- The
FormattableSize
andSizeFormatter
APIs have been coalesced into the
latter, reducing duplication and simplifying crate internals.
Special thanks to first-time contributors @angusholder and @vic1707.