ntex/ntex-bytes
2024-12-30 14:40:31 +01:00
..
benches fork bytes crate 2021-06-26 00:14:43 +06:00
src Enable rustls/std feature (#494) 2024-12-30 14:40:31 +01:00
tests fix(github-actions): use rust toolchain arm64 version for macos 14 (#355) 2024-05-05 10:16:13 +02:00
Cargo.toml Fix tests runner (#413) 2024-09-05 19:32:38 +05:00
CHANGELOG.md Move more code under mpool feature (#342) 2024-04-08 12:28:42 +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