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

Fix Bytes serde support + add tests #238

Merged
merged 3 commits into from
Sep 4, 2024
Merged

Conversation

S4H
Copy link
Contributor

@S4H S4H commented Sep 4, 2024

  • Relaxes the serde version required to match the monorepo
  • Adds tests using serde_test for Bytes ser/de operations


#[cfg(feature = "serde")]
impl<'de> serde::de::Visitor<'de> for BytesVisitor {
type Value = Bytes<'de>;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Very nice

@danielhenrymantilla danielhenrymantilla merged commit aaa4014 into master Sep 4, 2024
206 checks passed
@danielhenrymantilla danielhenrymantilla deleted the ff/fix-bytes-serde branch September 4, 2024 12:23
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