aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorFuwn <[email protected]>2022-03-27 04:26:27 +0000
committerFuwn <[email protected]>2022-03-27 04:26:27 +0000
commit168448dae1f66fbb6dc0e1acb0cdbd5b9721d3be (patch)
tree5bd2dbf2640b1bad7fa77297be5d2fb4ff9a7514 /examples
parentrefactor(handler): move handlers (diff)
downloadwindmark-168448dae1f66fbb6dc0e1acb0cdbd5b9721d3be.tar.xz
windmark-168448dae1f66fbb6dc0e1acb0cdbd5b9721d3be.zip
refactor(tokio): reexport main
Diffstat (limited to 'examples')
-rw-r--r--examples/windmark.rs2
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")