This commit is contained in:
Armaël Guéneau 2025-02-03 17:48:15 +01:00
parent c64b53dfd7
commit 0974d02d02
3 changed files with 1 additions and 14 deletions

12
Cargo.lock generated
View file

@ -645,7 +645,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6d6fd624c75e18b3b4c6b9caf42b1afe24437daaee904069137d8bab077be8b8"
dependencies = [
"axum-core",
"axum-macros",
"bytes",
"form_urlencoded",
"futures-util",
@ -693,17 +692,6 @@ dependencies = [
"tracing",
]
[[package]]
name = "axum-macros"
version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "604fde5e028fea851ce1d8570bbdc034bec850d157f7569d10f347d06808c05c"
dependencies = [
"proc-macro2",
"quote",
"syn",
]
[[package]]
name = "backtrace"
version = "0.3.74"

View file

@ -14,7 +14,7 @@ url = "2"
anyhow = "1"
serde_json = "1"
rand = "0.8"
axum = { version = "0.8", features = ["form", "macros"] }
axum = { version = "0.8", features = ["form"] }
tera = "1"
lazy_static = "1"
actix-files = "0.6"

View file

@ -283,7 +283,6 @@ fn approx_score(score: f32) -> ApproxScore {
}
}
#[axum::debug_handler]
async fn get_index(
State(data): State<Arc<AppState>>,
Query(q): Query<SortSetting>,