rust-secp256k1-unsafe-fast/Cargo.toml

60 lines
1.9 KiB
TOML
Raw Normal View History

2014-07-07 05:41:22 +00:00
[package]
name = "secp256k1"
version = "0.19.0"
authors = [ "Dawid Ciężarkiewicz <dpc@ucore.info>",
"Andrew Poelstra <apoelstra@wpsoftware.net>" ]
license = "CC0-1.0"
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/"
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"
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
2015-07-28 17:38:01 +00:00
[features]
2020-03-24 13:20:18 +00:00
unstable = ["recovery", "rand-std"]
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"]
2020-11-06 22:17:22 +00:00
global-context = ["std", "rand-std"]
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]
secp256k1-sys = { version = "0.3.1", default-features = false, path = "./secp256k1-sys" }
2020-08-27 19:58:00 +00:00
bitcoin_hashes = { version = "0.9", optional = true }
rand = { version = "0.6", default-features = false, optional = true }
serde = { version = "1.0", default-features = false, optional = true }
[dev-dependencies]
2019-11-20 14:44:53 +00:00
rand = "0.6"
rand_core = "0.4"
serde_test = "1.0"
bitcoin_hashes = "0.9"
2015-07-28 17:38:01 +00:00
[target.wasm32-unknown-unknown.dev-dependencies]
wasm-bindgen-test = "0.3"
rand = { version = "0.6", features = ["wasm-bindgen"] }
[[example]]
name = "sign_verify_recovery"
required-features = ["recovery"]
[[example]]
name = "sign_verify"
[[example]]
name = "generate_keys"
2019-11-18 01:04:11 +00:00
required-features = ["rand"]