diff --git a/Cargo.toml b/Cargo.toml index 244e2c8d2..5e8627a1b 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 = "0.2.2" +time = { version = "0.2.2", 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 c7d752087..818399deb 100644 --- a/actix-http/Cargo.toml +++ b/actix-http/Cargo.toml @@ -76,7 +76,7 @@ serde_json = "1.0" sha1 = "0.6" slab = "0.4" serde_urlencoded = "0.6.1" -time = "0.2.2" +time = { version = "0.2.2", 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 de4853947..d6db6caf1 100644 --- a/actix-identity/Cargo.toml +++ b/actix-identity/Cargo.toml @@ -22,7 +22,7 @@ actix-service = "1.0.1" futures = "0.3.1" serde = "1.0" serde_json = "1.0" -time = "0.2.2" +time = { version = "0.2.2", 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 9122a4e28..f96d16108 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 = "0.2.2" +time = { version = "0.2.2", 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 21d6aad04..c901c929d 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 = "0.2.2" +time = { version = "0.2.2", default-features = false, features = ["std"] } open-ssl = { version="0.10", package="openssl", optional = true } [dev-dependencies]