# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.63.0" name = "secp256k1" version = "0.30.0" authors = [ "Dawid Ciężarkiewicz ", "Andrew Poelstra ", ] 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." homepage = "https://github.com/rust-bitcoin/rust-secp256k1/" documentation = "https://docs.rs/secp256k1/" readme = "README.md" keywords = [ "crypto", "ECDSA", "secp256k1", "libsecp256k1", "bitcoin", ] license = "CC0-1.0" repository = "https://github.com/rust-bitcoin/rust-secp256k1/" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [[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] version = "0.14" optional = true default-features = false package = "bitcoin_hashes" [dependencies.rand] version = "0.8" optional = true default-features = false [dependencies.secp256k1-sys] version = "0.10.0" default-features = false [dependencies.serde] version = "1.0.103" optional = true default-features = false [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" [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", ] [target.wasm32-unknown-unknown.dev-dependencies.getrandom] version = "0.2" features = ["js"] [target.wasm32-unknown-unknown.dev-dependencies.wasm-bindgen-test] version = "0.3" [lints.rust.unexpected_cfgs] level = "deny" priority = 0