-
Notifications
You must be signed in to change notification settings - Fork 464
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
Re-export bytes crate? #61
Comments
There are lots of crates with |
I think the main reason is ease of use. Figuring out what version of |
You say it is generally considered to be best practice, but I've never heard of it before, and I'm certainly not new to Rust. In any case, I think it's fine to have people add the dependency. One of the things the tutorial should teach is the ecosystem you will be using when writing networking applications, and On the other hand, |
Should the
bytes
crate be re-exported, since theBytes
type is used in public api? Currently, users have to addbytes
as a dependency in their Cargo.toml, and match the version so that the types are the same. See Tokio tutorial "Add bytes dependency" secton for an example of what I mean.The text was updated successfully, but these errors were encountered: