optargs 0.1.0

Easily create macros for functions with optional arguments
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
fn main() {
    // let next_reddit_post = go_gme!(
    //     to_the_moon,
    //     rocket_ships: 10,
    // );
}

// #[optargs]
fn go_gme(
    to_the_moon: Option<bool>,
    rocket_ships: Option<usize>,
    doges: Option<usize>,
    diamond_hands: Option<&str>,
    tendies: Option<bool>,
) -> String {
    "blah".to_string()
}