-
Notifications
You must be signed in to change notification settings - Fork 22
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
Reverse dependencies with asynchronous-codec
#69
Comments
No opinion. Off the top of my head, cleaner but not a high impact. |
I thought some more about this and came to the conclusion that whilst For example, I don't know how far we are from 1.0 in All of this obviously only applies if |
After working on libp2p/rust-libp2p#4782, I came to the conclusion that likely, there shouldn't even be a codec for length-prefixing with Thus, I am going to close this issue as a "won't fix". I think it is worth considering removing the impl from this repo to avoid similar inefficiencies on other usage sites. |
The
asynchronous-codec
crate defines theEncoder
andDecoder
traits, some utility codecs AND several that are feature-flagged: https://github.com/mxinden/asynchronous-codecI think it would be cleaner if
unsigned-varint
would not depend onasynchronous-codec
and we instead add a feature-gated codec toasynchronous-codec
.Thoughts?
The text was updated successfully, but these errors were encountered: