| Crates.io | bitbound |
| lib.rs | bitbound |
| version | 0.1.1 |
| created_at | 2025-07-16 10:30:38.761294+00 |
| updated_at | 2025-07-21 09:52:38.738103+00 |
| description | A Rust crate for safe, efficient array access with compile time boundary protection. |
| homepage | |
| repository | https://github.com/Guilucand/bitbound-rs |
| max_upload_size | |
| id | 1755249 |
| size | 25,144 |
A Rust crate for safe, efficient array access with compile time boundary protection.
bitbound-rs provides mechanisms for safe unchecked access and overread operations on arrays through two primary techniques:
Bit-bounded access: Ensures index safety by enforcing array bounds at the bit level. This works by either:
Bounded operations: Provides zero-cost abstractions for array access with compile-time safety guarantees
Add this to your Cargo.toml:
[dependencies]
bitbound = "0.1.0"
MIT or Apache-2.0