Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #1280353 > unrolled thread
| Started by | Peter Michael Green <plugwash@debian.org> |
|---|---|
| First post | 2026-02-01 01:50 +0100 |
| Last post | 2026-04-01 02:00 +0200 |
| Articles | 3 — 3 participants |
Back to article view | Back to linux.debian.bugs.dist
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Bug#1111400: please upgrade crate bytesize to v2 Peter Michael Green <plugwash@debian.org> - 2026-02-01 01:50 +0100
Bug#1111400: [Pkg-rust-maintainers] Bug#1111400: please upgrade crate bytesize to v2 Jonas Smedegaard <dr@jones.dk> - 2026-02-01 12:20 +0100
Bug#1111400: please upgrade crate bytesize to v2 Peter Green <plugwash@debian.org> - 2026-04-01 02:00 +0200
| From | Peter Michael Green <plugwash@debian.org> |
|---|---|
| Date | 2026-02-01 01:50 +0100 |
| Subject | Bug#1111400: please upgrade crate bytesize to v2 |
| Message-ID | <MjtP4-eOVM-1@gated-at.bofh.it> |
[Multipart message — attachments visible in raw view] — view raw
> Please upgrade crate bytesize to v2. On the one hand, it looks like there were some fairly significant changes. > * Add support for |no_std| targets. > * Use IEC (binary) format by default with |Display|. > * Use "kB" for SI unit. > * Add |Display| type for customizing printed format. > * Add |ByteSize::display()| method. > * Implement |Sub<ByteSize>| for |ByteSize|. > * Implement |Sub<impl Into<u64>>| for |ByteSize|. > * Implement |SubAssign<ByteSize>| for |ByteSize|. > * Implement |SubAssign<impl Into<u64>>| for |ByteSize|. > * Reject parsing non-unit characters after whitespace. > * Remove |ByteSize::to_string_as()| method. > * Remove top-level |to_string()| method. > * Remove top-level |B| constant. > On the other hand, I think this is mostly intended for UI stuff where precise behaviour is not so critical. Preliminary analysis of rdeps prs - upstream moved to v2 with no significant code changes python-cramjam - rc buggy and not in testing rust-bat - use of bytesize seems quite minimal and tests pass with the new version. rust-cargo - upstream has moved away from bytesize, there is an issue filed on salsa about updating cargo. rust-gix-features - upstream bumped dependency in version 0.42 without making any code changes. rust-kmon - upstream has updated, but hasn't made a release yet. rust-prodash - upstream updated with minimal code changes. rust-systemstat - use of bytesize seems fairly intensive, still on 1.x upstream rust-wasmtime - still on 1.x upstream, currently build-dependency only. My gut feeling is we should probably do this after the gix/cargo update.
[toc] | [next] | [standalone]
| From | Jonas Smedegaard <dr@jones.dk> |
|---|---|
| Date | 2026-02-01 12:20 +0100 |
| Subject | Bug#1111400: [Pkg-rust-maintainers] Bug#1111400: please upgrade crate bytesize to v2 |
| Message-ID | <MjDEJ-eVV4-1@gated-at.bofh.it> |
| In reply to | #1280353 |
[Multipart message — attachments visible in raw view] — view raw
Quoting Fabian Grünbichler (2026-02-01 12:08:15) > On Sun, Feb 1, 2026, at 1:32 AM, Peter Michael Green wrote: > >> Please upgrade crate bytesize to v2. On the one hand, it looks like there were some fairly significant changes. > > > >> • Add support for `no_std` targets. > >> • Use IEC (binary) format by default with `Display`. > >> • Use "kB" for SI unit. > >> • Add `Display` type for customizing printed format. > >> • Add `ByteSize::display()` method. > >> • Implement `Sub<ByteSize>` for `ByteSize`. > >> • Implement `Sub<impl Into<u64>>` for `ByteSize`. > >> • Implement `SubAssign<ByteSize>` for `ByteSize`. > >> • Implement `SubAssign<impl Into<u64>>` for `ByteSize`. > >> • Reject parsing non-unit characters after whitespace. > >> • Remove `ByteSize::to_string_as()` method. > >> • Remove top-level `to_string()` method. > >> • Remove top-level `B` constant. > > On the other hand, I think this is mostly intended for UI > > stuff where precise behaviour is not so critical. > > > > Preliminary analysis of rdeps > > > > prs - upstream moved to v2 with no significant code changes > > python-cramjam - rc buggy and not in testing > > rust-bat - use of bytesize seems quite minimal and tests pass with the > > new version. > > rust-cargo - upstream has moved away from bytesize, there is an issue > > filed on salsa about updating cargo. > > rust-gix-features - upstream bumped dependency in version 0.42 without > > making any code changes. > > rust-kmon - upstream has updated, but hasn't made a release yet. > > rust-prodash - upstream updated with minimal code changes. > > rust-systemstat - use of bytesize seems fairly intensive, still on 1.x > > upstream > > rust-wasmtime - still on 1.x upstream, currently build-dependency only. > > > > My gut feeling is we should probably do this after the gix/cargo update. > > I hope to rebased and finally pull the trigger on that this week after > FOSDEM.. Regarding the rust-wasmtime dependency, please simply go ahead with the upgrade - i.e. no need to warn ahead and no need to prepare a proposed patch, just do it and I'll catch up. Thanks, - Jonas -- * Jonas Smedegaard - idealist & Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ * Sponsorship: https://ko-fi.com/drjones [x] quote me freely [ ] ask before reusing [ ] keep private
[toc] | [prev] | [next] | [standalone]
| From | Peter Green <plugwash@debian.org> |
|---|---|
| Date | 2026-04-01 02:00 +0200 |
| Message-ID | <MERa1-bLdz-3@gated-at.bofh.it> |
| In reply to | #1280353 |
Now that the new version of cargo is in sid, I've uploaded the new bytesize to expeirmental and started going through the reverse dependencies properly. > prs - upstream moved to v2 with no significant code changes bug report filed with patch > python-cramjam - rc buggy and not in testing still rc buggy and not in testing. > rust-bat - use of bytesize seems quite minimal and tests pass with the new version. fix uploaded to unstable > rust-cargo - upstream has moved away from bytesize, there is an issue filed on salsa about updating cargo. no longer uses bytesize > rust-gix-features - upstream bumped dependency in version 0.42 without making any code changes. updated to a version that uses bytesize 2 upstream, no further changes needed. > rust-kmon - upstream has updated, but hasn't made a release yet. fix prepared but not uploaded. > rust-prodash - upstream updated with minimal code changes. fix prepared but not uploaded. > rust-systemstat - use of bytesize seems fairly intensive, still on 1.x upstream fix prepared but not uploaded. > rust-wasmtime - still on 1.x upstream, currently build-dependency only. Not investigated because jonas said he would deal with it.
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.bugs.dist
csiph-web