commit | 69181530e77d7251fc79dcce0fb90c82012bb754 | [log] [tgz] |
---|---|---|
author | android-build-team Robot <android-build-team-robot@google.com> | Sat May 15 03:05:51 2021 +0000 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Sat May 15 03:05:51 2021 +0000 |
tree | b542d91c6067bc477d8e7c59882c3e7db2a7ce25 | |
parent | 08ab852007526d04150c645d806176cc1c0f5558 [diff] | |
parent | ec73deb8dd157e503f964a1db94dc8a5326d66f4 [diff] |
Snap for 7362794 from ec73deb8dd157e503f964a1db94dc8a5326d66f4 to sc-v2-release Change-Id: Idec9e896012fcec9b977bf44a39a46aa407854d4
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.