Crates.io | bytes-expand |
lib.rs | bytes-expand |
version | 0.4.12 |
source | src |
created_at | 2019-05-29 16:20:05.479848 |
updated_at | 2019-05-29 16:20:05.479848 |
description | Types and traits for working with bytes |
homepage | https://github.com/carllerche/bytes |
repository | https://github.com/carllerche/bytes |
max_upload_size | |
id | 137726 |
size | 230,502 |
A utility library for working with bytes.
To use bytes
, first add this to your Cargo.toml
:
[dependencies]
bytes = "0.4.12"
Next, add this to your crate:
extern crate bytes;
use bytes::{Bytes, BytesMut, Buf, BufMut};
Serde support is optional and disabled by default. To enable use the feature serde
.
[dependencies]
bytes = { version = "0.4.12", features = ["serde"] }
This project is licensed under the MIT license.
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.