diff --git a/Cargo.lock b/Cargo.lock index 9beaabc81..bc89c7bcd 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1549,7 +1549,6 @@ version = "0.0.18" dependencies = [ "actix-rt", "actix-web", - "bytes", "clap", "crossbeam", "futures", diff --git a/rust-code-analysis-cli/Cargo.toml b/rust-code-analysis-cli/Cargo.toml index 2af5dfd5c..b6b0bfc03 100644 --- a/rust-code-analysis-cli/Cargo.toml +++ b/rust-code-analysis-cli/Cargo.toml @@ -13,7 +13,6 @@ name = "rust-code-analysis-cli" [dependencies] actix-rt = "^1.0" actix-web = "^3.2" -bytes = "^0.5" clap = "^2.33" crossbeam = "^0.7" futures = "^0.3" diff --git a/rust-code-analysis-cli/src/web/server.rs b/rust-code-analysis-cli/src/web/server.rs index 70a244f10..f5a441370 100644 --- a/rust-code-analysis-cli/src/web/server.rs +++ b/rust-code-analysis-cli/src/web/server.rs @@ -290,8 +290,8 @@ pub fn run(host: String, port: u16, n_threads: usize) -> std::io::Result<()> { #[cfg(test)] mod tests { + use actix_web::web::Bytes; use actix_web::{http::header::ContentType, http::StatusCode, test}; - use bytes::Bytes; use pretty_assertions::assert_eq; use serde_json::value::Value;