Skip to content

Commit

Permalink
Move from tinyhttp to rouille
Browse files Browse the repository at this point in the history
Move away from TinyHTTP to a framework that provides:

1. A way to server static files via one function.
2. A better concurrency solution that isn't frought with peril for our usage.
  • Loading branch information
jsuereth committed Nov 6, 2024
1 parent 3466027 commit 0d39be9
Show file tree
Hide file tree
Showing 4 changed files with 211 additions and 83 deletions.
188 changes: 187 additions & 1 deletion Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ schemars = "0.8.21"
dirs = "5.0.1"
once_cell = "1.20.2"
opentelemetry = { version = "0.23.0", features = ["trace", "metrics", "logs", "otel_unstable"] }
tiny_http = "0.12.0"
rouille = "3.6.2"

# Features definition =========================================================
[features]
Expand Down
2 changes: 1 addition & 1 deletion crates/weaver_common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ serde.workspace = true
serde_json.workspace = true
miette.workspace = true
thiserror.workspace = true
tiny_http.workspace = true
rouille.workspace = true

[dev-dependencies]
ureq.workspace = true
Expand Down
Loading

0 comments on commit 0d39be9

Please sign in to comment.