summaryrefslogtreecommitdiff
path: root/exes/rest/src/handler.rs
diff options
context:
space:
mode:
authorMatthieu Pignolet <matthieu@matthieu-dev.xyz>2023-02-21 14:06:53 +0400
committerGitHub <noreply@github.com>2023-02-21 14:06:53 +0400
commit452030018118db5982a5ef536d6efcaa7a8520e9 (patch)
tree6cd6c22c44a19e0c7c288ebe4563a3eae737f139 /exes/rest/src/handler.rs
parent05015037c97c6fbeccae594ab012a82bcbaae48b (diff)
bump dependencies (#39)
* bump dependencies * fix lint errors
Diffstat (limited to 'exes/rest/src/handler.rs')
-rw-r--r--exes/rest/src/handler.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/exes/rest/src/handler.rs b/exes/rest/src/handler.rs
index 1dbee58..c80132f 100644
--- a/exes/rest/src/handler.rs
+++ b/exes/rest/src/handler.rs
@@ -1,5 +1,4 @@
-use anyhow::{bail, Context};
-use futures_util::future::FutureExt;
+use anyhow::bail;
use hyper::http::{
header::{AUTHORIZATION, CONNECTION, HOST, TRANSFER_ENCODING, UPGRADE},
HeaderValue, Method as HttpMethod, Request, Response, Uri,