Registry / utility / array-macro

array-macro

JSON →
library2.1.8rscratesunverified

Provides a macro for constructing arrays with multiple elements using a concise syntax.

# Cargo.toml [dependencies] array-macro = "2.1.8"
INSTALL
IMPORT
SIG · ARRAY-MACRO
A
array-macro
utilityrustv2.1.8
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

array
use array_macro::array;

Creates an array literal using the array! macro.

use array_macro::array; fn main() { let arr: [i32; 5] = array![1, 2, 3, 4, 5]; println!("{:?}", arr); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.1.8latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
19 hits · last 30 days
node
16
OpenAI (training)
2
Amazon
1
Resources
array-macro — cargo add array-macro · libregistry