3 releases
Uses old Rust 2015
0.1.2 | Jul 25, 2017 |
---|---|
0.1.1 | Jan 20, 2017 |
0.1.0 | Apr 13, 2016 |
#2968 in Rust patterns
759 downloads per month
5KB
What it is
This crate exports a macro which can be used to declare a fixed-size array without counting the elements by hand. This is achieved by using macro recursion to make rustc count the elements at compile time.
The macro can declare local variables, consts, statics, and lazy statics (if you import that crate, or enable this crate's "nightly" feature).
For examples, see the tests directory.
Dependencies
~4KB