diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-03-24 09:57:24 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-03-24 09:59:27 +0200 |
commit | c3f415ea698e85d903dc5fe833b14207f297ea23 (patch) | |
tree | 9b4d6bcebce0f72d77b7269f03bdde0b2df1fe23 /src/bin/obnam-server.rs | |
parent | 237062e6ca0d180e41e6d5da5c7a958adc83b41c (diff) | |
download | obnam2-c3f415ea698e85d903dc5fe833b14207f297ea23.tar.gz |
chore: use warp's bytes instead of bytes crate directly
Diffstat (limited to 'src/bin/obnam-server.rs')
-rw-r--r-- | src/bin/obnam-server.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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)] |