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 support for rkyv #356

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

billyb2
Copy link

@billyb2 billyb2 commented Oct 9, 2023

rkyv is a zero copy serialization framework. I use it in a lot of personal projects, and it would be really useful to have support for serializing to rkyv built in, seeing as you do something similar for serde. If this pull request is unwelcome, please let me know and I'll close this.


#[cfg(feature = "rkyv")]
impl Eq for ArchivedHash {}

impl fmt::Display for Hash {
Copy link

Choose a reason for hiding this comment

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

Shouldn't ArchivedHash implement Display and Debug too? Also, Hash derives std::hash::Hash. Might be useful as well.

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