ntex/ntex-bytes
2024-04-02 18:08:55 +05:00
..
benches fork bytes crate 2021-06-26 00:14:43 +06:00
src Fix memory pool waiters management (#334) 2024-04-02 18:06:49 +05:00
tests Clippy warnings (#305) 2024-03-12 17:53:26 +05:00
Cargo.toml Remove unused dep 2024-04-02 18:08:55 +05:00
CHANGELOG.md Fix memory pool waiters management (#334) 2024-04-02 18:06:49 +05:00
LICENSE fork bytes crate 2021-06-26 00:14:43 +06:00
README.md Miri error 2024-01-16 13:24:25 +06:00

Bytes

A utility library for working with bytes. This is fork of bytes crate (https://github.com/tokio-rs/bytes)

Crates.io

Documentation

Usage

To use ntex-bytes, first add this to your Cargo.toml:

[dependencies]
ntex-bytes = "0.1"

Next, add this to your crate:

use ntex_bytes::{Bytes, BytesMut, Buf, BufMut};

Serde support

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

[dependencies]
ntex-bytes = { version = "0.1", features = ["serde"] }

License