diff options
Diffstat (limited to 'vendor/elliptic-curve/Cargo.toml')
-rw-r--r-- | vendor/elliptic-curve/Cargo.toml | 209 |
1 files changed, 209 insertions, 0 deletions
diff --git a/vendor/elliptic-curve/Cargo.toml b/vendor/elliptic-curve/Cargo.toml new file mode 100644 index 000000000..906ac569a --- /dev/null +++ b/vendor/elliptic-curve/Cargo.toml @@ -0,0 +1,209 @@ +# 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.57" +name = "elliptic-curve" +version = "0.12.3" +authors = ["RustCrypto Developers"] +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. +""" +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 = [ + "bits", + "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.4.8" +features = [ + "rand_core", + "generic-array", + "zeroize", +] +default-features = false + +[dependencies.der] +version = "0.6" +features = ["oid"] +default-features = false + +[dependencies.digest] +version = "0.10" +optional = true + +[dependencies.ff] +version = "0.12" +optional = true +default-features = false + +[dependencies.generic-array] +version = "0.14" +default-features = false + +[dependencies.group] +version = "0.12" +optional = true +default-features = false + +[dependencies.hex-literal] +version = "0.3" +optional = true + +[dependencies.hkdf] +version = "0.12" +optional = true +default-features = false + +[dependencies.pem-rfc7468] +version = "0.6" +optional = true + +[dependencies.pkcs8] +version = "0.9" +optional = true +default-features = false + +[dependencies.rand_core] +version = "0.6" +default-features = false + +[dependencies.sec1] +version = "0.3" +features = [ + "subtle", + "zeroize", +] +optional = true + +[dependencies.serde_json] +version = "1" +features = ["alloc"] +optional = true +default-features = false + +[dependencies.serdect] +version = "0.1" +features = ["alloc"] +optional = true +default-features = false + +[dependencies.subtle] +version = "2" +default-features = false + +[dependencies.zeroize] +version = "1.5" +default-features = false + +[dev-dependencies.hex-literal] +version = "0.3" + +[dev-dependencies.sha2] +version = "0.10" + +[dev-dependencies.sha3] +version = "0.10" + +[features] +alloc = [ + "base16ct/alloc", + "der/alloc", + "sec1/alloc", + "zeroize/alloc", +] +arithmetic = [ + "ff", + "group", +] +bits = [ + "arithmetic", + "ff/bits", +] +default = ["arithmetic"] +dev = [ + "arithmetic", + "hex-literal", + "pem", + "pkcs8", +] +ecdh = [ + "arithmetic", + "digest", + "hkdf", +] +hash2curve = [ + "arithmetic", + "digest", +] +hazmat = [] +jwk = [ + "alloc", + "base64ct/alloc", + "serde", + "serde_json", + "zeroize/alloc", +] +pem = [ + "alloc", + "arithmetic", + "der/pem", + "pem-rfc7468/alloc", + "pkcs8", + "sec1/pem", +] +serde = [ + "alloc", + "pkcs8", + "sec1/serde", + "serdect", +] +std = [ + "alloc", + "rand_core/std", +] +voprf = ["digest"] |