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

updated rkyv with reexported bytecheck #597

Merged
merged 1 commit into from
Jul 17, 2023

Conversation

mkatychev
Copy link
Contributor

@mkatychev mkatychev commented Jul 13, 2023

This upstream PR removes bytecheck as a direct dependency for rkyv/validation:
rkyv/rkyv#344
Thus it allows downstream crates such as this one to maintain one version for both rkyv & bytecheck

@@ -75,7 +74,7 @@ ndarray = ["dep:ndarray"]
proptest = ["dep:proptest"]
rand = ["dep:rand"]
rkyv = ["dep:rkyv"]
rkyv-safe = ["dep:bytecheck", "rkyv/validation"]
rkyv-safe = ["rkyv/validation"]
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ideally this should be renamed to rkyv-validation to mirror the feature flag name upstream but that is a breaking change or there would have to be a #[cfg(any("rkyv-safe", "rkyv-validation"))] interim approach.

Copy link
Owner

Choose a reason for hiding this comment

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

This is a good idea. While we need to keep rkyv-safe for backwards compatibility, it'd be easy to introduce a new feature with this name, particularly if it makes discoverability easier..

@mkatychev mkatychev changed the title added new rkyv updated rkyv with reexported bytecheck Jul 13, 2023
@paupino paupino enabled auto-merge (squash) July 16, 2023 23:26
@paupino paupino force-pushed the feat/bytecheck_removal branch from 828e8d0 to 524711a Compare July 17, 2023 00:34
@paupino paupino merged commit 091d715 into paupino:master Jul 17, 2023
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