aml_per_341614000 (11428529,com.google.android.go.permission,com.google.android.permission)
Snap for 10453563 from 84ad640730426064d81e25ce95a73f1c2ff59c64 to mainline-permission-release

Change-Id: I2c2ab00d3bf8e7267643a0b4d1bdb84df5ac6314
tree: 1b8a2e533e43841e452dbd543a352a41bda313b9
  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"] }

Building documentation

When building the bytes documentation the docsrs option should be used, otherwise feature gates will not be shown. This requires a nightly toolchain:

RUSTDOCFLAGS="--cfg docsrs" cargo +nightly doc

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.