Skip to content

Update hash32 dependency to v1.0.0.#649

Closed
amy-kwan wants to merge 2 commits intorust-embedded:mainfrom
amy-kwan:amy-kwan/update-hash32
Closed

Update hash32 dependency to v1.0.0.#649
amy-kwan wants to merge 2 commits intorust-embedded:mainfrom
amy-kwan:amy-kwan/update-hash32

Conversation

@amy-kwan
Copy link

This change updates the hash32 dependency from v0.3.0 to v1.0.0, and adjusts
the code for the API change where BuildHasherDefault is no longer imported from
hash32. BuildHasherDefault is now imported from core::hash in v1.0.0.

The motivation behind this change is because building heapless on AIX currently
brings in a dependency on the byteorder crate (through hash32).

The byteorder crate currently cannot be built on AIX due to an assertion that is
described in BurntSushi/byteorder#221. Moreover, hash32
v1.0.0 removes the dependency of byteorder.

@amy-kwan
Copy link
Author

Realized there is already a pull request open for this: #563.
Closing this pull request.

@amy-kwan amy-kwan closed this Mar 12, 2026
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