3 releases

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

#14 in #parity

Download history 22065/week @ 2025-08-14 19296/week @ 2025-08-21 35667/week @ 2025-08-28 30179/week @ 2025-09-04 27020/week @ 2025-09-11 26717/week @ 2025-09-18 29464/week @ 2025-09-25 31817/week @ 2025-10-02 25853/week @ 2025-10-09 25653/week @ 2025-10-16 23895/week @ 2025-10-23 23468/week @ 2025-10-30 38803/week @ 2025-11-06 24392/week @ 2025-11-13 34514/week @ 2025-11-20 26645/week @ 2025-11-27

128,688 downloads per month
Used in 52 crates (4 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