tag | 6eb2c236b557e49ef32b4c2e37ece864065f345b | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Thu Feb 18 09:58:17 2021 -0800 |
object | 1be5d87f980082f7529a95d327e4020723c92f34 |
Android S Preview 1
commit | 1be5d87f980082f7529a95d327e4020723c92f34 | [log] [tgz] |
---|---|---|
author | Bob Badour <bbadour@google.com> | Fri Feb 12 14:40:36 2021 -0800 |
committer | Bob Badour <bbadour@google.com> | Tue Feb 16 18:55:17 2021 -0800 |
tree | 1e2edced955b49d54f3cfe3b905af03b45ba0717 | |
parent | f39b365ab0c436bd6ef8326b18ae0662dc093fe7 [diff] |
[LSC] Add LOCAL_LICENSE_KINDS to external/rust/crates/bytes Added SPDX-license-identifier-MIT to: Android.bp Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: I7ab2df1d90d4731d6be5f2d153af6e1d66022dc3
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.