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

rkyv_derive: only add CheckBytes derive when rkyv/validation is enabled #377

Merged
merged 1 commit into from
Mar 23, 2024

Conversation

samlich
Copy link
Contributor

@samlich samlich commented Apr 6, 2023

This removes the need for some crates to have both an rkyv and rkyv-validation feature (if they only use archive(check_bytes) for deriving CheckBytes).

Nonbreaking, as using archive(check_bytes) without enabling rkyv/validation would previously give a compile error.

@djkoloski djkoloski merged commit 22342c4 into rkyv:main Mar 23, 2024
0 of 19 checks passed
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