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

#1081 in Data structures

Download history 43737/week @ 2024-07-22 35057/week @ 2024-07-29 31132/week @ 2024-08-05 24147/week @ 2024-08-12 27520/week @ 2024-08-19 30032/week @ 2024-08-26 27403/week @ 2024-09-02 25889/week @ 2024-09-09 27687/week @ 2024-09-16 35197/week @ 2024-09-23 26963/week @ 2024-09-30 33421/week @ 2024-10-07 32879/week @ 2024-10-14 38726/week @ 2024-10-21 31259/week @ 2024-10-28 41575/week @ 2024-11-04

144,905 downloads per month
Used in 91 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