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

#1749 in Data structures

Download history 37173/week @ 2024-10-16 38864/week @ 2024-10-23 32590/week @ 2024-10-30 40550/week @ 2024-11-06 44532/week @ 2024-11-13 31316/week @ 2024-11-20 26853/week @ 2024-11-27 33557/week @ 2024-12-04 27319/week @ 2024-12-11 25630/week @ 2024-12-18 7863/week @ 2024-12-25 20257/week @ 2025-01-01 36003/week @ 2025-01-08 36302/week @ 2025-01-15 37100/week @ 2025-01-22 30695/week @ 2025-01-29

145,929 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