Merge pull request #41 from rust-bitcoin/2018-07-updated-deps

Update a couple dependencies
This commit is contained in:
Andrew Poelstra 2018-07-31 16:00:38 +00:00 committed by GitHub
commit fa670a0c2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 5 deletions

View File

@ -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

View File

@ -14,7 +14,7 @@ readme = "README.md"
build = "build.rs"
[build-dependencies]
gcc = "0.3"
cc = "1.0"
[lib]
name = "secp256k1"
@ -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]

View File

@ -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")