commit | dbebbd5fa1805c9dd4c6a563122cb438944adedc | [log] [tgz] |
---|---|---|
author | Joel Galenson <jgalenson@google.com> | Tue Nov 09 15:47:06 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Tue Nov 09 15:47:06 2021 +0000 |
tree | 5c9ff9a34bbcd6c5fbab2912dfca302f00d4d257 | |
parent | e2e4ec4a4e93f3f16ee21efd8b1610b5563c64eb [diff] | |
parent | 205baced3febc66ba7f7ad345cd6dcc5a4753e4a [diff] |
Add apex_available. am: bd87b64fbf am: 205baced3f Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/bytes/+/1874528 Change-Id: I7720626674d4d3b5b150e2c1136b4127f4db158f
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.