parent
39fe99fb11
commit
fb57ebe3fe
|
@ -1,7 +1,8 @@
|
|||
//! Fairing implementation
|
||||
|
||||
use ::log::{error, info};
|
||||
use rocket::http::{self, uri::Origin, Status};
|
||||
use rocket::{self, error_, info_, outcome::Outcome, Request};
|
||||
use rocket::{self, error_, info_, log_, outcome::Outcome, Request};
|
||||
|
||||
use crate::{
|
||||
actual_request_response, origin, preflight_response, request_headers, validate, Cors, Error,
|
||||
|
|
|
@ -280,13 +280,12 @@ use std::marker::PhantomData;
|
|||
use std::ops::Deref;
|
||||
use std::str::FromStr;
|
||||
|
||||
|
||||
use ::log::info;
|
||||
use ::log::{debug, error, info};
|
||||
use regex::RegexSet;
|
||||
use rocket::http::{self, Status};
|
||||
use rocket::request::{FromRequest, Request};
|
||||
use rocket::response;
|
||||
use rocket::{debug_, error_, info_, outcome::Outcome, State};
|
||||
use rocket::{debug_, error_, info_, log_, outcome::Outcome, State};
|
||||
#[cfg(feature = "serialization")]
|
||||
use serde_derive::{Deserialize, Serialize};
|
||||
|
||||
|
|
Loading…
Reference in New Issue