tag | c61598d9c61e4dd911b89f83ea6e90418cdb461c | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Wed Aug 11 15:06:44 2021 -0700 |
object | 1c22cca4a7b092761dab57db335857e139c5e8c8 |
Android S Beta 4
commit | 1c22cca4a7b092761dab57db335857e139c5e8c8 | [log] [tgz] |
---|---|---|
author | Luke Huang <huangluke@google.com> | Wed May 12 10:25:14 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Wed May 12 10:25:14 2021 +0000 |
tree | b542d91c6067bc477d8e7c59882c3e7db2a7ce25 | |
parent | 1dcc5761cafc4e4a5bb315c83a155069774baa30 [diff] | |
parent | d9cb43597f60eb2fa59f14d902751147c6252e80 [diff] |
Make libbytes available to DnsResolver am: d9cb43597f Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/bytes/+/1705165 Change-Id: I131ec0bf610001c9a508aefe767f33562743e1be
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.