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

#777 in Data structures

Download history 27764/week @ 2024-03-14 38731/week @ 2024-03-21 34283/week @ 2024-03-28 25869/week @ 2024-04-04 26660/week @ 2024-04-11 33570/week @ 2024-04-18 34873/week @ 2024-04-25 36100/week @ 2024-05-02 27638/week @ 2024-05-09 39234/week @ 2024-05-16 38999/week @ 2024-05-23 46959/week @ 2024-05-30 31402/week @ 2024-06-06 32722/week @ 2024-06-13 35792/week @ 2024-06-20 28687/week @ 2024-06-27

139,316 downloads per month
Used in 87 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

~66KB