From cd5f96ae15a631635413dfe22d8b64f8a0478b0d Mon Sep 17 00:00:00 2001 From: Paolo Barbolini Date: Sun, 27 Oct 2019 16:50:49 +0100 Subject: [PATCH] Update 'uuid', 'unicode-xid', and 'base64' dependencies. --- contrib/lib/Cargo.toml | 2 +- contrib/lib/src/uuid.rs | 2 +- core/http/Cargo.toml | 2 +- core/lib/Cargo.toml | 2 +- examples/uuid/Cargo.toml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/contrib/lib/Cargo.toml b/contrib/lib/Cargo.toml index df957bdb..a1ab855d 100644 --- a/contrib/lib/Cargo.toml +++ b/contrib/lib/Cargo.toml @@ -57,7 +57,7 @@ glob = { version = "0.3", optional = true } tera = { version = "0.11", optional = true } # UUID dependencies. -uuid = { version = "0.7", optional = true } +uuid = { version = ">=0.7.0, <0.9.0", optional = true } # Database dependencies diesel = { version = "1.0", default-features = false, optional = true } diff --git a/contrib/lib/src/uuid.rs b/contrib/lib/src/uuid.rs index 5fab5efd..c0ed0bf5 100644 --- a/contrib/lib/src/uuid.rs +++ b/contrib/lib/src/uuid.rs @@ -23,7 +23,7 @@ use std::ops::Deref; use rocket::request::{FromParam, FromFormValue}; use rocket::http::RawStr; -pub use self::uuid_crate::parser::ParseError; +type ParseError = ::Err; /// Implements [`FromParam`] and [`FromFormValue`] for accepting UUID values. /// diff --git a/core/http/Cargo.toml b/core/http/Cargo.toml index 4b837290..ab42b64c 100644 --- a/core/http/Cargo.toml +++ b/core/http/Cargo.toml @@ -29,7 +29,7 @@ rustls = { version = "0.15", optional = true } state = "0.4" cookie = { version = "0.12", features = ["percent-encode"] } pear = "0.1" -unicode-xid = "0.1" +unicode-xid = "0.2" [dependencies.hyper-sync-rustls] version = "=0.3.0-rc.5" diff --git a/core/lib/Cargo.toml b/core/lib/Cargo.toml index 534662eb..7827a2fe 100644 --- a/core/lib/Cargo.toml +++ b/core/lib/Cargo.toml @@ -33,7 +33,7 @@ num_cpus = "1.0" state = "0.4.1" time = "0.1" memchr = "2" # TODO: Use pear instead. -base64 = "0.10" +base64 = "0.11" base16 = "0.2" pear = "0.1" atty = "0.2" diff --git a/examples/uuid/Cargo.toml b/examples/uuid/Cargo.toml index 476f90d0..d64ae72b 100644 --- a/examples/uuid/Cargo.toml +++ b/examples/uuid/Cargo.toml @@ -8,7 +8,7 @@ publish = false [dependencies] rocket = { path = "../../core/lib" } lazy_static = "1.0" -uuid = "0.7" +uuid = "0.8" [dependencies.rocket_contrib] default-features = false