commit | 93e2e9787ff376ef44812969f84c2b9137067c57 | [log] [tgz] |
---|---|---|
author | Treehugger Robot <[email protected]> | Tue Mar 15 10:32:56 2022 +0000 |
committer | Automerger Merge Worker <[email protected]> | Tue Mar 15 10:32:56 2022 +0000 |
tree | bc916d77ff4abffd28ebc6040f8a732aca0311e7 | |
parent | b1de609d6fd68b87c1a05f8167b8e4ef1a1fbb5d [diff] | |
parent | db10ab82f3a0539c8bb44ed6196a97b6d8285a30 [diff] |
Merge "Update TEST_MAPPING" am: 2ee5fcd5f3 am: 23653063a4 am: 9888ce3dd3 am: db10ab82f3 Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/bytes/+/2005945 Change-Id: Ifb9fbb869c873a090068ece13eb2f2742338dc2d
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.