#bit #bytemuck #bits #frob #unsafe

no-std bitfrob

A sibling crate for bytemuck, this is where forbid(unsafe_code) utilities live

11 releases (5 stable)

1.3.1 May 13, 2023
1.3.0 Apr 6, 2023
1.2.0 Mar 28, 2023
1.0.0 Feb 12, 2023
0.1.1 Jul 30, 2022

#87 in No standard library

Download history 73/week @ 2024-01-11 135/week @ 2024-01-18 79/week @ 2024-01-25 85/week @ 2024-02-01 76/week @ 2024-02-08 106/week @ 2024-02-15 154/week @ 2024-02-22 110/week @ 2024-02-29 140/week @ 2024-03-07 104/week @ 2024-03-14 124/week @ 2024-03-21 128/week @ 2024-03-28 117/week @ 2024-04-04 119/week @ 2024-04-11 145/week @ 2024-04-18 97/week @ 2024-04-25

502 downloads per month
Used in 6 crates (3 directly)

Zlib OR Apache-2.0 OR MIT

28KB
486 lines

docs.rs Documentation

bitfrob

Helps you frob those bits


lib.rs:

A crate to help with bit manipulation of integers.

Features

  • track_caller adds the #[track_caller] attribute on all the functions that assert stuff.

No runtime deps

Features