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

#1743 in Data structures

Download history 38337/week @ 2024-11-17 23736/week @ 2024-11-24 33969/week @ 2024-12-01 29825/week @ 2024-12-08 32019/week @ 2024-12-15 8116/week @ 2024-12-22 12294/week @ 2024-12-29 31704/week @ 2025-01-05 41613/week @ 2025-01-12 32736/week @ 2025-01-19 38087/week @ 2025-01-26 43898/week @ 2025-02-02 45616/week @ 2025-02-09 35391/week @ 2025-02-16 43675/week @ 2025-02-23 37979/week @ 2025-03-02

164,580 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