optargs 0.1.2

Easily create macros for functions with optional arguments
Documentation
1
2
3
4
5
6
7
8
#[optargs::optfn]
fn blah2(a: Option<&dyn Iterator<Item = i32>>) {}

fn main() {
    blah2! {
        a: &(0..10)
    }
}