server-less 0.6.0

Composable derive macros for common Rust patterns
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use server_less::cli;

struct MyApp;

// A parameter named `manual` collides with the injected `--manual` global flag.
// The collision guard turns clap's runtime panic into a spanned compile error.
#[cli]
impl MyApp {
    fn render(&self, manual: String) {
        println!("{manual}");
    }
}

fn main() {}