sozu-proxy / circular

stream abstraction designed for use with nom
MIT License
11 stars 7 forks source link

Add some optional glue code to the `bytes` crate #4

Open fogti opened 4 years ago

fogti commented 4 years ago

It would be nice if this crate would provide optional glue code to the bytes crate, with which I mean implementing the bytes::{Buf,BufMut} traits, to allow easier integration with other existing code, e.g. poll-buf-utils. It is probably a good idea to support a wide range of bytes crate versions, as the Buf & BufMut traits are present in that crate since almost the first versions, and haven't changed at all.