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

#1759 in Data structures

Download history 32879/week @ 2024-10-14 38726/week @ 2024-10-21 31259/week @ 2024-10-28 41531/week @ 2024-11-04 41914/week @ 2024-11-11 38125/week @ 2024-11-18 23876/week @ 2024-11-25 33835/week @ 2024-12-02 30025/week @ 2024-12-09 31791/week @ 2024-12-16 8445/week @ 2024-12-23 12096/week @ 2024-12-30 31770/week @ 2025-01-06 41638/week @ 2025-01-13 32757/week @ 2025-01-20 37378/week @ 2025-01-27

144,159 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

~69KB