gecko-dev/third_party/rust/bytes-0.5.6
Mike Hommey 5f59304205 Bug 1744668 - Upgrade viaduct to the version from application-services v84.0.0. r=markh
This removes the need for the local prost-derive patch.
Viaduct itself has not changed a whole lot.

Differential Revision: https://phabricator.services.mozilla.com/D133025
2021-12-08 05:23:04 +00:00
..
benches Bug 1744668 - Upgrade viaduct to the version from application-services v84.0.0. r=markh 2021-12-08 05:23:04 +00:00
ci Bug 1744668 - Upgrade viaduct to the version from application-services v84.0.0. r=markh 2021-12-08 05:23:04 +00:00
src Bug 1744668 - Upgrade viaduct to the version from application-services v84.0.0. r=markh 2021-12-08 05:23:04 +00:00
tests Bug 1744668 - Upgrade viaduct to the version from application-services v84.0.0. r=markh 2021-12-08 05:23:04 +00:00
.cargo-checksum.json Bug 1744668 - Upgrade viaduct to the version from application-services v84.0.0. r=markh 2021-12-08 05:23:04 +00:00
Cargo.toml Bug 1744668 - Upgrade viaduct to the version from application-services v84.0.0. r=markh 2021-12-08 05:23:04 +00:00
CHANGELOG.md Bug 1744668 - Upgrade viaduct to the version from application-services v84.0.0. r=markh 2021-12-08 05:23:04 +00:00
LICENSE Bug 1744668 - Upgrade viaduct to the version from application-services v84.0.0. r=markh 2021-12-08 05:23:04 +00:00
README.md Bug 1744668 - Upgrade viaduct to the version from application-services v84.0.0. r=markh 2021-12-08 05:23:04 +00:00

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 = "0.5"

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 = "0.5", 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.