| # 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.56" |
| name = "p256" |
| version = "0.10.1" |
| authors = ["RustCrypto Developers"] |
| description = "Pure Rust implementation of the NIST P-256 (a.k.a. secp256r1, prime256v1)\nelliptic curve with support for ECDH, ECDSA signing/verification, and general\npurpose curve arithmetic\n" |
| documentation = "https://docs.rs/elliptic-curve" |
| readme = "README.md" |
| keywords = ["crypto", "ecc", "nist", "prime256v1", "secp256r1"] |
| categories = ["cryptography", "no-std"] |
| license = "Apache-2.0 OR MIT" |
| repository = "https://github.com/RustCrypto/elliptic-curves/tree/master/p256" |
| resolver = "2" |
| [package.metadata.docs.rs] |
| all-features = true |
| rustdoc-args = ["--cfg", "docsrs"] |
| [dependencies.ecdsa-core] |
| version = "0.13" |
| features = ["der"] |
| optional = true |
| default-features = false |
| package = "ecdsa" |
| |
| [dependencies.elliptic-curve] |
| version = "0.11.7" |
| features = ["hazmat", "sec1"] |
| default-features = false |
| |
| [dependencies.hex-literal] |
| version = "0.3" |
| optional = true |
| |
| [dependencies.sec1] |
| version = "0.2" |
| default-features = false |
| |
| [dependencies.sha2] |
| version = "0.9" |
| optional = true |
| default-features = false |
| [dev-dependencies.blobby] |
| version = "0.3" |
| |
| [dev-dependencies.ecdsa-core] |
| version = "0.13" |
| features = ["dev"] |
| default-features = false |
| package = "ecdsa" |
| |
| [dev-dependencies.hex-literal] |
| version = "0.3" |
| |
| [dev-dependencies.proptest] |
| version = "1.0" |
| |
| [dev-dependencies.rand_core] |
| version = "0.6" |
| features = ["getrandom"] |
| |
| [features] |
| arithmetic = ["elliptic-curve/arithmetic"] |
| bits = ["arithmetic", "elliptic-curve/bits"] |
| default = ["arithmetic", "ecdsa", "pkcs8", "std"] |
| digest = ["ecdsa-core/digest", "ecdsa-core/hazmat"] |
| ecdh = ["arithmetic", "elliptic-curve/ecdh"] |
| ecdsa = ["arithmetic", "ecdsa-core/sign", "ecdsa-core/verify", "sha256"] |
| hash2curve = ["elliptic-curve/hash2curve"] |
| jwk = ["elliptic-curve/jwk"] |
| pem = ["elliptic-curve/pem", "ecdsa-core/pem", "pkcs8"] |
| pkcs8 = ["elliptic-curve/pkcs8"] |
| serde = ["ecdsa-core/serde", "elliptic-curve/serde", "sec1/serde"] |
| sha256 = ["digest", "sha2"] |
| std = ["ecdsa-core/std", "elliptic-curve/std"] |
| test-vectors = ["hex-literal"] |
| voprf = ["elliptic-curve/voprf", "sha2"] |