rust-secp256k1-unsafe-fast/Cargo.toml

69 lines
1.7 KiB
TOML
Raw Normal View History

2014-07-07 05:41:22 +00:00
[package]
name = "secp256k1"
2019-11-18 01:04:11 +00:00
version = "0.16.1"
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"
build = "build.rs"
links = "secp256k1"
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
[build-dependencies]
cc = ">= 1.0.28, < 1.0.42"
[lib]
name = "secp256k1"
2015-04-09 15:35:38 +00:00
path = "src/lib.rs"
2015-07-28 17:38:01 +00:00
[features]
unstable = []
default = ["std"]
2019-08-22 00:16:11 +00:00
std = []
rand-std = ["rand/std"]
2019-05-20 19:41:10 +00:00
recovery = []
endomorphism = []
lowmemory = []
2019-10-28 21:21:47 +00:00
# Do not use this feature! HAZMAT. (meant for Bitcoin Core only)
dont_replace_c_symbols = []
2019-10-28 21:21:47 +00:00
# Do not use this feature! HAZMAT. (meant for Fuzzing only. this is *BROKEN CRYPTOGRAPHY*)
fuzztarget = []
[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]
version = "0.6"
2017-12-19 20:49:01 +00:00
optional = true
default-features = false
[dependencies.serde]
version = "1.0"
optional = true
default-features = false
[[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"]