Merge pull request #41 from rust-bitcoin/2018-07-updated-deps
Update a couple dependencies
This commit is contained in:
commit
fa670a0c2a
|
@ -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
|
||||
|
|
|
@ -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]
|
||||
|
|
4
build.rs
4
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")
|
||||
|
|
Loading…
Reference in New Issue