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

Add bytes feature passthrough #631

Merged
merged 1 commit into from
Sep 27, 2024

Conversation

davepollack
Copy link
Contributor

This allows you to use a BytesMut as a Buffer with chacha20poly1305 (or other AEADs) by only including chacha20poly1305 in your Cargo.toml and not also having to include aead in your Cargo.toml. This is similar to how heapless and arrayvec currently have feature passthroughs.

Fixes #600

@tarcieri tarcieri merged commit add6b76 into RustCrypto:master Sep 27, 2024
99 checks passed
@davepollack davepollack deleted the add-bytes-passthrough branch September 28, 2024 08:46
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.

bytes feature of aead is not re-exported by AEADs
2 participants