3 releases

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

#20 in #parity

Download history 31915/week @ 2025-11-10 29842/week @ 2025-11-17 33379/week @ 2025-11-24 39004/week @ 2025-12-01 36714/week @ 2025-12-08 34953/week @ 2025-12-15 11852/week @ 2025-12-22 9364/week @ 2025-12-29 29311/week @ 2026-01-05 26712/week @ 2026-01-12 31756/week @ 2026-01-19 25620/week @ 2026-01-26 31587/week @ 2026-02-02 28749/week @ 2026-02-09 26850/week @ 2026-02-16 32068/week @ 2026-02-23

119,595 downloads per month
Used in 71 crates (5 directly)

MIT/Apache

6KB
122 lines

General bytes-related utilities.

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


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.

No runtime deps

Features