27 releases

0.4.9 Jul 23, 2018
0.4.7 Apr 27, 2018
0.4.6 Jan 8, 2018
0.4.5 Aug 12, 2017
0.2.3 Mar 30, 2015

#3 in Network programming

Download history 20948/week @ 2018-05-06 26425/week @ 2018-05-13 26959/week @ 2018-05-20 28091/week @ 2018-05-27 29564/week @ 2018-06-03 30724/week @ 2018-06-10 25589/week @ 2018-06-17 28009/week @ 2018-06-24 26430/week @ 2018-07-01 23852/week @ 2018-07-08 26615/week @ 2018-07-15 27000/week @ 2018-07-22 27036/week @ 2018-07-29

114,973 downloads per month

Bytes

A utility library for working with bytes.

Crates.io Build Status

Documentation

Usage

To use bytes, first add this to your Cargo.toml:

[dependencies]
bytes = "0.4"

Next, add this to your crate:

extern crate bytes;

use bytes::{Bytes, BytesMut, Buf, BufMut};

Serde support

Serde support is optional and disabled by default. To enable use the feature serde.

[dependencies]
bytes = { version = "0.4", features = ["serde"] }

License

This project is licensed under the MIT license.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in bytes by you, shall be licensed as MIT, without any additional terms or conditions.

MIT license

Dependencies

Reverse deps