tokio-rs / website

Website for the Tokio project
https://tokio.rs
MIT License
228 stars 329 forks source link

docs: Framing Section: Refer to `tokio_util::codec::Framed`? #717

Open leoshimo opened 12 months ago

leoshimo commented 12 months ago

Q: Would it be valuable to refer readers to tokio_util::codec::Framed as part of the framing tutorial?

I don't feel the tutorial itself needs to be updated to use Framed. I've been using the read_buf + parse BufMut dance for framing so far, but felt breadcrumbs to tokio_util::codec may be valuable.

Darksonn commented 12 months ago

Having a note somewhere that tokio_util can be used instead makes sense to me.

leoshimo commented 12 months ago

Sounds great - I'll leave small note in framing.md section of tutorial