# 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.73" name = "p256k" version = "0.0.1-alpha" authors = ["RustCrypto Developers"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = """ secp256k1 elliptic curve library written in pure Rust with support for ECDSA signing/verification/public-key recovery, Taproot Schnorr signatures (BIP340), Elliptic Curve Diffie-Hellman (ECDH), and general-purpose secp256k1 elliptic curve group operations which can be used to implement arbitrary protocols """ homepage = "https://github.com/RustCrypto/elliptic-curves/tree/master/p256k" documentation = "https://docs.rs/p256k" readme = "README.md" keywords = [ "bitcoin", "crypto", "ecc", "ethereum", "secp256k1", ] categories = [ "cryptography", "cryptography::cryptocurrencies", "no-std", ] license = "Apache-2.0 OR MIT" repository = "https://github.com/RustCrypto/elliptic-curves" [package.metadata.docs.rs] features = [ "ecdh", "ecdsa", "schnorr", ] rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "p256k" path = "src/lib.rs" [[bench]] name = "ecdsa" path = "benches/ecdsa.rs" harness = false required-features = [ "ecdsa", "sha256", ] [[bench]] name = "field" path = "benches/field.rs" harness = false required-features = ["expose-field"] [[bench]] name = "scalar" path = "benches/scalar.rs" harness = false [dependencies.cfg-if] version = "1.0" [dependencies.ecdsa-core] version = "=0.17.0-pre.7" features = ["der"] optional = true default-features = false package = "ecdsa" [dependencies.elliptic-curve] version = "=0.14.0-pre.6" features = ["sec1"] default-features = false [dependencies.hex-literal] version = "0.4" optional = true [dependencies.once_cell] version = "1.19" optional = true default-features = false [dependencies.serdect] version = "0.2" optional = true default-features = false [dependencies.sha2] version = "=0.11.0-pre.4" optional = true default-features = false [dependencies.signature] version = "=2.3.0-pre.4" optional = true [dev-dependencies.blobby] version = "0.3" [dev-dependencies.criterion] version = "0.5" [dev-dependencies.ecdsa-core] version = "=0.17.0-pre.7" features = ["dev"] default-features = false package = "ecdsa" [dev-dependencies.hex] version = "0.4.3" [dev-dependencies.hex-literal] version = "0.4" [dev-dependencies.num-bigint] version = "0.4" [dev-dependencies.num-traits] version = "0.2" [dev-dependencies.proptest] version = "1.5" [dev-dependencies.rand_core] version = "0.6" features = ["getrandom"] [dev-dependencies.sha3] version = "=0.11.0-pre.4" default-features = false [features] alloc = [ "ecdsa-core?/alloc", "elliptic-curve/alloc", ] arithmetic = ["elliptic-curve/arithmetic"] bits = [ "arithmetic", "elliptic-curve/bits", ] critical-section = [ "once_cell/critical-section", "precomputed-tables", ] default = [ "arithmetic", "ecdsa", "pkcs8", "precomputed-tables", "schnorr", "std", ] digest = [ "ecdsa-core/digest", "ecdsa-core/hazmat", ] ecdh = [ "arithmetic", "elliptic-curve/ecdh", ] ecdsa = [ "arithmetic", "ecdsa-core/signing", "ecdsa-core/verifying", "sha256", ] expose-field = ["arithmetic"] hash2curve = [ "arithmetic", "elliptic-curve/hash2curve", ] jwk = ["elliptic-curve/jwk"] pem = [ "ecdsa-core/pem", "elliptic-curve/pem", "pkcs8", ] pkcs8 = [ "ecdsa-core/pkcs8", "elliptic-curve/pkcs8", ] precomputed-tables = [ "arithmetic", "once_cell", ] schnorr = [ "arithmetic", "sha256", "signature", ] serde = [ "ecdsa-core/serde", "elliptic-curve/serde", "serdect", ] sha256 = [ "digest", "sha2", ] std = [ "alloc", "ecdsa-core?/std", "elliptic-curve/std", "once_cell?/std", ] test-vectors = ["hex-literal"]