diff --git a/CHANGELOG.md b/CHANGELOG.md index 82054b9..c67e0e2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # CHANGELOG -## 0.5.2 (2020-XX-XX) +## 0.5.2 (2020-03-18) ### Improvements diff --git a/Cargo.toml b/Cargo.toml index b152f93..1d112e9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rocket_cors" -version = "0.5.1" +version = "0.5.2" license = "MIT/Apache-2.0" authors = ["Yong Wen Chua "] description = "Cross-origin resource sharing (CORS) for Rocket.rs applications" @@ -23,7 +23,7 @@ serialization = ["serde", "serde_derive", "unicase_serde"] [dependencies] regex = "1.1" rocket = { version = "0.4.2", default-features = false } -log = "0.3" +log = "0.4" unicase = "2.0" url = "2.1.0" diff --git a/src/fairing.rs b/src/fairing.rs index 3d96adc..34afaf3 100644 --- a/src/fairing.rs +++ b/src/fairing.rs @@ -1,6 +1,6 @@ //! Fairing implementation -use ::log::{error, info, log}; +use ::log::{error, info}; use rocket::http::{self, uri::Origin, Status}; use rocket::{self, error_, info_, log_, Outcome, Request}; diff --git a/src/lib.rs b/src/lib.rs index b06bc8f..57e9413 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -280,7 +280,7 @@ use std::marker::PhantomData; use std::ops::Deref; use std::str::FromStr; -use ::log::{debug, error, info, log}; +use ::log::{debug, error, info}; use regex::RegexSet; use rocket::http::{self, Status}; use rocket::request::{FromRequest, Request};