commit | 89bf13783a9ff10b0bc0ed11dd9153f97749d8da | [log] [tgz] |
---|---|---|
author | Joel Galenson <jgalenson@google.com> | Mon Aug 30 22:09:43 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Mon Aug 30 22:09:43 2021 +0000 |
tree | a55269f8a586ae024f84842d61af15894d457b89 | |
parent | 1a39174b43ab9343fc7f1ad51e8ce2660d9cade6 [diff] | |
parent | 12b2749abb70ae7a0eb85bc54187551a8e84914e [diff] |
Update TEST_MAPPING am: 199730d908 am: 4793c4dfd1 am: 2b02074bca am: c815d32d6f am: 12b2749abb Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/bytes/+/1813598 Change-Id: Id39d393d05a4b7e3ef2c27565453c2944bb069ee
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.