227 lines
4.1 KiB
TOML
227 lines
4.1 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.81"
|
|
name = "ed25519-dalek"
|
|
version = "2.2.0"
|
|
authors = [
|
|
"isis lovecruft <isis@patternsinthevoid.net>",
|
|
"Tony Arcieri <bascule@gmail.com>",
|
|
"Michael Rosenberg <michael@mrosenberg.pub>",
|
|
]
|
|
build = false
|
|
exclude = [
|
|
".gitignore",
|
|
"TESTVECTORS",
|
|
"VALIDATIONVECTORS",
|
|
"res/*",
|
|
]
|
|
autolib = false
|
|
autobins = false
|
|
autoexamples = false
|
|
autotests = false
|
|
autobenches = false
|
|
description = "Fast and efficient ed25519 EdDSA key generations, signing, and verification in pure Rust."
|
|
homepage = "https://github.com/dalek-cryptography/curve25519-dalek"
|
|
documentation = "https://docs.rs/ed25519-dalek"
|
|
readme = "README.md"
|
|
keywords = [
|
|
"cryptography",
|
|
"ed25519",
|
|
"curve25519",
|
|
"signature",
|
|
"ECC",
|
|
]
|
|
categories = [
|
|
"cryptography",
|
|
"no-std",
|
|
]
|
|
license = "BSD-3-Clause"
|
|
repository = "https://github.com/dalek-cryptography/curve25519-dalek/tree/main/ed25519-dalek"
|
|
|
|
[package.metadata.docs.rs]
|
|
features = [
|
|
"batch",
|
|
"digest",
|
|
"hazmat",
|
|
"pem",
|
|
"serde",
|
|
]
|
|
rustdoc-args = [
|
|
"--html-in-header",
|
|
"docs/assets/rustdoc-include-katex-header.html",
|
|
"--cfg",
|
|
"docsrs",
|
|
]
|
|
|
|
[features]
|
|
alloc = [
|
|
"curve25519-dalek/alloc",
|
|
"ed25519/alloc",
|
|
"serde?/alloc",
|
|
"zeroize/alloc",
|
|
]
|
|
asm = ["sha2/asm"]
|
|
batch = [
|
|
"alloc",
|
|
"merlin",
|
|
"rand_core",
|
|
]
|
|
default = [
|
|
"fast",
|
|
"std",
|
|
"zeroize",
|
|
]
|
|
digest = ["signature/digest"]
|
|
fast = ["curve25519-dalek/precomputed-tables"]
|
|
hazmat = []
|
|
legacy_compatibility = ["curve25519-dalek/legacy_compatibility"]
|
|
pem = [
|
|
"alloc",
|
|
"ed25519/pem",
|
|
"pkcs8",
|
|
]
|
|
pkcs8 = ["ed25519/pkcs8"]
|
|
rand_core = ["dep:rand_core"]
|
|
serde = [
|
|
"dep:serde",
|
|
"ed25519/serde",
|
|
]
|
|
std = [
|
|
"alloc",
|
|
"ed25519/std",
|
|
"serde?/std",
|
|
"sha2/std",
|
|
]
|
|
zeroize = [
|
|
"dep:zeroize",
|
|
"curve25519-dalek/zeroize",
|
|
]
|
|
|
|
[lib]
|
|
name = "ed25519_dalek"
|
|
path = "src/lib.rs"
|
|
|
|
[[test]]
|
|
name = "ed25519"
|
|
path = "tests/ed25519.rs"
|
|
|
|
[[test]]
|
|
name = "pkcs8"
|
|
path = "tests/pkcs8.rs"
|
|
|
|
[[test]]
|
|
name = "validation_criteria"
|
|
path = "tests/validation_criteria.rs"
|
|
|
|
[[test]]
|
|
name = "x25519"
|
|
path = "tests/x25519.rs"
|
|
|
|
[[bench]]
|
|
name = "ed25519_benchmarks"
|
|
path = "benches/ed25519_benchmarks.rs"
|
|
harness = false
|
|
required-features = ["rand_core"]
|
|
|
|
[dependencies.curve25519-dalek]
|
|
version = "4"
|
|
features = ["digest"]
|
|
default-features = false
|
|
|
|
[dependencies.ed25519]
|
|
version = ">=2.2, <2.3"
|
|
default-features = false
|
|
|
|
[dependencies.merlin]
|
|
version = "3"
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.rand_core]
|
|
version = "0.6.4"
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.serde]
|
|
version = "1.0"
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.sha2]
|
|
version = "0.10"
|
|
default-features = false
|
|
|
|
[dependencies.signature]
|
|
version = ">=2.0, <2.3"
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.subtle]
|
|
version = "2.3.0"
|
|
default-features = false
|
|
|
|
[dependencies.zeroize]
|
|
version = "1.5"
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dev-dependencies.bincode]
|
|
version = "1.0"
|
|
|
|
[dev-dependencies.blake2]
|
|
version = "0.10"
|
|
|
|
[dev-dependencies.criterion]
|
|
version = "0.5"
|
|
features = ["html_reports"]
|
|
|
|
[dev-dependencies.curve25519-dalek]
|
|
version = "4"
|
|
features = [
|
|
"digest",
|
|
"rand_core",
|
|
]
|
|
default-features = false
|
|
|
|
[dev-dependencies.hex]
|
|
version = "0.4"
|
|
|
|
[dev-dependencies.hex-literal]
|
|
version = "0.4"
|
|
|
|
[dev-dependencies.rand]
|
|
version = "0.8"
|
|
|
|
[dev-dependencies.rand_core]
|
|
version = "0.6.4"
|
|
default-features = false
|
|
|
|
[dev-dependencies.serde]
|
|
version = "1.0"
|
|
features = ["derive"]
|
|
|
|
[dev-dependencies.serde_json]
|
|
version = "1.0"
|
|
|
|
[dev-dependencies.sha3]
|
|
version = "0.10"
|
|
|
|
[dev-dependencies.toml]
|
|
version = "0.7"
|
|
|
|
[dev-dependencies.x25519-dalek]
|
|
version = "2"
|
|
features = ["static_secrets"]
|
|
default-features = false
|