From 2b50e02d7a12f9d627958a682eda1c3e79e7691b Mon Sep 17 00:00:00 2001 From: Elichai Turkel Date: Wed, 21 Aug 2019 20:16:11 -0400 Subject: [PATCH 1/2] Add a rand-std feature --- .travis.yml | 1 + Cargo.toml | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 23321e9..bbf1d58 100644 --- a/.travis.yml +++ b/.travis.yml @@ -30,6 +30,7 @@ script: - cargo build --verbose --features=fuzztarget - cargo build --verbose --features=rand - cargo test --verbose --features=rand + - cargo test --verbose --features="rand rand-std" - cargo test --verbose --features="rand serde" - cargo test --verbose --features="rand serde recovery endomorphism" - cargo build --verbose diff --git a/Cargo.toml b/Cargo.toml index 8102b88..17bd09b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -28,7 +28,8 @@ path = "src/lib.rs" [features] unstable = [] default = ["std"] -std = ["rand/std"] +std = [] +rand-std = ["rand/std"] recovery = [] endomorphism = [] lowmemory = [] From 56753b14444b592cd471dad3936c178b924d401c Mon Sep 17 00:00:00 2001 From: Elichai Turkel Date: Mon, 28 Oct 2019 22:31:57 +0200 Subject: [PATCH 2/2] Bump version to 0.16 --- Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 17bd09b..573ca1f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "secp256k1" -version = "0.15.5" +version = "0.16.0" authors = [ "Dawid Ciężarkiewicz ", "Andrew Poelstra " ] license = "CC0-1.0" @@ -16,7 +16,7 @@ links = "secp256k1" # Should make docs.rs show all functions, even those behind non-default features [package.metadata.docs.rs] -features = [ "rand", "serde", "recovery", "endomorphism" ] +features = [ "rand", "rand-std", "serde", "recovery", "endomorphism" ] [build-dependencies] cc = ">= 1.0.28, < 1.0.42"