瀏覽代碼

[salvo] Enable feature server for fix compile error (#8664)

Chrislearn Young 1 年之前
父節點
當前提交
d8ddd4d016
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      frameworks/Rust/salvo/Cargo.toml

+ 1 - 1
frameworks/Rust/salvo/Cargo.toml

@@ -49,7 +49,7 @@ markup = "0.15"
 mongodb = { version = "2.4.0", features = ["zstd-compression", "snappy-compression", "zlib-compression"] }
 once_cell = "1"
 rand = { version = "0.8", features = ["min_const_gen", "small_rng"] }
-salvo = { version = "0.63", default-features = false, features = ["anyhow", "http1", "affix"] }
+salvo = { version = "0.63", default-features = false, features = ["anyhow", "server", "http1", "affix"] }
 serde = { version = "1", features = ["derive"] }
 serde_json = "1"
 # smallvec = "1"