Skip to content

Conversation

@r3v2d0g
Copy link
Contributor

@r3v2d0g r3v2d0g commented Dec 11, 2024

This adds a new bincode2 feature which when enabled derives bincode::Encode and bincode::Decode (from bincode@2.0.0-rc.3) for NonEmpty<T>.

The goal of this is to avoid having to use #[bincode(with_serde)] when having a field containing NonEmpty<T>.

r3v2d0g and others added 2 commits December 11, 2024 10:38
This adds a new `bincode2` feature which when enabled derives
`bincode::Encode` and `bincode::Decode` (from `bincode@2.0.0-rc.3`)
for `NonEmpty<T>`.

The goal of this is to avoid having to use `#[bincode(with_serde)]` when
having a field containing `NonEmpty<T>`.
@FintanH FintanH mentioned this pull request Dec 20, 2024
@FintanH
Copy link
Collaborator

FintanH commented Dec 20, 2024

Merged via #63

@FintanH FintanH closed this Dec 20, 2024
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