#array #brownstone

brownstone

Utilities for building fixed-size arrays

5 stable releases

3.0.0 Apr 21, 2022
2.0.0 Apr 16, 2022
1.1.0 Dec 4, 2021
1.0.1 Aug 13, 2021

#918 in Data structures

Download history 29348/week @ 2024-12-17 8170/week @ 2024-12-24 15543/week @ 2024-12-31 33378/week @ 2025-01-07 38836/week @ 2025-01-14 36350/week @ 2025-01-21 37211/week @ 2025-01-28 44873/week @ 2025-02-04 39953/week @ 2025-02-11 41967/week @ 2025-02-18 43198/week @ 2025-02-25 36569/week @ 2025-03-04 44085/week @ 2025-03-11 49604/week @ 2025-03-18 45561/week @ 2025-03-25 36229/week @ 2025-04-01

181,493 downloads per month
Used in 98 crates (2 directly)

MPL-2.0 license

17KB
229 lines

brownstone

A library for safely constructing statically sized arrays


lib.rs:

brownstone is a library for building fixed-size arrays. It provides build, a macro that builds an array by evaluating an expression once for each element in the array. It also provides a low-level builder type, with a push + finish interface, as well as a misuse-immune builder type with a move-based interface that can never panic or return errors.

Dependencies

~68KB