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
+13
View File
@@ -0,0 +1,13 @@
[package]
name = "example-readme"
version = "0.1.0"
edition = "2018"
publish = false
[dependencies]
axum = { path = "../.." }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0.68"
tokio = { version = "1.0", features = ["full"] }
tracing = "0.1"
tracing-subscriber = "0.2"