diff options
| author | Fuwn <[email protected]> | 2022-03-27 04:26:27 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2022-03-27 04:26:27 +0000 |
| commit | 168448dae1f66fbb6dc0e1acb0cdbd5b9721d3be (patch) | |
| tree | 5bd2dbf2640b1bad7fa77297be5d2fb4ff9a7514 /examples | |
| parent | refactor(handler): move handlers (diff) | |
| download | windmark-168448dae1f66fbb6dc0e1acb0cdbd5b9721d3be.tar.xz windmark-168448dae1f66fbb6dc0e1acb0cdbd5b9721d3be.zip | |
refactor(tokio): reexport main
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/windmark.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/windmark.rs b/examples/windmark.rs index e1e576e..ed6bc9f 100644 --- a/examples/windmark.rs +++ b/examples/windmark.rs @@ -23,7 +23,7 @@ extern crate log; use windmark::Response; -#[tokio::main] +#[windmark::main] async fn main() -> Result<(), Box<dyn std::error::Error>> { windmark::Router::new() .set_private_key_file("windmark_private.pem") |