counted-array
counted-array copied to clipboard
Rust macro crate for declaring fixed-size arrays without counting
Attempting to install this crate with cargo produces the error ``` $ cargo build Updating crates.io index Compiling counted-array v0.1.2 error[E0463]: can't find crate for `std` | = note: the...
``` error: no rules expected the token `compile_time_serde` --> src/main.rs:57:56 | 57 | counted_array::counted_array!(const GAMES: [Game; _] = compile_time_serde::deserialize_json!()); | ^^^^^^^^^^^^^^^^^^ no rules expected this token in macro call ```
StaticVec: https://github.com/slightlyoutofphase/staticvec I get the following error: ``` error: no rules expected the token `staticvec` --> src/main.rs:53:44 | 53 | counted_array::counted_array!(const GAMES: staticvec::StaticVec = compile_time_serde::deserialize_json!()); | ^^^^^^^^^ no rules expected...