Update TEST_MAPPING am: d5e29c2474 am: c5d986dbe7

Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/bytes/+/2411620

Change-Id: Ib3cdf952d85967ce1896bc1eb1503d97a5f64c0f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
tree: 3e8aefb2e9a173e879ba519fedeb964ebdd70839
  1. .github/
  2. benches/
  3. ci/
  4. patches/
  5. src/
  6. tests/
  7. .cargo_vcs_info.json
  8. .gitignore
  9. Android.bp
  10. Cargo.toml
  11. Cargo.toml.orig
  12. cargo2android.json
  13. CHANGELOG.md
  14. clippy.toml
  15. LICENSE
  16. METADATA
  17. MODULE_LICENSE_MIT
  18. OWNERS
  19. README.md
  20. TEST_MAPPING
README.md

Bytes

A utility library for working with bytes.

Crates.io Build Status

Documentation

Usage

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

Serde support is optional and disabled by default. To enable use the feature serde.

[dependencies]
bytes = { version = "1", features = ["serde"] }

License

This project is licensed under the MIT license.

Contribution

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.