From 4de2f901a549f051c1a03b83fc114d38638dcbfb Mon Sep 17 00:00:00 2001 From: Vika Date: Wed, 2 Mar 2022 23:41:58 +0300 Subject: frontend: convert to warp Warp is using hyperium/http instead of http-types, so I replaced all of the http-types usage (mostly status codes) by Warp's http::StatusCode. Additionally some of the struct fields were made public to allow initialization from public code. --- src/frontend/login.rs | 1 - 1 file changed, 1 deletion(-) (limited to 'src/frontend/login.rs') diff --git a/src/frontend/login.rs b/src/frontend/login.rs index 1c7c662..35ce3db 100644 --- a/src/frontend/login.rs +++ b/src/frontend/login.rs @@ -5,7 +5,6 @@ use serde::{Deserialize, Serialize}; use sha2::{Digest, Sha256}; use std::convert::TryInto; use std::str::FromStr; -use tide::{Request, Response, Result}; use crate::frontend::templates::Template; use crate::frontend::{FrontendError, IndiewebEndpoints}; -- cgit 1.4.1