Merge pull request #315 from elichai/2019-08-deps

Make secp256k1/rand a dev-dependency
This commit is contained in:
Steven Roose 2019-08-16 19:05:02 +01:00 committed by GitHub
commit 6651cf942b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 3 deletions

View File

@ -24,6 +24,7 @@ bech32 = "0.7.1"
byteorder = "1.2" byteorder = "1.2"
bitcoin_hashes = "0.7" bitcoin_hashes = "0.7"
bitcoinconsensus = { version = "0.16", optional = true } bitcoinconsensus = { version = "0.16", optional = true }
secp256k1 = "0.12"
[dependencies.serde] [dependencies.serde]
version = "1" version = "1"
@ -33,11 +34,9 @@ optional = true
[dependencies.hex] [dependencies.hex]
version = "=0.3.2" version = "=0.3.2"
[dependencies.secp256k1]
version = "0.12"
features = [ "rand" ]
[dev-dependencies] [dev-dependencies]
serde_derive = "1" serde_derive = "1"
serde_json = "1" serde_json = "1"
serde_test = "1" serde_test = "1"
secp256k1 = { version = "0.12", features = [ "rand" ] }