Add readme example project (#450)

* Add project based on the readme example

* Add readme project link to README.md

* Typo correction

* Update examples/readme-example/Cargo.toml

Use tracing-subscriber 0.2 to match other the other examples

Co-authored-by: David Pedersen <[email protected]>

* Update README.md

Use original readme phrasing for crate docs

Co-authored-by: David Pedersen <[email protected]>

* Rename readme-exmaple to readme

* Revert tracing call to debug from info

Co-authored-by: Jordan Gould <[email protected]>
Co-authored-by: David Pedersen <[email protected]>
This commit is contained in:
Jordan Gould
2021-11-03 07:23:28 +00:00
committed by GitHub
co-authored by David Pedersen Jordan Gould
parent 2ba9cdce45
commit 1c60255b9f
3 changed files with 86 additions and 0 deletions
+3
View File
@@ -92,6 +92,8 @@ struct User {
}
```
You can find this [example][readme-example] as well as other example projects in the [example directory][examples].
See the [crate documentation][docs] for way more examples.
## Performance
@@ -136,6 +138,7 @@ Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in `axum` by you, shall be licensed as MIT, without any
additional terms or conditions.
[readme-example]: https://github.com/tokio-rs/axum/tree/main/examples/readme-example
[examples]: https://github.com/tokio-rs/axum/tree/main/examples
[docs]: https://docs.rs/axum
[`tower`]: https://crates.io/crates/tower