Skip to content

Commit

Permalink
Upgrade Axum to 0.8
Browse files Browse the repository at this point in the history
  • Loading branch information
dialogflowchatbot committed Jan 12, 2025
1 parent abe7997 commit 5889649
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ name = "dialogflow"
# End
# artful = "0.1.1"
anyhow = "1.0"
axum = {version = "0.7", features = ["query", "tokio", "macros", "multipart"]}
axum = {version = "0.8", features = ["query", "tokio", "macros", "multipart"]}
bigdecimal = "0.4"
# bytes = "1.9"
# candle-core = { git = "https://github.com/huggingface/candle.git", version = "0.5.1" }
Expand Down Expand Up @@ -82,10 +82,12 @@ sqlite-vec = "0.1.6"
validator = "0.19.0"
zip = "2.2"
quick-xml = "0.37"
usearch = "2.16.10"
# triple_accel = "0.4.0"

[build-dependencies]
flate2 = "1.0"
# cc = "1.2.8"

[target.'cfg(windows)'.dependencies]
windows = {version = "0.58", features = ["Win32_Globalization","Win32_System_SystemServices"]}
Expand Down
2 changes: 1 addition & 1 deletion src/web/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ fn gen_router() -> Router {
.route("/subflow/new", post(subflow::new))
.route("/external/http", get(http::list))
.route(
"/external/http/:id",
"/external/http/{id}",
get(http::detail).post(http::save).delete(http::remove),
)
.route(
Expand Down

0 comments on commit 5889649

Please sign in to comment.