commit | a822a16d42a9d4e23db3a19984b4cf97e4c5f8ce | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Sun Mar 20 09:03:46 2022 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Sun Mar 20 09:03:46 2022 +0000 |
tree | bc916d77ff4abffd28ebc6040f8a732aca0311e7 | |
parent | 086e0b88fda653fed0f509e01af2b546f7366a42 [diff] | |
parent | 2ee5fcd5f345252c42924c9e78f3537c475d8719 [diff] |
Snap for 8327259 from 2ee5fcd5f345252c42924c9e78f3537c475d8719 to main-cg-testing-release Change-Id: I9221d28de1963a7a19d21fe3eca7e076ca0a259f
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.