mirror of
https://github.com/tokio-rs/bytes.git
synced 2026-08-14 00:00:13 +02:00
Huge overhaul of bytes
* Get rid of `ByteStr` trait * `Bytes` is not a concrete type * Add `BlockBuf` * Delete lots of cruft * Performance work
This commit is contained in:
+1
-2
@@ -1,6 +1,5 @@
|
||||
use bytes::{ByteStr, Buf, MutBuf};
|
||||
use bytes::{Buf, MutBuf, AppendBuf};
|
||||
use bytes::alloc::Pool;
|
||||
use bytes::buf::AppendBuf;
|
||||
|
||||
#[test]
|
||||
pub fn test_initial_buf_empty() {
|
||||
|
||||
Reference in New Issue
Block a user