NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io · #4993 most downloaded on crates.io
A crate for expressing, formatting, and interacting with file sizes
Last release 2 years ago
no release in 18 months
Release timing varies
gaps range from 4 months to 3.5 years
Most releases are documented
notes for 6 of 10 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
12 releases · first in 2018
Support deserializing from string types with Size::from_str() by @mqudsi in #11
Size::from_str() by @mqudsi in #11Full Changelog: 0.4.1...0.5.0
This is the same release as 0.5.0-preview2 but with some clippy lints addressed.
One column per quarter.
Nothing published for this version
Bump to version 0.5.0-preview1
Bump to version 0.5.0-preview1
This update includes some hidden improvements as well as a few public-facing API changes.
This update includes some hidden improvements as well as a few public-facing API changes.
New features:
Size now implements AddAssign, SubAssign, MulAssign, and DivAssign.SizeFormatter::new() is now a const function.Improvements:
FormattableSize and SizeFormatter APIs have been coalesced into theSpecial thanks to first-time contributors @angusholder and @vic1707.
Nothing published for this version
Nothing published for this version
Add missing word from README.md
Add missing word from README.md
Nothing published for this version
This is a major (and slightly breaking) update to the PrettySize size crate, bringing significant new features, improvements to the API, and a complet
This is a major (and slightly breaking) update to the PrettySize size crate,
bringing significant new features, improvements to the API, and a complete
overhaul of the documentation.
The major changes from v0.1.x are outlined below:
Size<T> sizes, thatSize instances and forSize instances by scalar values,Size values,Size now implements PartialEq so Size values can be compared directlysize1.bytes() and size2.bytes()),Sizelet foo = Size::KiB(2); instead of let foo = Size::Kibibytes(2) (the resulting type is still the same for both),size::consts toSize<T> approach,Size instances can be compared for equality both directly and viaSize instances can now be compared for order (via PartialOrd),size crate can now be used in no_std mode by compiling with defaultThe definition for TERABYTE was incorrect thanks to a fat-fingered copy-and-paste, leading to future base-10 definitions being off by a factor of 10^3
The definition for TERABYTE was incorrect thanks to a fat-fingered
copy-and-paste, leading to future base-10 definitions being off by a
factor of 10^3. Thanks to @teschty for catching this.
Switch to u64 for all constants
Switch to u64 for all constants
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →