| # 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 = "elliptic-curve" |
| version = "0.11.12" |
| authors = ["RustCrypto Developers"] |
| description = "General purpose Elliptic Curve Cryptography (ECC) support, including types\nand traits for representing various elliptic curve forms, scalars, points,\nand public/secret keys composed thereof.\n" |
| readme = "README.md" |
| keywords = ["crypto", "ecc", "elliptic", "weierstrass"] |
| categories = ["cryptography", "no-std"] |
| license = "Apache-2.0 OR MIT" |
| repository = "https://github.com/RustCrypto/traits/tree/master/elliptic-curve" |
| resolver = "2" |
| [package.metadata.docs.rs] |
| features = ["ecdh", "hash2curve", "jwk", "pem", "std", "voprf"] |
| rustdoc-args = ["--cfg", "docsrs"] |
| [dependencies.base16ct] |
| version = "0.1.1" |
| |
| [dependencies.base64ct] |
| version = "1" |
| optional = true |
| default-features = false |
| |
| [dependencies.crypto-bigint] |
| version = "0.3" |
| features = ["rand_core", "generic-array", "zeroize"] |
| default-features = false |
| |
| [dependencies.der] |
| version = "0.5" |
| features = ["oid"] |
| default-features = false |
| |
| [dependencies.digest] |
| version = "0.9" |
| optional = true |
| default-features = false |
| |
| [dependencies.ff] |
| version = "0.11" |
| optional = true |
| default-features = false |
| |
| [dependencies.generic-array] |
| version = "0.14" |
| default-features = false |
| |
| [dependencies.group] |
| version = "0.11" |
| optional = true |
| default-features = false |
| |
| [dependencies.hex-literal] |
| version = "0.3" |
| optional = true |
| |
| [dependencies.pem-rfc7468] |
| version = "0.3" |
| optional = true |
| |
| [dependencies.rand_core] |
| version = "0.6" |
| default-features = false |
| |
| [dependencies.sec1] |
| version = "0.2" |
| features = ["subtle", "zeroize"] |
| optional = true |
| |
| [dependencies.serde] |
| version = "1" |
| optional = true |
| default-features = false |
| |
| [dependencies.serde_json] |
| version = "1" |
| features = ["alloc"] |
| optional = true |
| default-features = false |
| |
| [dependencies.subtle] |
| version = "2" |
| default-features = false |
| |
| [dependencies.zeroize] |
| version = "1" |
| default-features = false |
| [dev-dependencies.hex-literal] |
| version = "0.3" |
| |
| [dev-dependencies.sha2] |
| version = "0.9" |
| |
| [dev-dependencies.sha3] |
| version = "0.9" |
| |
| [features] |
| alloc = ["der/alloc", "sec1/alloc", "zeroize/alloc"] |
| arithmetic = ["ff", "group"] |
| bits = ["arithmetic", "ff/bits"] |
| default = ["arithmetic"] |
| dev = ["arithmetic", "hex-literal", "pem", "pkcs8"] |
| ecdh = ["arithmetic"] |
| hash2curve = ["arithmetic", "digest"] |
| hazmat = [] |
| jwk = ["alloc", "base64ct/alloc", "serde", "serde_json", "zeroize/alloc"] |
| pem = ["alloc", "arithmetic", "pem-rfc7468/alloc", "pkcs8", "sec1/pem"] |
| pkcs8 = ["sec1/pkcs8"] |
| std = ["alloc", "rand_core/std"] |
| voprf = ["digest"] |