nebz

Crates.ionebz
lib.rsnebz
version0.2.1
created_at2025-07-17 21:44:51.481679+00
updated_at2025-07-25 21:29:45.448214+00
descriptionan immutable non-empty bytes container
homepage
repositoryhttps://github.com/hubcycle/nebz
max_upload_size
id1758192
size34,423
hubcycle (hubcycle)

documentation

README

nebz

An immutable non-empty bytes container.

Dual-licensed under Apache 2.0 or MIT.

For more details, see docs.rs/nebz.

Safety Notice

This crate uses unsafe code for performance optimization in methods like first(), last(), split_first(), and split_last(). All unsafe blocks are:

  • Thoroughly documented with safety justifications
  • Protected by NonEmptyBz<T>'s non-empty guarantee
  • Verified with Miri - passes all undefined behavior detection tests

Run cargo +nightly miri test to verify the safety.

Commit count: 0

cargo fmt