Registry / utility / seq-macro

seq-macro

JSON →
library0.3.6rscratesunverified

Macro to repeat sequentially indexed copies of a fragment of code, useful for generating repetitive code.

# Cargo.toml [dependencies] seq-macro = "0.3.6"
INSTALL
IMPORT
SIG · SEQ-MACRO
S
seq-macro
utilityrustv0.3.6
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.

seq
use seq_macro::seq;

Generates code for each integer in a range, printing iteration numbers.

use seq_macro::seq; fn main() { seq!(N in 0..4 { println!("Iteration {}", N); }); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.3.6latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Amazon
1
Resources
seq-macro — cargo add seq-macro · libregistry