[[example]]
name = "sign_verify_recovery"
required-features = ["recovery", "bitcoin-hashes-std"]
[[example]]
name = "sign_verify"
required-features = ["bitcoin-hashes-std"]
[[example]]
name = "generate_keys"
required-features = ["rand-std"]
[dependencies.bitcoin_hashes]
default-features = false
optional = true
version = "0.11"
[dependencies.rand]
default-features = false
optional = true
version = "0.8"
[dependencies.secp256k1-sys]
default-features = false
version = "0.8.0"
[dependencies.serde]
default-features = false
optional = true
version = "1.0"
[dev-dependencies.bincode]
version = "1.3.3"
[dev-dependencies.rand_core]
version = "0.6"
[dev-dependencies.serde_test]
version = "1.0"
[features]
alloc = ["secp256k1-sys/alloc"]
bitcoin-hashes = ["bitcoin_hashes"]
bitcoin-hashes-std = ["std", "bitcoin_hashes", "bitcoin_hashes/std"]
default = ["std"]
global-context = ["std"]
global-context-less-secure = ["global-context"]
lowmemory = ["secp256k1-sys/lowmemory"]
rand-std = ["std", "rand", "rand/std", "rand/std_rng"]
recovery = ["secp256k1-sys/recovery"]
std = ["alloc", "secp256k1-sys/std"]
[package]
authors = ["Dawid Ciężarkiewicz <dpc@ucore.info>", "Andrew Poelstra <apoelstra@wpsoftware.net>"]
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."
documentation = "https://docs.rs/secp256k1/"
edition = "2018"
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.26.0"
[package.metadata.docs.rs]
features = ["rand", "rand-std", "serde", "bitcoin_hashes", "recovery", "global-context"]
rustdoc-args = ["--cfg", "docsrs"]
[target."cfg(target_arch = \"x86_64\")".dev-dependencies.cbor]
version = "0.4.1"
[target.wasm32-unknown-unknown.dev-dependencies.getrandom]
features = ["js"]
version = "0.2"
[target.wasm32-unknown-unknown.dev-dependencies.wasm-bindgen-test]
version = "0.3"