3 releases

0.1.2 Mar 16, 2020
0.1.1 Oct 24, 2019
0.1.0 Aug 23, 2018

#19 in #allocator-api

Download history 32436/week @ 2024-11-15 30434/week @ 2024-11-22 29020/week @ 2024-11-29 32216/week @ 2024-12-06 28191/week @ 2024-12-13 9667/week @ 2024-12-20 11264/week @ 2024-12-27 24788/week @ 2025-01-03 34665/week @ 2025-01-10 33925/week @ 2025-01-17 33006/week @ 2025-01-24 30334/week @ 2025-01-31 33436/week @ 2025-02-07 40567/week @ 2025-02-14 31645/week @ 2025-02-21 26298/week @ 2025-02-28

137,019 downloads per month
Used in 38 crates (4 directly)

MIT/Apache

6KB
122 lines

no_std support

This crate has a feature, std, that is enabled by default. To use this crate in a no_std context, add the following to your Cargo.toml (still requires allocator though):

[dependencies]
parity-bytes = { version = "0.1", default-features = false }

Until allocator api is stabilized, this type of use is limited to nightly Rust.


lib.rs:

General bytes-related utilities.

Includes a pretty-printer for bytes, in the form of ToPretty and PrettySlice as

No runtime deps

Features