commit | 76d863abe72cac265af9e3a341e6653d57775aa8 | [log] [tgz] |
---|---|---|
author | Linux Build Service Account <lnxbuild@localhost> | Wed Feb 16 21:38:19 2022 -0800 |
committer | Linux Build Service Account <lnxbuild@localhost> | Wed Feb 16 21:38:19 2022 -0800 |
tree | 29c69c110aaf5efc6b32f04caa2b948b3f38c076 | |
parent | abc2941e35ae4e78e8aadff3aecf01c3e6b4681d [diff] | |
parent | 0ebb5060b990098274cd99f78e89198326556293 [diff] |
Merge 0ebb5060b990098274cd99f78e89198326556293 on remote branch Change-Id: I32e9dc13a829d296c56c390bab1bd8f54a1ddbe5
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.