make secp256k1/rand a dev-dependency

This commit is contained in:
Elichai Turkel 2019-08-16 13:18:15 -04:00
parent 166e2bd121
commit 3bab3e7ea2
No known key found for this signature in database
GPG Key ID: 9383CDE9E8E66A7F
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" ] }