aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorXe Iaso <me@christine.website>2022-04-02 16:24:39 +0000
committerXe Iaso <me@christine.website>2022-04-02 16:24:39 +0000
commit7c90296bf0a4da70c59e29cc022bcaaf09caa64c (patch)
tree7bb6dc2157ccffde46061d42008d3fe97487be84 /src
parent1c8c3396a735bd373be417df2138607f0206b736 (diff)
downloadxesite-7c90296bf0a4da70c59e29cc022bcaaf09caa64c.tar.xz
xesite-7c90296bf0a4da70c59e29cc022bcaaf09caa64c.zip
Update to Axum 0.5
Closes #446 Closes #447 Closes #448 Signed-off-by: Xe <me@christine.website>
Diffstat (limited to 'src')
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 8ff841f..ed35106 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -232,7 +232,7 @@ async fn main() -> Result<()> {
let _ = std::fs::remove_file(&sockpath);
let uds = UnixListener::bind(&sockpath)?;
axum::Server::builder(ServerAccept { uds })
- .serve(app.into_make_service_with_connect_info::<UdsConnectInfo, _>())
+ .serve(app.into_make_service_with_connect_info::<UdsConnectInfo>())
.await?;
}
Err(_) => {