add a streaming example

This commit is contained in:
Evan Almloff committed 2024-02-16 16:04:12 -06:00
1 parent 31a7d2ac04
commit 2952578a2e
6 files changed
+92 -29

No files matched your search

@@ -0,0 +1,24 @@
[package]
name = "axum-streaming"
version = "0.1.0"
edition = "2021"
publish = false
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
dioxus = { workspace = true, features = ["fullstack"] }
serde = "1.0.159"
simple_logger = "4.2.0"
tracing-wasm = "0.2.1"
tracing.workspace = true
tracing-subscriber = "0.3.17"
futures = "0.3.30"
tokio = { workspace = true, optional = true }
futures-util.workspace = true
once_cell = "1.19.0"
[features]
default = []
server = ["dioxus/axum", "tokio"]
web = ["dioxus/web"]