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

#1068 in Data structures

Download history 25842/week @ 2024-09-08 27615/week @ 2024-09-15 35263/week @ 2024-09-22 26738/week @ 2024-09-29 33733/week @ 2024-10-06 32818/week @ 2024-10-13 38686/week @ 2024-10-20 31278/week @ 2024-10-27 41586/week @ 2024-11-03 41688/week @ 2024-11-10 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 8110/week @ 2024-12-22

104,434 downloads per month
Used in 96 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