Skip to content

Conversation

@newpavlov
Copy link
Member

@newpavlov newpavlov commented Nov 10, 2025

This change allows to remove the serde feature and reduce total amount of code in the crate. Additionally, the helper functions use the lazy block generation and store cursor position in the first buffer value, which should be a bit more efficient.

The le module is renamed to utils and now contains the new helper function.

The new examples demonstrate implementation of the traits for the most common RNG classes.

TODO:

  • Add block-based fill functions instead of relying on fill_bytes_via_next?

# To build locally:
# RUSTDOCFLAGS="--cfg docsrs" cargo +nightly doc --all-features --no-deps --open
all-features = true
rustdoc-args = ["--generate-link-to-definition"]
Copy link
Member Author

Choose a reason for hiding this comment

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

Do we still need --generate-link-to-definition?

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.

2 participants