commit | 61e66a44bc92c925ada24e2765572e5de1b827fe | [log] [tgz] |
---|---|---|
author | Jeff Vander Stoep <jeffv@google.com> | Thu Dec 08 09:42:43 2022 +0100 |
committer | Jeff Vander Stoep <jeffv@google.com> | Thu Dec 08 09:48:48 2022 +0100 |
tree | f076aa0469c4503eed1329b45d8a42af241ffb3b | |
parent | a8cac4dbb79bd0c8317dc7e8442cd02578df10ca [diff] |
Upgrade bytes to 1.3.0 This project was upgraded with external_updater. Usage: tools/external_updater/updater.sh update rust/crates/bytes For more info, check https://cs.android.com/android/platform/superproject/+/master:tools/external_updater/README.md Test: TreeHugger Change-Id: Ifc6693cab6343ed5bcd70b718bb4b99c447783ea
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.