Skip to content

Allow field type sizes up to 128 bits#4

Merged
winstonallo merged 19 commits into
mainfrom
winstonallo/allow-larger-types
Sep 28, 2025
Merged

Allow field type sizes up to 128 bits#4
winstonallo merged 19 commits into
mainfrom
winstonallo/allow-larger-types

Conversation

@winstonallo
Copy link
Copy Markdown
Owner

@winstonallo winstonallo commented Sep 28, 2025

The macro now supports packed bitmap structs up to 128 bits (previously 64), accepts field sizes from u1 to u128, and generates a richer API for field and raw value access.

Macro feature expansion

  • Increased the maximum supported bitmap size from 64 bits to 128 bits, and allows fields of type u1 through u128.
  • The macro now generates From<Bits> for T and Deref implementations for the underlying storage type.

Closes #1

@winstonallo winstonallo merged commit 4ed6073 into main Sep 28, 2025
5 checks passed
@winstonallo winstonallo deleted the winstonallo/allow-larger-types branch September 28, 2025 13:04
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.

Improve logic for defining which type(s) to use

1 participant