Skip to content
This repository was archived by the owner on Aug 15, 2025. It is now read-only.

Conversation

skibon02
Copy link
Contributor

@skibon02 skibon02 commented Dec 3, 2024

Wrapper types Compat and BorrowCompat do not introduce any kind of complexity or usage context to the inner type, and their only purpose is to provide an implementation for bincode traits.

So, it would be nice to make them as flexible as possible by deriving all common traits:

#[derive(Clone, PartialEq, Eq, PartialOrd, Ord, Hash, Default)]

@VictorKoenders VictorKoenders merged commit 29d8d84 into bincode-org:trunk Dec 6, 2024
67 of 69 checks passed
@VictorKoenders
Copy link
Contributor

Makes a lot of sense, thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants