Skip to content

Commit

Permalink
Remove a useless bytes dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
Luni-4 authored and spacedragon committed Feb 2, 2021
1 parent 3505820 commit c54ca6c
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion rust-code-analysis-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion rust-code-analysis-cli/src/web/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit c54ca6c

Please sign in to comment.