From bdcfc30fe8e9c3341ac04b36792e119de3c70ed3 Mon Sep 17 00:00:00 2001 From: Tony Arcieri Date: Tue, 27 Jun 2017 11:04:45 -0700 Subject: [PATCH 1/2] Only pull in subtle's std feature if "std" is enabled Otherwise subtle implicitly pulls in std because it's a default feature --- Cargo.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 7a25c98..75bcbe6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -34,6 +34,7 @@ version = "0.6" [dependencies.subtle] version = "^0.1" +default-features = false [dependencies.generic-array] # same version that digest depends on @@ -48,7 +49,7 @@ version = "0.6" [features] nightly = ["radix_51"] default = ["std"] -std = ["rand"] +std = ["rand", "subtle/std"] alloc = [] yolocrypto = [] bench = [] From beb15b8807da65c7cc045139ce81c4d5b6beecff Mon Sep 17 00:00:00 2001 From: Isis Lovecruft Date: Tue, 27 Jun 2017 20:47:45 +0000 Subject: [PATCH 2/2] Bump curve25519-dalek version to 0.9.2. --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 75bcbe6..025618f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "curve25519-dalek" -version = "0.9.1" +version = "0.9.2" authors = ["Isis Lovecruft ", "Henry de Valence "] readme = "README.md"