Skip to content

Conversation

@wolfv
Copy link
Contributor

@wolfv wolfv commented Nov 11, 2025

Summary

Release Note

Documentation

Signed-off-by: Wolf Vollprecht <[email protected]>
wolfv and others added 4 commits November 18, 2025 16:12
Signed-off-by: Wolf Vollprecht <[email protected]>
The getrandom crate is used only by the wasm feature, through the
`ring` dependency. It was explicitly mentioned by our Cargo.toml to
enable the `js` feature, required by the `wasm32-unknown-unknown` target.

Starting from this commit, we stop mentioning the
`getrandom` dependency and instead we make the `ring` dependency
explicit. The `js` feature of the getrandom crate is now set by using
a dedicated feature of the ring crate itself.

Signed-off-by: Flavio Castelli <[email protected]>
Extend the makefile and the GitHub Actions to check also building for
the wasm32-unknown-unknown target

Signed-off-by: Flavio Castelli <[email protected]>
Comment on lines +91 to +93
- uses: dtolnay/rust-toolchain@351f82a4dc29e4159746a068ed925da17341219f # 1.89.0
with:
targets: wasm32-unknown-unknown

Check failure

Code scanning / zizmor

commit with no history in referenced repository Error test

commit with no history in referenced repository
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
with:
persist-credentials: false
- uses: dtolnay/rust-toolchain@351f82a4dc29e4159746a068ed925da17341219f # 1.89.0

Check warning

Code scanning / zizmor

commit hash does not point to a Git tag Warning test

commit hash does not point to a Git tag
@flavio
Copy link
Member

flavio commented Nov 20, 2025

The getrandom crate is used only by the wasm feature, through the ring dependency. It was explicitly mentioned by our Cargo.toml to enable the js feature, required by the wasm32-unknown-unknown target.

I've pushed a change to this PR to stop mentioning the getrandom dependency and instead we make the ring dependency explicit. The js feature of the getrandom crate is now set by using a dedicated feature of the ring crate itself.

I've also updated the GHA to include checks for the wasm target.

CC @viccuad

@wolfv
Copy link
Contributor Author

wolfv commented Nov 20, 2025

Awesome!

Copy link
Collaborator

@viccuad viccuad left a comment

Choose a reason for hiding this comment

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

Hi both!

Thanks for the changes, they look good to me. I will wait a bit to merge, to reduce churn on the big Merkle trees' PR rebases.

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.

3 participants