feat: update axum to v0.8.1 (#595)

This commit is contained in:
Valerio Ageno
2025-02-26 19:01:10 +01:00
committed by GitHub
parent 059f3d6476
commit caf1a58a0b
11 changed files with 103 additions and 20 deletions
+11
View File
@@ -0,0 +1,11 @@
use tuono_lib::Request;
#[tuono_lib::api(GET)]
async fn read_catch_all_parameter(req: Request) -> String {
let param = req
.params
.get("catch_all")
.expect("Failed to get the catch_all param");
param.to_string()
}