#byte-stream #irox #no-alloc

no-std irox-bits

Bits & Bobs. No-std/No-alloc bit/byte manipulation of streams

13 releases

new 0.5.0 Feb 2, 2026
0.4.2 Mar 1, 2025
0.4.1 Feb 12, 2025
0.3.0 Dec 14, 2024
0.1.4 Jul 19, 2024

#2206 in Encoding

Download history 56/week @ 2025-10-10 105/week @ 2025-10-17 68/week @ 2025-10-24 85/week @ 2025-10-31 67/week @ 2025-11-07 65/week @ 2025-11-14 72/week @ 2025-11-21 70/week @ 2025-11-28 65/week @ 2025-12-05 66/week @ 2025-12-12 62/week @ 2025-12-19 51/week @ 2025-12-26 75/week @ 2026-01-02 15/week @ 2026-01-09 86/week @ 2026-01-16 70/week @ 2026-01-23

246 downloads per month
Used in 36 crates (14 directly)

MIT/Apache

110KB
2.5K SLoC

IROX-BITS

Bits & Bobs. No-std/No-alloc bit/byte manipulation of streams.

The main traits provided by this crate are Bits (analogous to std::io::Read), and MutBits (analogous to std::io::Write).

Also included are multi-OS wrappers SeekRead and SeekWrite, and a more organic UTF-8 encoding/decoding setup for chars.

This is an Irox foundational crate, it has no external dependencies, is no-std/no-alloc by default (but can be augmented by using the std and alloc features), and many other irox crates extend and augment the functionality contained herein. irox_structs is notable as it provides a derivable way to encode/decode structs as a sequence of bytes.

No-STD support:

  • The core traits Bits and MutBits and the majority of the functionality of this crate are available no-std/no-alloc.

Features:

No runtime deps

Features