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

#1192 in Data structures

Download history 21210/week @ 2023-11-27 22847/week @ 2023-12-04 20860/week @ 2023-12-11 13980/week @ 2023-12-18 5076/week @ 2023-12-25 17563/week @ 2024-01-01 21620/week @ 2024-01-08 24106/week @ 2024-01-15 24079/week @ 2024-01-22 31097/week @ 2024-01-29 24025/week @ 2024-02-05 32932/week @ 2024-02-12 30000/week @ 2024-02-19 39601/week @ 2024-02-26 35556/week @ 2024-03-04 10688/week @ 2024-03-11

116,444 downloads per month
Used in 80 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