We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae94ffe commit 09f7e6dCopy full SHA for 09f7e6d
benchmark/hello-world/salvo/Cargo.toml
@@ -6,5 +6,5 @@ edition = "2021"
6
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
7
8
[dependencies]
9
-salvo = "0.25"
+salvo = "0.31"
10
tokio = { version = "1.12", features = ["rt-multi-thread", "macros"] }
benchmark/hello-world/salvo/src/main.rs
@@ -1,6 +1,6 @@
1
use salvo::prelude::*;
2
3
-#[fn_handler]
+#[handler]
4
fn hello() -> &'static str {
5
"Hello, World!"
}
0 commit comments