tag | 88f2fdf2c90711447bb2c46459cf407c5efed60c | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Tue Oct 10 12:12:29 2023 -0700 |
object | 7227bdb3292fb97770de22510088e82a64cac77b |
Android 14.0.0 release 9
commit | 7227bdb3292fb97770de22510088e82a64cac77b | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Sat Mar 18 03:14:28 2023 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Sat Mar 18 03:14:28 2023 +0000 |
tree | 1b8a2e533e43841e452dbd543a352a41bda313b9 | |
parent | ab21cf141410ff3cdf38618ac7516ad159343ee9 [diff] | |
parent | d551420ca57114809eb041a198a88d3a0dd280f5 [diff] |
Snap for 9771082 from d551420ca57114809eb041a198a88d3a0dd280f5 to udc-d1-release Change-Id: I1aac1fc09cb08720bc43b69ea94c7a22ee24947b
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"] }
When building the bytes
documentation the docsrs
option should be used, otherwise feature gates will not be shown. This requires a nightly toolchain:
RUSTDOCFLAGS="--cfg docsrs" cargo +nightly doc
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.