Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(reth-trie-parallel): bump alloy-primitives and enable rayon #13618

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

lightsing
Copy link
Contributor

@lightsing lightsing commented Jan 2, 2025

reth-trie-parallel crate uses HashMap::into_par_iter(), when hashbrown backend (alloy_primitives::map::HashMap) is used, the rayon feature needs to be enabled.

This feature is exported in 0.8.16, see also alloy-rs/core#827

Also, the rayon IntoIter type depends on which HashMap backend in used, 0.8.18 fix this, see also alloy-rs/core#836

@lightsing lightsing marked this pull request as draft January 2, 2025 07:05
@lightsing lightsing changed the title fix(reth-trie-parallel): bump alloy-primitives and enable rayon WIP fix(reth-trie-parallel): bump alloy-primitives and enable rayon Jan 2, 2025
@lightsing lightsing marked this pull request as ready for review January 7, 2025 02:15
@lightsing lightsing changed the title WIP fix(reth-trie-parallel): bump alloy-primitives and enable rayon fix(reth-trie-parallel): bump alloy-primitives and enable rayon Jan 7, 2025
@lightsing
Copy link
Contributor Author

seems 0.8.18 already in used as in the lock file

Copy link
Collaborator

@mattsse mattsse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm,

wdyt @DaniPopes @rkrasiuk

@mattsse mattsse added the A-dependencies Pull requests or issues that are about dependencies label Jan 7, 2025
@DaniPopes
Copy link
Member

Doesn't make much sense since no_std and parallel never happens

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-dependencies Pull requests or issues that are about dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants