# 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 = "elliptic-curve" version = "0.14.0-rc.1" authors = ["RustCrypto Developers"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = """ General purpose Elliptic Curve Cryptography (ECC) support, including types and traits for representing various elliptic curve forms, scalars, points, and public/secret keys composed thereof. """ homepage = "https://github.com/RustCrypto/traits/tree/master/elliptic-curve" readme = "README.md" keywords = [ "crypto", "ecc", "elliptic", "weierstrass", ] categories = [ "cryptography", "no-std", ] license = "Apache-2.0 OR MIT" repository = "https://github.com/RustCrypto/traits" [package.metadata.docs.rs] features = [ "bits", "ecdh", "hash2curve", "jwk", "pem", "std", "voprf", ] rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "elliptic_curve" path = "src/lib.rs" [[test]] name = "pkcs8" path = "tests/pkcs8.rs" [[test]] name = "secret_key" path = "tests/secret_key.rs" [dependencies.base16ct] version = "0.2" [dependencies.base64ct] version = "1" features = ["alloc"] optional = true default-features = false [dependencies.crypto-bigint] version = "0.6.0-rc.2" features = [ "rand_core", "hybrid-array", "zeroize", ] default-features = false [dependencies.digest] version = "=0.11.0-pre.9" optional = true [dependencies.ff] version = "0.13" optional = true default-features = false [dependencies.group] version = "0.13" optional = true default-features = false [dependencies.hex-literal] version = "0.4" optional = true [dependencies.hkdf] version = "=0.13.0-pre.4" optional = true default-features = false [dependencies.hybrid-array] version = "0.2.0-rc.8" features = ["zeroize"] default-features = false [dependencies.pem-rfc7468] version = "1.0.0-rc.1" features = ["alloc"] optional = true [dependencies.pkcs8] version = "0.11.0-rc.1" optional = true default-features = false [dependencies.rand_core] version = "0.6.4" default-features = false [dependencies.sec1] version = "0.8.0-rc.2" features = [ "subtle", "zeroize", ] optional = true [dependencies.serde_json] version = "1.0.121" features = ["alloc"] optional = true default-features = false [dependencies.serdect] version = "=0.3.0-rc.0" features = ["alloc"] optional = true default-features = false [dependencies.subtle] version = "2.6" default-features = false [dependencies.tap] version = "1.0.1" optional = true default-features = false [dependencies.zeroize] version = "1.7" default-features = false [dev-dependencies.hex-literal] version = "0.4" [dev-dependencies.sha2] version = "=0.11.0-pre.4" [dev-dependencies.sha3] version = "=0.11.0-pre.4" [features] alloc = [ "base16ct/alloc", "ff?/alloc", "group?/alloc", "pkcs8?/alloc", "sec1?/alloc", "zeroize/alloc", ] arithmetic = ["group"] bits = [ "arithmetic", "ff/bits", "dep:tap", ] default = ["arithmetic"] dev = [ "arithmetic", "dep:hex-literal", "pem", "pkcs8", ] ecdh = [ "arithmetic", "digest", "dep:hkdf", ] group = [ "dep:group", "ff", ] hash2curve = [ "arithmetic", "digest", ] jwk = [ "dep:base64ct", "dep:serde_json", "alloc", "serde", "zeroize/alloc", ] pem = [ "dep:pem-rfc7468", "alloc", "arithmetic", "pkcs8", "sec1/pem", ] pkcs8 = [ "dep:pkcs8", "sec1", ] serde = [ "dep:serdect", "alloc", "pkcs8", "sec1/serde", ] std = [ "alloc", "rand_core/std", "pkcs8?/std", "sec1?/std", ] voprf = ["digest"]