We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2fb58df + 15bccb9 commit c61d477Copy full SHA for c61d477
README.md
@@ -61,12 +61,18 @@ async-std = { version = "1.5.0", features = ["attributes"] }
61
#[async_std::main]
62
async fn main() -> Result<(), std::io::Error> {
63
let mut app = tide::new();
64
- app.at("/").get(|_| async move { "Hello, world!" });
+ app.at("/").get(|_| async { Ok("Hello, world!") });
65
app.listen("127.0.0.1:8080").await?;
66
Ok(())
67
}
68
```
69
70
+To try [the included examples](https://github.com/http-rs/tide/tree/master/examples), check out this repository and run
71
+```sh
72
+$ cargo run --example # shows a list of available examples
73
+$ cargo run --example hello
74
+```
75
+
76
## Resources
77
78
Read about the design here:
0 commit comments