counted-array

Crates.iocounted-array
lib.rscounted-array
version0.1.2
sourcesrc
created_at2016-04-13 21:34:00.361641
updated_at2017-07-25 21:27:12.793555
descriptionMacro for declaring fixed-size arrays without counting elements by hand. Supports lazy_static.
homepagehttps://github.com/durka/counted-array
repositoryhttps://github.com/durka/counted-array
max_upload_size
id4742
size7,469
Alex Burka (durka)

documentation

README

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.

Commit count: 9

cargo fmt