fixes tool callong
This commit is contained in:
+11
@@ -26,6 +26,17 @@ anyhow = "1"
|
||||
async-trait = "0.1"
|
||||
dotenvy = "0.15"
|
||||
|
||||
# --- OpenAPI / Swagger UI ---------------------------------------------------
|
||||
# `utoipa` derives the OpenAPI document from the handlers/schemas;
|
||||
# `utoipa-swagger-ui` serves the browsable UI (and the raw JSON) from Axum.
|
||||
utoipa = { version = "5", features = ["axum_extras"] }
|
||||
utoipa-swagger-ui = { version = "8", features = ["axum"] }
|
||||
# Constrain `zip` for `utoipa-swagger-ui`'s build script (it embeds the UI from
|
||||
# a zip at compile time). The 8.1 build script targets the older 2.x API
|
||||
# (`zip::read::ZipFile` was not yet generic; `ZipError::InvalidArchive` took a
|
||||
# `&str`), which the 2.3+/2.6 line changed — pinning here keeps it building.
|
||||
zip = { version = ">=2.2.0, <2.3.0", default-features = false, features = ["deflate"] }
|
||||
|
||||
# --- Optional HTTPS (see Config::tls_cert / tls_key) ------------------------
|
||||
# We pull these in with `default-features = false` because the crates are
|
||||
# already present as transitive deps of `reqwest` (rustls + ring), so enabling
|
||||
|
||||
Reference in New Issue
Block a user