ab1c07a622
Adapted from Dietmar's v3 on pbs-devel but some changes: - reworked with a strip_suffix fn that does matching, way shorter and even easier to read IMO - make b/B byte symbol fully optional, not just for base-10 - also trim trailing whitespace for SizeUnit::Byte - simplify the FromStr impl - adapt parser unit tests such that we actually see the failed test's definition line, simplifies debugging a bit Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |