commit | 1520eea2e0d038b6cfaadb262749342ded68cf75 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Fri Sep 24 03:04:33 2021 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Fri Sep 24 03:04:33 2021 +0000 |
tree | 8e48eb122f9388d510dacf7066a11e16c9b411d3 | |
parent | cf68888f126c6f7e873129a2a957b148c38979a4 [diff] | |
parent | b3637d484ccee5bb672f5c0d1d63f904f8adacc8 [diff] |
Snap for 7761793 from b3637d484ccee5bb672f5c0d1d63f904f8adacc8 to tm-release Change-Id: I629645a6616c5a75eed2e318aad8305d4550bf8c
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.