[package]
name = "libsecp256k1"
description = "Pure Rust secp256k1 implementation."
license = "Apache-2.0"
version = "0.3.5"
authors = ["Wei Tang <hi@that.world>"]
repository = "https://github.com/paritytech/libsecp256k1"
keywords = [ "crypto", "ECDSA", "secp256k1", "bitcoin", "no_std" ]
edition = "2018"
[lib]
name = "secp256k1"
[dependencies]
rand = { version = "0.7", default-features = false }
hmac-drbg = { version = "0.2", optional = true }
sha2 = { version = "0.8", optional = true, default-features = false }
digest = "0.8"
typenum = { version = "1.11", optional = true }
arrayref = "0.3"
subtle = { version = "2.2", default-features = false }
crunchy = "0.2"
[dev-dependencies]
secp256k1-test = "0.7"
clear_on_drop = "0.2"
rand-test = { package = "rand", version = "0.4" }
hex-literal = "0.2.1"
[features]
default = ["std", "hmac"]
std = ["subtle/std", "rand/std", "sha2/std"]
hmac = ["hmac-drbg", "sha2", "typenum"]
[workspace]
members = [
"./gen/ecmult",
"./gen/genmult",
]