<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<blockquote type="cite">
<pre class="message">Please upgrade crate bytesize to v2.</pre>
</blockquote>
On the one hand, it looks like there were some fairly significant
changes.<br>
<br>
<blockquote type="cite">
<ul dir="auto">
<li>Add support for <code>no_std</code> targets.</li>
<li>Use IEC (binary) format by default with <code>Display</code>.</li>
<li>Use "kB" for SI unit.</li>
<li>Add <code>Display</code> type for customizing printed
format.</li>
<li>Add <code>ByteSize::display()</code> method.</li>
<li>Implement <code>Sub<ByteSize></code> for <code>ByteSize</code>.</li>
<li>Implement <code>Sub<impl Into<u64>></code> for
<code>ByteSize</code>.</li>
<li>Implement <code>SubAssign<ByteSize></code> for <code>ByteSize</code>.</li>
<li>Implement <code>SubAssign<impl Into<u64>></code>
for <code>ByteSize</code>.</li>
<li>Reject parsing non-unit characters after whitespace.</li>
<li>Remove <code>ByteSize::to_string_as()</code> method.</li>
<li>Remove top-level <code>to_string()</code> method.</li>
<li>Remove top-level <code>B</code> constant.</li>
</ul>
</blockquote>
<p>On the other hand, I think this is mostly intended for UI<br>
stuff where precise behaviour is not so critical.<br>
<br>
Preliminary analysis of rdeps<br>
<br>
prs - upstream moved to v2 with no significant code changes<br>
python-cramjam - rc buggy and not in testing<br>
rust-bat - use of bytesize seems quite minimal and tests pass with
the new version.<br>
rust-cargo - upstream has moved away from bytesize, there is an
issue filed on salsa about updating cargo.<br>
rust-gix-features - upstream bumped dependency in version 0.42
without making any code changes.<br>
rust-kmon - upstream has updated, but hasn't made a release yet.<br>
rust-prodash - upstream updated with minimal code changes.<br>
rust-systemstat - use of bytesize seems fairly intensive, still on
1.x upstream<br>
rust-wasmtime - still on 1.x upstream, currently build-dependency
only.<br>
<br>
My gut feeling is we should probably do this after the gix/cargo
update.<br>
<br>
<br>
</p>
</body>
</html>