169 lines
3.0 KiB
TOML
169 lines
3.0 KiB
TOML
# 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 = "p521"
|
|
version = "0.13.3"
|
|
authors = ["RustCrypto Developers"]
|
|
description = """
|
|
Pure Rust implementation of the NIST P-521 (a.k.a. secp521r1) elliptic curve
|
|
as defined in SP 800-186
|
|
"""
|
|
documentation = "https://docs.rs/p521"
|
|
readme = "README.md"
|
|
keywords = [
|
|
"crypto",
|
|
"ecc",
|
|
"nist",
|
|
"secp521r1",
|
|
]
|
|
categories = [
|
|
"cryptography",
|
|
"no-std",
|
|
]
|
|
license = "Apache-2.0 OR MIT"
|
|
repository = "https://github.com/RustCrypto/elliptic-curves/tree/master/p521"
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
rustdoc-args = [
|
|
"--cfg",
|
|
"docsrs",
|
|
]
|
|
|
|
[dependencies.base16ct]
|
|
version = "0.2"
|
|
|
|
[dependencies.ecdsa-core]
|
|
version = "0.16.5"
|
|
features = ["der"]
|
|
optional = true
|
|
default-features = false
|
|
package = "ecdsa"
|
|
|
|
[dependencies.elliptic-curve]
|
|
version = "0.13"
|
|
features = [
|
|
"hazmat",
|
|
"sec1",
|
|
]
|
|
default-features = false
|
|
|
|
[dependencies.hex-literal]
|
|
version = "0.4"
|
|
optional = true
|
|
|
|
[dependencies.primeorder]
|
|
version = "0.13.3"
|
|
optional = true
|
|
|
|
[dependencies.rand_core]
|
|
version = "0.6"
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.serdect]
|
|
version = "0.2"
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.sha2]
|
|
version = "0.10"
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dev-dependencies.blobby]
|
|
version = "0.3"
|
|
|
|
[dev-dependencies.ecdsa-core]
|
|
version = "0.16"
|
|
features = ["dev"]
|
|
default-features = false
|
|
package = "ecdsa"
|
|
|
|
[dev-dependencies.hex-literal]
|
|
version = "0.4"
|
|
|
|
[dev-dependencies.primeorder]
|
|
version = "0.13.3"
|
|
features = ["dev"]
|
|
|
|
[dev-dependencies.proptest]
|
|
version = "1.3"
|
|
|
|
[dev-dependencies.rand_core]
|
|
version = "0.6"
|
|
features = ["getrandom"]
|
|
|
|
[features]
|
|
alloc = [
|
|
"ecdsa-core?/alloc",
|
|
"elliptic-curve/alloc",
|
|
]
|
|
arithmetic = ["dep:primeorder"]
|
|
default = [
|
|
"arithmetic",
|
|
"ecdsa",
|
|
"getrandom",
|
|
"pem",
|
|
"std",
|
|
]
|
|
digest = [
|
|
"ecdsa-core/digest",
|
|
"ecdsa-core/hazmat",
|
|
]
|
|
ecdh = [
|
|
"arithmetic",
|
|
"elliptic-curve/ecdh",
|
|
]
|
|
ecdsa = [
|
|
"arithmetic",
|
|
"ecdsa-core/signing",
|
|
"ecdsa-core/verifying",
|
|
"sha512",
|
|
]
|
|
getrandom = ["rand_core/getrandom"]
|
|
hash2curve = [
|
|
"arithmetic",
|
|
"elliptic-curve/hash2curve",
|
|
]
|
|
jwk = ["elliptic-curve/jwk"]
|
|
pem = [
|
|
"elliptic-curve/pem",
|
|
"pkcs8",
|
|
]
|
|
pkcs8 = [
|
|
"ecdsa-core?/pkcs8",
|
|
"elliptic-curve/pkcs8",
|
|
]
|
|
serde = [
|
|
"ecdsa-core?/serde",
|
|
"elliptic-curve/serde",
|
|
"primeorder?/serde",
|
|
"serdect",
|
|
]
|
|
sha512 = [
|
|
"digest",
|
|
"dep:sha2",
|
|
]
|
|
std = [
|
|
"alloc",
|
|
"ecdsa-core?/std",
|
|
"elliptic-curve/std",
|
|
]
|
|
test-vectors = ["dep:hex-literal"]
|
|
voprf = [
|
|
"elliptic-curve/voprf",
|
|
"dep:sha2",
|
|
]
|