commit | 7a3e35bfcdd12787d8e1e8eeb132701cb3e16cdb | [log] [tgz] |
---|---|---|
author | android-build-team Robot <android-build-team-robot@google.com> | Fri Apr 30 01:06:09 2021 +0000 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Fri Apr 30 01:06:09 2021 +0000 |
tree | b24733b7c7144c7405bc82380b5d5178a0e1b221 | |
parent | b4f31f7d0f22d60b254018417d0af2ece930be61 [diff] | |
parent | 391642653efd9ff822871f6263b52c5b2148b4c1 [diff] |
Snap for 7325276 from 391642653efd9ff822871f6263b52c5b2148b4c1 to sc-release Change-Id: Ib2cb113e5516578f2044f1c4dc122f55b3cca0f5
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.