commit | 269eafe411d5591ff719a20d25e9483c936d2017 | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <chh@google.com> | Thu Aug 27 21:50:32 2020 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Thu Aug 27 21:50:32 2020 +0000 |
tree | f499eba51cf0c39ec3577801449bc0cf8488ea45 | |
parent | fe3d74457a0ed56b1eb63e6bc19be03ecc34dca4 [diff] | |
parent | 3078b5a50bdc9aa0362f8cc4686810eb1a4e1c08 [diff] |
Fix bytes/METADATA am: 3078b5a50b Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/bytes/+/1414010 Change-Id: I7b2dace715c26268a20507841f1377742cdf58c0
A utility library for working with bytes.
To use bytes
, first add this to your Cargo.toml
:
[dependencies] bytes = "0.5"
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 = "0.5", 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.