diff options
-rw-r--r-- | Cargo.lock | 1 | ||||
-rw-r--r-- | Cargo.toml | 1 | ||||
-rw-r--r-- | src/bin/obnam-server.rs | 2 |
3 files changed, 1 insertions, 3 deletions
@@ -1040,7 +1040,6 @@ name = "obnam" version = "0.3.1" dependencies = [ "anyhow", - "bytes 0.5.6", "bytesize", "chrono", "dirs", @@ -11,7 +11,6 @@ repository = "https://gitlab.com/larswirzenius/obnam" [dependencies] anyhow = "1" -bytes = "0.5" bytesize = "1" chrono = "0.4" dirs = "3" diff --git a/src/bin/obnam-server.rs b/src/bin/obnam-server.rs index ddbfce3..9a6540f 100644 --- a/src/bin/obnam-server.rs +++ b/src/bin/obnam-server.rs @@ -1,5 +1,4 @@ use anyhow::Context; -use bytes::Bytes; use log::{debug, error, info}; use obnam::chunk::DataChunk; use obnam::chunkid::ChunkId; @@ -15,6 +14,7 @@ use std::sync::Arc; use structopt::StructOpt; use tokio::sync::Mutex; use warp::http::StatusCode; +use warp::hyper::body::Bytes; use warp::Filter; #[derive(Debug, StructOpt)] |