Skip to content

Revert 8 derive cleanups#9

Closed
lthiery wants to merge 5 commits into
mainfrom
revert-8-derive-cleanups
Closed

Revert 8 derive cleanups#9
lthiery wants to merge 5 commits into
mainfrom
revert-8-derive-cleanups

Conversation

@lthiery

@lthiery lthiery commented Jul 7, 2026

Copy link
Copy Markdown
Owner

No description provided.

lthiery added 5 commits July 7, 2026 18:38
- edition 2021 -> 2024 in all three crates; bytescale rust-version
  1.65 -> 1.85 (edition 2024 minimum)
- import reordering per the 2024 style edition (rustfmt)
- no code changes required; cargo fix --edition suggested expr_2021
  macro fragments in test macros, kept plain expr since they only
  match ordinary expressions
- HumanByte derive now parses the input once and composes
  proc_macro2::TokenStreams directly instead of round-tripping every
  sub-derive through strings and re-parsing five times
- unit constructors (kb, mib, ...) use checked_mul and panic on
  overflow instead of silently wrapping in release builds; documented
  and covered by a release-mode-verified regression test
- fix range_stop doc (said lower bound, is upper bound) and the
  ByteSizeVistor -> ByteSizeVisitor typo
Stacked PRs (base = another feature branch) were getting no CI at all
because of the pull_request branches filter.
@lthiery lthiery closed this Jul 7, 2026
@lthiery lthiery deleted the revert-8-derive-cleanups branch July 7, 2026 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant