add an actix-web server sse example (#33)
* add an actix-web server sse example remove unused import * fix to apply cargo fmt and cargo clippy to pass the the repo checks
This commit is contained in:
parent
9c33eedbcb
commit
b3d655da31
1 changed files with 174 additions and 1 deletions
|
|
@ -25,6 +25,7 @@ rand = { version = "0.8" }
|
|||
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
|
||||
axum = { version = "0.8", features = ["macros"] }
|
||||
tokio = { version = "1", features = ["full"] }
|
||||
actix-web = "4"
|
||||
|
||||
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
|
||||
tokio = { version = "1", features = ["io-util", "rt", "time", "macros"] }
|
||||
|
|
@ -40,4 +41,8 @@ path = "src/axum.rs"
|
|||
|
||||
[[example]]
|
||||
name = "wasi_std_io"
|
||||
path = "src/wasi_std_io.rs"
|
||||
path = "src/wasi_std_io.rs"
|
||||
|
||||
[[example]]
|
||||
name = "actix_web"
|
||||
path = "src/actix_web.rs"
|
||||
Loading…
Reference in a new issue