2014-07-07 05:41:22 +00:00
[ package ]
2015-03-25 22:20:44 +00:00
name = "secp256k1"
2022-01-06 17:17:45 +00:00
version = "0.21.2"
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/"
2021-06-19 09:06:27 +00:00
description = "Rust wrapper library for Pieter Wuille's `libsecp256k1`. Implements ECDSA and BIP 340 signatures for the SECG elliptic curve group secp256k1 and related utilities."
2015-05-04 15:26:45 +00:00
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 ]
2022-01-07 00:12:41 +00:00
features = [ "rand" , "rand-std" , "serde" , "bitcoin_hashes" , "recovery" , "global-context" ]
2022-01-04 15:55:01 +00:00
rustdoc-args = [ "--cfg" , "docsrs" ]
2018-07-31 15:55:58 +00:00
2015-07-28 17:38:01 +00:00
[ features ]
2020-03-24 13:20:18 +00:00
unstable = [ "recovery" , "rand-std" ]
2019-02-18 12:30:39 +00:00
default = [ "std" ]
2019-10-21 12:15:19 +00:00
std = [ "secp256k1-sys/std" ]
2021-05-17 12:37:36 +00:00
# allow use of Secp256k1::new and related API that requires an allocator
alloc = [ ]
2019-08-22 00:16:11 +00:00
rand-std = [ "rand/std" ]
2019-10-21 12:15:19 +00:00
recovery = [ "secp256k1-sys/recovery" ]
lowmemory = [ "secp256k1-sys/lowmemory" ]
2022-02-01 04:43:46 +00:00
global-context = [ "std" ]
2019-10-28 21:21:47 +00:00
2019-10-21 12:15:19 +00:00
[ dependencies ]
2022-01-05 15:56:49 +00:00
secp256k1-sys = { version = "0.4.2" , default-features = false , path = "./secp256k1-sys" }
2021-09-08 05:21:39 +00:00
bitcoin_hashes = { version = "0.10" , optional = true }
2020-08-27 19:58:00 +00:00
rand = { version = "0.6" , default-features = false , optional = true }
serde = { version = "1.0" , default-features = false , optional = true }
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"
2021-09-08 05:21:39 +00:00
bitcoin_hashes = "0.10"
2015-07-28 17:38:01 +00:00
2020-04-16 17:07:14 +00:00
[ target . wasm32-unknown-unknown . dev-dependencies ]
wasm-bindgen-test = "0.3"
rand = { version = "0.6" , features = [ "wasm-bindgen" ] }
2019-10-28 20:09:18 +00:00
2019-10-28 20:10:31 +00:00
[ [ example ] ]
name = "sign_verify_recovery"
2022-02-01 03:59:29 +00:00
required-features = [ "std" , "recovery" ]
2019-10-28 20:10:31 +00:00
2019-10-28 20:09:59 +00:00
[ [ example ] ]
name = "sign_verify"
2022-02-01 03:59:29 +00:00
required-features = [ "std" ]
2019-10-28 20:09:59 +00:00
2019-10-28 20:09:18 +00:00
[ [ example ] ]
name = "generate_keys"
2022-02-01 03:59:29 +00:00
required-features = [ "std" , "rand-std" ]
2020-12-18 12:08:52 +00:00
[ workspace ]
members = [ "secp256k1-sys" ]
2021-01-11 19:15:10 +00:00
exclude = [ "no_std_test" ]