mirror of
https://github.com/tokio-rs/bytes.git
synced 2026-08-08 00:00:26 +02:00
37 lines
748 B
Rust
37 lines
748 B
Rust
#![crate_name = "bytes"]
|
|
#![deny(warnings)]
|
|
|
|
#[macro_use]
|
|
extern crate log;
|
|
extern crate byteorder;
|
|
|
|
// Implementation in here
|
|
mod imp;
|
|
// TODO: delete
|
|
mod alloc;
|
|
|
|
pub use imp::buf::{Buf, MutBuf, IntoBuf};
|
|
pub use imp::bytes::Bytes;
|
|
|
|
pub mod buf {
|
|
//! Traits, helpers, and type definitions for working with buffers.
|
|
|
|
pub use imp::buf::{
|
|
Source,
|
|
Sink,
|
|
Reader,
|
|
ReadExt,
|
|
Writer,
|
|
WriteExt,
|
|
Fmt,
|
|
};
|
|
|
|
pub use imp::buf::slice::SliceBuf;
|
|
pub use imp::buf::append::AppendBuf;
|
|
pub use imp::buf::block::{BlockBuf, BlockBufCursor};
|
|
pub use imp::buf::bound::{BoundBuf};
|
|
pub use imp::buf::ring::RingBuf;
|
|
pub use imp::buf::take::Take;
|
|
pub use imp::bytes::BytesBuf;
|
|
}
|