Skip to content

Commit

Permalink
Port miniserve to async
Browse files Browse the repository at this point in the history
  • Loading branch information
willcrichton committed Jul 30, 2024
1 parent e99be85 commit 7e751ab
Show file tree
Hide file tree
Showing 6 changed files with 406 additions and 108 deletions.
306 changes: 306 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 1 addition & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,4 @@ members = ["crates/*"]
resolver = "2"

[workspace.dependencies]
tokio = { version = "1.38.0", features = ["full"] }
axum = "0.7.5"
serde = { version = "1.0.204", features = ["derive"] }
rand = { version = "0.8.5", features = ["small_rng"] }
tokio = "1.39.2"
4 changes: 4 additions & 0 deletions crates/miniserve/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,9 @@ version = "0.1.0"
edition = "2021"

[dependencies]
futures = { version = "0.3.30", default-features = false }
http = "1.1.0"
httparse = "1.9.4"
tokio = { workspace = true, default-features = false, features = ["net", "rt"] }
tokio-stream = { version = "0.1.15", default-features = false }
tokio-util = { version = "0.7.11", default-features = false, features = ["codec"] }
Loading

0 comments on commit 7e751ab

Please sign in to comment.