Skip to content

Commit 09f7e6d

Browse files
authored
Salvo: upgrade to 0.31 (#20)
1 parent ae94ffe commit 09f7e6d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

benchmark/hello-world/salvo/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ edition = "2021"
66
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
77

88
[dependencies]
9-
salvo = "0.25"
9+
salvo = "0.31"
1010
tokio = { version = "1.12", features = ["rt-multi-thread", "macros"] }

benchmark/hello-world/salvo/src/main.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
use salvo::prelude::*;
22

3-
#[fn_handler]
3+
#[handler]
44
fn hello() -> &'static str {
55
"Hello, World!"
66
}

0 commit comments

Comments
 (0)