commit | 97af969a40f2069aef2be03eda22228535faada6 | [log] [tgz] |
---|---|---|
author | Bob Badour <bbadour@google.com> | Wed Feb 17 19:41:37 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Wed Feb 17 19:41:37 2021 +0000 |
tree | 1e2edced955b49d54f3cfe3b905af03b45ba0717 | |
parent | 66426d404218171069171d830a40928d171d64c7 [diff] | |
parent | 8ba2d26f345af7d6536350abb7bd3b28bf99fc1c [diff] |
[LSC] Add LOCAL_LICENSE_KINDS to external/rust/crates/bytes am: 1be5d87f98 am: 988fac033c am: 4d364f46d5 am: 8ba2d26f34 Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/bytes/+/1588794 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I2db469edc673023a7f34c906dc95664c13220312
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.