-
Notifications
You must be signed in to change notification settings - Fork 287
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
feat: borsh serde #525
feat: borsh serde #525
Conversation
not clear how next relates to my PR
|
neither my code nor reference is on be default Line 33 in 8359365
magic |
The CI failure should be fixed now, can you rebase your branch? |
@bors r+ |
☀️ Test successful - checks-actions |
As a policy question, why was borsh added as a dependency to hashbrown instead of borsh adding a dependency of hashbrown (and implementing on that end)? |
... borsh already implements support for hashbrown under the hashbrown feature flag??? This prevents borsh from supporting any hashbrown >= 0.15 due to the circular dependency it'd cause. borsh did future-proof by only supporting the range they know they can support ( #554 demonstrates moving such functionality out of this lib and yet this PR explicitly moves it into this lib. |
There's no particular policy for where trait impls should go, but generally it should be in the crate that most frequently releases major versions with breaking changes. There are some exceptions:
|
ACK re: policy and rkyv. I'd argue that by necessity is primary, yet I'd argue for going by niche rather than by release cycle. Smaller crates should expand their functionality rather than expecting larger crates to do so to prevent overwhelming the larger crates (preventing a theoretical future where there's 100 different codecs in hashbrown instead of 1 hashbrown feature in 100 different codecs). |
Revert "feat: borsh serde" Reverts #525
No description provided.