This commit is contained in:
Yong Wen Chua 2020-03-18 14:52:18 +08:00
parent d829301823
commit 172f423887
No known key found for this signature in database
GPG Key ID: A70BD30B21497EA9
4 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
# CHANGELOG
## 0.5.2 (2020-XX-XX)
## 0.5.2 (2020-03-18)
### Improvements

View File

@ -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 <me@yongwen.xyz>"]
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"

View File

@ -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};

View File

@ -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};