Skip to content

Conversation

@JayWhite2357
Copy link
Contributor

@JayWhite2357 JayWhite2357 commented Dec 19, 2025

Rationale

There are several places that io is used. This can be problematic, particularly for constrained targets (wasm, etc).

Changes

In some places std::io usage can/should be removed.
In others, it is unavoidable, but is be gated behind an io feature flag.

See the individual commit messages for details.

…log_ext` macro

`std::io::Read::read_exact` was used before, which indirectly is a single call to `digest::XofReader::read` in this scenario
Also, uses `bincode`s `EncodeError` instead of `io::Error`.
In practice, no error is ever returned.
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