[[example]]
name = "sign_verify_recovery"
required-features = ["recovery"]
[[example]]
name = "sign_verify"
[[example]]
name = "generate_keys"
required-features = ["rand"]
[dependencies.bitcoin_hashes]
optional = true
version = "0.9"
[dependencies.rand]
default-features = false
optional = true
version = "0.6"
[dependencies.secp256k1-sys]
default-features = false
version = "0.4.0"
[dependencies.serde]
default-features = false
optional = true
version = "1.0"
[dev-dependencies.bitcoin_hashes]
version = "0.9"
[dev-dependencies.rand]
version = "0.6"
[dev-dependencies.rand_core]
version = "0.4"
[dev-dependencies.serde_test]
version = "1.0"
[features]
alloc = []
default = ["std"]
global-context = ["std", "rand-std", "global-context-less-secure"]
global-context-less-secure = []
lowmemory = ["secp256k1-sys/lowmemory"]
rand-std = ["rand/std"]
recovery = ["secp256k1-sys/recovery"]
std = ["secp256k1-sys/std"]
unstable = ["recovery", "rand-std"]
[package]
authors = ["Dawid Ciężarkiewicz <dpc@ucore.info>", "Andrew Poelstra <apoelstra@wpsoftware.net>"]
autoexamples = false
description = "Rust bindings for Pieter Wuille's `libsecp256k1` library. Implements ECDSA for the SECG elliptic curve group secp256k1 and related utilities."
documentation = "https://docs.rs/secp256k1/"
homepage = "https://github.com/rust-bitcoin/rust-secp256k1/"
keywords = ["crypto", "ECDSA", "secp256k1", "libsecp256k1", "bitcoin"]
license = "CC0-1.0"
name = "secp256k1"
readme = "README.md"
repository = "https://github.com/rust-bitcoin/rust-secp256k1/"
version = "0.20.3"
[package.metadata.docs.rs]
features = ["rand", "rand-std", "serde", "recovery"]
[target.wasm32-unknown-unknown.dev-dependencies.rand]
features = ["wasm-bindgen"]
version = "0.6"
[target.wasm32-unknown-unknown.dev-dependencies.wasm-bindgen-test]
version = "0.3"