From 65baa83fb4efd1ba08600def5f4dacf849eda040 Mon Sep 17 00:00:00 2001 From: Sergio Benitez Date: Fri, 5 Jan 2018 02:00:26 -0800 Subject: [PATCH] Update dependencies. * 'memchr' to 2.0 * 'base64' to 0.9 * 'smallvec' to 0.6 * 'lazy_static' to 1.0 Update example dependencies. * 'rand' to 0.4 * 'parking_lot' to 0.5 --- examples/pastebin/Cargo.toml | 2 +- examples/todo/Cargo.toml | 4 ++-- examples/uuid/Cargo.toml | 2 +- lib/Cargo.toml | 8 ++++---- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/examples/pastebin/Cargo.toml b/examples/pastebin/Cargo.toml index 907ff59a..ee596917 100644 --- a/examples/pastebin/Cargo.toml +++ b/examples/pastebin/Cargo.toml @@ -6,4 +6,4 @@ workspace = "../../" [dependencies] rocket = { path = "../../lib" } rocket_codegen = { path = "../../codegen" } -rand = "0.3" +rand = "0.4" diff --git a/examples/todo/Cargo.toml b/examples/todo/Cargo.toml index 8737eb02..2fa8e350 100644 --- a/examples/todo/Cargo.toml +++ b/examples/todo/Cargo.toml @@ -16,8 +16,8 @@ r2d2-diesel = "1.0" dotenv = "0.10" [dev-dependencies] -parking_lot = {version = "0.4", features = ["nightly"]} -rand = "0.3" +parking_lot = {version = "0.5", features = ["nightly"]} +rand = "0.4" [dependencies.rocket_contrib] path = "../../contrib" diff --git a/examples/uuid/Cargo.toml b/examples/uuid/Cargo.toml index 9a557dbc..3dd1bed3 100644 --- a/examples/uuid/Cargo.toml +++ b/examples/uuid/Cargo.toml @@ -7,7 +7,7 @@ workspace = "../../" rocket = { path = "../../lib" } rocket_codegen = { path = "../../codegen" } uuid = "^0.5" -lazy_static = "^0.2" +lazy_static = "1.0" [dependencies.rocket_contrib] default-features = false diff --git a/lib/Cargo.toml b/lib/Cargo.toml index 19d13704..900a9f12 100644 --- a/lib/Cargo.toml +++ b/lib/Cargo.toml @@ -25,9 +25,9 @@ toml = "0.4.2" num_cpus = "1.0" state = "0.3.1" time = "0.1" -memchr = "1" -base64 = "0.7" -smallvec = "0.4" +memchr = "2" +base64 = "0.9" +smallvec = "0.6" pear = "0.0.12" pear_codegen = "0.0.12" rustls = { version = "0.11.0", optional = true } @@ -42,7 +42,7 @@ rev = "a15b37a" features = ["percent-encode", "secure"] [dev-dependencies] -lazy_static = "0.2" +lazy_static = "1.0" rocket_codegen = { version = "0.4.0-dev", path = "../codegen" } [build-dependencies]