summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Cargo.lock1
-rw-r--r--Cargo.toml1
-rw-r--r--src/bin/obnam-server.rs2
3 files changed, 1 insertions, 3 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 1531789..6067bf2 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1040,7 +1040,6 @@ name = "obnam"
version = "0.3.1"
dependencies = [
"anyhow",
- "bytes 0.5.6",
"bytesize",
"chrono",
"dirs",
diff --git a/Cargo.toml b/Cargo.toml
index f1d1a4d..73f13da 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -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)]