Carl Lerche and GitHub
4724c7e8a0
remove new fns from combinator structs ( #434 )
...
This is not idiomatic.
2020-10-18 09:55:19 -07:00
Taiki Endo and GitHub
e9877e7a3d
Deny warnings for doc tests ( #391 )
2020-05-24 06:30:50 +09:00
Taiki Endo and GitHub
1fbf83816b
Format with rustfmt ( #389 )
...
* Format with rustfmt
* Add rustfmt check to CI
2020-05-22 13:17:30 +09:00
Douman and Carl Lerche
4f5ed82b3c
Fix clippy ( #285 )
2019-08-27 14:19:44 -07:00
Douman and Carl Lerche
b6cb346adf
Remove IntoBuf/FromBuf ( #288 )
...
As consequence Buf::collect is removed as well, which is replaced with `Buf::into_bytes`. The advantage of `Buf::into_bytes` is that it can be optimized in cases where converting a `T: Buf` into a `Bytes` instance is efficient.
2019-08-27 13:09:43 -07:00
Taiki Endo and GitHub
ae7d884582
Update Bytes to Rust 2018 ( #274 )
2019-07-26 05:01:22 +09:00
YetAnotherMinion and Sean McArthur
d8134903de
feat: remove impl IntoBuf for Cursor<Self>, impl Buf for Bytes, BytesMut, refactor iterators
2019-06-06 16:59:44 -07:00
brianwp and Carl Lerche
2b0602e756
impl ExactSizeIterator for Iter<T: Buf> ( #127 )
2017-05-24 08:13:19 -07:00
Carl Lerche
d70f575afd
Provide Debug impls for all types
2017-03-07 10:20:58 -08:00
Carl Lerche
8fec8a92ad
Implement iterator adapter for Buf
2017-03-01 10:03:28 -08:00