Crates.io | rcbytes |
lib.rs | rcbytes |
version | 1.2.2 |
source | src |
created_at | 2022-08-01 07:27:04.427375 |
updated_at | 2022-08-01 07:28:19.901593 |
description | Rc version bytes crate |
homepage | |
repository | https://github.com/al8n/rcbytes |
max_upload_size | |
id | 636596 |
size | 296,180 |
The aim for this crate is to implement a Rc version bytes, which means that the structs in this crate does not implement the Sync
and Send
.
This crate is heavily based on the bytes (A utility library for working with bytes).
To use rcbytes
, first add this to your Cargo.toml
:
[dependencies]
rcbytes = "1"
Next, add this to your crate:
use rcbytes::{Bytes, BytesMut, Buf, BufMut};
Serde support is optional and disabled by default. To enable use the feature serde
.
[dependencies]
rcbytes = { version = "1", features = ["serde"] }
This project is licensed under the MIT license.
Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in rcbytes
by you, shall be licensed as MIT, without any additional
terms or conditions.