[[example]]
name = "sign_verify_recovery"
required-features = ["recovery", "hashes-std"]
[[example]]
name = "sign_verify"
required-features = ["hashes-std"]
[[example]]
name = "generate_keys"
required-features = ["rand-std"]
[dependencies.hashes]
default-features = false
optional = true
package = "bitcoin_hashes"
version = ">= 0.12, <= 0.13"
[dependencies.rand]
default-features = false
optional = true
version = "0.8"
[dependencies.secp256k1-sys]
default-features = false
version = "0.9.2"
[dependencies.serde]
default-features = false
optional = true
version = "1.0.103"
[dev-dependencies.bincode]
version = "1.3.3"
[dev-dependencies.rand_core]
version = "0.6"
[dev-dependencies.serde_cbor]
version = "0.10.0"
[dev-dependencies.serde_test]
version = "1.0.19"
[features]
alloc = ["secp256k1-sys/alloc"]
default = ["std"]
global-context = ["std"]
global-context-less-secure = ["global-context"]
hashes-std = ["std", "hashes/std"]
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.28.2"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[target.wasm32-unknown-unknown.dev-dependencies.getrandom]
features = ["js"]
version = "0.2"
[target.wasm32-unknown-unknown.dev-dependencies.wasm-bindgen-test]
version = "0.3"