commit | 9d1bd49bb226e06b889f58c1e40f1e881f69dc8a | [log] [tgz] |
---|---|---|
author | android-build-team Robot <android-build-team-robot@google.com> | Thu May 13 03:04:34 2021 +0000 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Thu May 13 03:04:34 2021 +0000 |
tree | b542d91c6067bc477d8e7c59882c3e7db2a7ce25 | |
parent | b11cd328e60fce0d3674e67294a0c21cba82a665 [diff] | |
parent | b9fe8d48d036adf1c41e85a7d6378261cb56f270 [diff] |
Snap for 7357278 from b9fe8d48d036adf1c41e85a7d6378261cb56f270 to tm-release Change-Id: I65b4143abb986bf7e794b6473716e5586c3e2214
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.