commit | e85e5b4aa3e11814956ba34e2d2784d7886b369f | [log] [tgz] |
---|---|---|
author | Linux Build Service Account <lnxbuild@localhost> | Sun Jan 16 14:27:29 2022 -0800 |
committer | Linux Build Service Account <lnxbuild@localhost> | Sun Jan 16 14:27:29 2022 -0800 |
tree | b542d91c6067bc477d8e7c59882c3e7db2a7ce25 | |
parent | 33bafd293e4938b92e43ffe07d73745aa7926731 [diff] | |
parent | d44fa8d952ac86a68bb8ff37a9441e19d7c9241c [diff] |
Merge d44fa8d952ac86a68bb8ff37a9441e19d7c9241c on remote branch Change-Id: I72cd4fafd964314af1ff7ebce198a1414dac7c20
A utility library for working with bytes.
To use bytes
, first add this to your Cargo.toml
:
[dependencies] bytes = "1"
Next, add this to your crate:
use bytes::{Bytes, BytesMut, Buf, BufMut};
Serde support is optional and disabled by default. To enable use the feature serde
.
[dependencies] bytes = { version = "1", 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.