commit | 7b7946cca7f4f7726a39b60303723e7b66cb5a1b | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Mon May 09 06:00:07 2022 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Mon May 09 06:00:07 2022 +0000 |
tree | bc916d77ff4abffd28ebc6040f8a732aca0311e7 | |
parent | fb7cf43ccbe882b829de749b4a01ec92f0e59a05 [diff] | |
parent | db10ab82f3a0539c8bb44ed6196a97b6d8285a30 [diff] |
Snap for 8558685 from db10ab82f3a0539c8bb44ed6196a97b6d8285a30 to tm-frc-documentsui-release Change-Id: Ic8ee3d659bc6af76dea12b9b4f637f9eb336a0d8
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.