[dependencies.hashes]
default-features = false
optional = true
package = "bitcoin_hashes"
version = "0.14"
[dependencies.rand]
default-features = false
optional = true
version = "0.8"
[dependencies.secp256k1-sys]
default-features = false
version = "0.10.0"
[dependencies.serde]
default-features = false
optional = true
version = "1.0.103"
[dev-dependencies.bincode]
version = "1.3.3"
[dev-dependencies.hex_lit]
version = "0.1.1"
[dev-dependencies.rand_core]
version = "0.6"
[dev-dependencies.serde_cbor]
version = "0.10.0"
[dev-dependencies.serde_test]
version = "1.0.19"
[[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"]
[features]
alloc = ["secp256k1-sys/alloc"]
default = ["std"]
global-context = ["std"]
global-context-less-secure = ["global-context"]
lowmemory = ["secp256k1-sys/lowmemory"]
recovery = ["secp256k1-sys/recovery"]
std = ["alloc", "secp256k1-sys/std", "rand?/std", "rand?/std_rng", "hashes?/std"]
[lints.rust.unexpected_cfgs]
level = "deny"
priority = 0
[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 = "2021"
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/"
rust-version = "1.63.0"
version = "0.30.0"
[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"