2014-07-07 05:41:22 +00:00
[ package ]
2015-03-25 22:20:44 +00:00
name = "secp256k1"
2019-12-11 17:50:23 +00:00
version = "0.17.1"
2014-09-01 03:26:02 +00:00
authors = [ "Dawid Ciężarkiewicz <dpc@ucore.info>" ,
2015-05-04 15:33:53 +00:00
"Andrew Poelstra <apoelstra@wpsoftware.net>" ]
2015-05-04 15:26:45 +00:00
license = "CC0-1.0"
2018-03-05 19:42:39 +00:00
homepage = "https://github.com/rust-bitcoin/rust-secp256k1/"
repository = "https://github.com/rust-bitcoin/rust-secp256k1/"
2018-07-09 12:13:13 +00:00
documentation = "https://docs.rs/secp256k1/"
2015-05-04 15:26:45 +00:00
description = "Rust bindings for Pieter Wuille's `libsecp256k1` library. Implements ECDSA for the SECG elliptic curve group secp256k1 and related utilities."
keywords = [ "crypto" , "ECDSA" , "secp256k1" , "libsecp256k1" , "bitcoin" ]
readme = "README.md"
2019-10-28 20:09:18 +00:00
autoexamples = false # Remove when edition 2018 https://github.com/rust-lang/cargo/issues/5330
2018-07-31 15:55:58 +00:00
# Should make docs.rs show all functions, even those behind non-default features
[ package . metadata . docs . rs ]
2019-10-28 20:31:57 +00:00
features = [ "rand" , "rand-std" , "serde" , "recovery" , "endomorphism" ]
2018-07-31 15:55:58 +00:00
2014-08-18 01:55:07 +00:00
[ lib ]
2015-03-25 22:20:44 +00:00
name = "secp256k1"
2015-04-09 15:35:38 +00:00
path = "src/lib.rs"
2014-09-01 03:26:02 +00:00
2015-07-28 17:38:01 +00:00
[ features ]
unstable = [ ]
2019-02-18 12:30:39 +00:00
default = [ "std" ]
2019-10-21 12:15:19 +00:00
std = [ "secp256k1-sys/std" ]
2019-08-22 00:16:11 +00:00
rand-std = [ "rand/std" ]
2019-10-21 12:15:19 +00:00
recovery = [ "secp256k1-sys/recovery" ]
endomorphism = [ "secp256k1-sys/endomorphism" ]
lowmemory = [ "secp256k1-sys/lowmemory" ]
2019-10-28 21:21:47 +00:00
2019-10-29 11:19:53 +00:00
# Use this feature to not compile the bundled libsecp256k1 C symbols,
# but use external ones. Use this only if you know what you are doing!
external-symbols = [ "secp256k1-sys/external-symbols" ]
2019-10-28 21:21:47 +00:00
# Do not use this feature! HAZMAT. (meant for Fuzzing only. this is *BROKEN CRYPTOGRAPHY*)
2019-10-21 12:15:19 +00:00
fuzztarget = [ "secp256k1-sys/fuzztarget" ]
[ dependencies ]
2019-12-11 17:50:23 +00:00
secp256k1-sys = { version = "0.1.1" , default-features = false , path = "./secp256k1-sys" }
2017-12-19 20:36:46 +00:00
[ dev-dependencies ]
2019-11-20 14:44:53 +00:00
rand = "0.6"
rand_core = "0.4"
serde_test = "1.0"
bitcoin_hashes = "0.7"
2015-07-28 17:38:01 +00:00
2017-12-19 20:49:01 +00:00
[ dependencies . rand ]
2019-01-11 20:57:34 +00:00
version = "0.6"
2017-12-19 20:49:01 +00:00
optional = true
2019-02-18 12:30:39 +00:00
default-features = false
2018-07-25 13:57:36 +00:00
[ dependencies . serde ]
version = "1.0"
optional = true
2019-02-18 12:30:39 +00:00
default-features = false
2019-10-28 20:09:18 +00:00
2019-10-28 20:10:31 +00:00
[ [ example ] ]
name = "sign_verify_recovery"
required-features = [ "recovery" ]
2019-10-28 20:09:59 +00:00
[ [ example ] ]
name = "sign_verify"
2019-10-28 20:09:18 +00:00
[ [ example ] ]
name = "generate_keys"
2019-11-18 01:04:11 +00:00
required-features = [ "rand" ]