From 55ef6b97b3352d93877bdee74f830e810dff75de Mon Sep 17 00:00:00 2001 From: Jacob Pratt Date: Tue, 21 Jan 2020 03:05:12 -0500 Subject: [PATCH] Upgrade to time v0.2.4 v0.2.3 has been yanked, as it was backwards imcompatible. This version reverts the breaking change, while still supporting rustc back to 1.34.0. --- Cargo.toml | 2 +- actix-http/Cargo.toml | 2 +- actix-identity/Cargo.toml | 2 +- actix-session/Cargo.toml | 2 +- test-server/Cargo.toml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index d13a8a56f..5bdf021d2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -87,7 +87,7 @@ regex = "1.3" serde = { version = "1.0", features=["derive"] } serde_json = "1.0" serde_urlencoded = "0.6.1" -time = { version = "0.2.3", default-features = false } +time = { version = "0.2.4", default-features = false, features = ["std"] } url = "2.1" open-ssl = { version="0.10", package = "openssl", optional = true } rust-tls = { version = "0.16.0", package = "rustls", optional = true } diff --git a/actix-http/Cargo.toml b/actix-http/Cargo.toml index 047836ee0..d0443517b 100644 --- a/actix-http/Cargo.toml +++ b/actix-http/Cargo.toml @@ -76,7 +76,7 @@ serde_json = "1.0" sha-1 = "0.8" slab = "0.4" serde_urlencoded = "0.6.1" -time = { version = "0.2.3", default-features = false } +time = { version = "0.2.4", default-features = false, features = ["std"] } # for secure cookie ring = { version = "0.16.9", optional = true } diff --git a/actix-identity/Cargo.toml b/actix-identity/Cargo.toml index 9b78cca65..f8f805f92 100644 --- a/actix-identity/Cargo.toml +++ b/actix-identity/Cargo.toml @@ -21,7 +21,7 @@ actix-service = "1.0.2" futures = "0.3.1" serde = "1.0" serde_json = "1.0" -time = { version = "0.2.3", default-features = false } +time = { version = "0.2.4", default-features = false, features = ["std"] } [dev-dependencies] actix-rt = "1.0.0" diff --git a/actix-session/Cargo.toml b/actix-session/Cargo.toml index 31c23f676..7fa502243 100644 --- a/actix-session/Cargo.toml +++ b/actix-session/Cargo.toml @@ -29,7 +29,7 @@ derive_more = "0.99.2" futures = "0.3.1" serde = "1.0" serde_json = "1.0" -time = { version = "0.2.3", default-features = false } +time = { version = "0.2.4", default-features = false, features = ["std"] } [dev-dependencies] actix-rt = "1.0.0" diff --git a/test-server/Cargo.toml b/test-server/Cargo.toml index 551091f1a..ae08c4988 100644 --- a/test-server/Cargo.toml +++ b/test-server/Cargo.toml @@ -51,7 +51,7 @@ serde_json = "1.0" sha1 = "0.6" slab = "0.4" serde_urlencoded = "0.6.1" -time = { version = "0.2.3", default-features = false } +time = { version = "0.2.4", default-features = false, features = ["std"] } open-ssl = { version="0.10", package="openssl", optional = true } [dev-dependencies]