Add "stream to file" example (#903)

* Add "stream to file" example

* add title tag
This commit is contained in:
David Pedersen
2022-04-03 12:28:29 +02:00
committed by GitHub
parent 01a4c88d7a
commit 2270cf7b3e
2 changed files with 130 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
[package]
name = "example-stream-to-file"
version = "0.1.0"
edition = "2018"
publish = false
[dependencies]
axum = { path = "../../axum", features = ["multipart"] }
futures = "0.3"
tokio = { version = "1.0", features = ["full"] }
tokio-util = { version = "0.7", features = ["io"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }