blob: ffc77e38ccf3a397e82e23720f42bfa48b89d896 [file] [log] [blame] [edit]
# 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.65"
name = "elliptic-curve"
version = "0.13.8"
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"
[package.metadata.docs.rs]
features = [
"bits",
"ecdh",
"hash2curve",
"jwk",
"pem",
"std",
"voprf",
]
rustdoc-args = [
"--cfg",
"docsrs",
]
[dependencies.base16ct]
version = "0.2"
[dependencies.base64ct]
version = "1"
features = ["alloc"]
optional = true
default-features = false
[dependencies.crypto-bigint]
version = "0.5"
features = [
"rand_core",
"generic-array",
"zeroize",
]
default-features = false
[dependencies.digest]
version = "0.10"
optional = true
[dependencies.ff]
version = "0.13"
optional = true
default-features = false
[dependencies.generic-array]
version = "0.14.6"
features = ["zeroize"]
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.12.1"
optional = true
default-features = false
[dependencies.pem-rfc7468]
version = "0.7"
features = ["alloc"]
optional = true
[dependencies.pkcs8]
version = "0.10.2"
optional = true
default-features = false
[dependencies.rand_core]
version = "0.6.4"
default-features = false
[dependencies.sec1]
version = "0.7.1"
features = [
"subtle",
"zeroize",
]
optional = true
[dependencies.serde_json]
version = "1.0.47"
features = ["alloc"]
optional = true
default-features = false
[dependencies.serdect]
version = "0.2"
features = ["alloc"]
optional = true
default-features = false
[dependencies.subtle]
version = "2"
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.10"
[dev-dependencies.sha3]
version = "0.10"
[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",
]
hazmat = []
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"]