From 6f27422c4c227f754b4c43da9f6ad8098123364c Mon Sep 17 00:00:00 2001 From: Andrew Poelstra Date: Mon, 30 Jul 2018 02:53:20 +0000 Subject: [PATCH 1/2] update gcc 0.3 to cc 1.0 --- Cargo.toml | 2 +- build.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 3542a9e..c7f6760 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,7 +14,7 @@ readme = "README.md" build = "build.rs" [build-dependencies] -gcc = "0.3" +cc = "1.0" [lib] name = "secp256k1" diff --git a/build.rs b/build.rs index 77e922f..29aac07 100644 --- a/build.rs +++ b/build.rs @@ -21,10 +21,10 @@ #![deny(unused_mut)] #![warn(missing_docs)] -extern crate gcc; +extern crate cc; fn main() { - let mut base_config = gcc::Build::new(); + let mut base_config = cc::Build::new(); base_config.include("depend/secp256k1/") .include("depend/secp256k1/include") .include("depend/secp256k1/src") From d4149be931551b661247b4950ea4f7196749935d Mon Sep 17 00:00:00 2001 From: Andrew Poelstra Date: Mon, 30 Jul 2018 03:03:20 +0000 Subject: [PATCH 2/2] update `rand` to 0.4 --- CHANGELOG.md | 2 ++ Cargo.toml | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a37af84..97d6fc5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,8 @@ # [Unreleased] +* Update `rand` to 0.4 and `gcc` 0.3 to `cc` 1.0. (`rand` 0.5 exists but has a lot of breaking changes and no longer compiles with 1.14.0.) + # 0.10.0 - 2018-07-25 * A [complete API overhaul](https://github.com/rust-bitcoin/rust-secp256k1/pull/27) to move many runtime errors into compiletime errors diff --git a/Cargo.toml b/Cargo.toml index c7f6760..f559b71 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -26,14 +26,14 @@ default = [] fuzztarget = [] [dev-dependencies] -rand = "0.3" +rand = "0.4" serde_test = "1.0" [dependencies] libc = "0.2" [dependencies.rand] -version = "0.3" +version = "0.4" optional = true [dependencies.serde]