Browse Source

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

Chrislearn Young 1 year ago
parent
commit
d8ddd4d016
1 changed files with 1 additions and 1 deletions
  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"] }
 mongodb = { version = "2.4.0", features = ["zstd-compression", "snappy-compression", "zlib-compression"] }
 once_cell = "1"
 once_cell = "1"
 rand = { version = "0.8", features = ["min_const_gen", "small_rng"] }
 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 = { version = "1", features = ["derive"] }
 serde_json = "1"
 serde_json = "1"
 # smallvec = "1"
 # smallvec = "1"