mirror of
https://github.com/saymrwulf/curve25519-dalek-source.git
synced 2026-09-04 20:24:10 +00:00
curve25519-dalek: - Enables `digest` and `rand_core` features - Removes transitive `nightly`, `simd_backend`, and `std` features ed25519: - `AsRef` impl for `Signature` has been removed; uses `to_bytes` - Uses `try_from` for `InternalSignature` conversion
63 lines
2.6 KiB
TOML
63 lines
2.6 KiB
TOML
[package]
|
|
name = "ed25519-dalek"
|
|
version = "1.0.1"
|
|
edition = "2021"
|
|
authors = ["isis lovecruft <isis@patternsinthevoid.net>"]
|
|
readme = "README.md"
|
|
license = "BSD-3-Clause"
|
|
repository = "https://github.com/dalek-cryptography/ed25519-dalek"
|
|
homepage = "https://dalek.rs"
|
|
documentation = "https://docs.rs/ed25519-dalek"
|
|
keywords = ["cryptography", "ed25519", "curve25519", "signature", "ECC"]
|
|
categories = ["cryptography", "no-std"]
|
|
description = "Fast and efficient ed25519 EdDSA key generations, signing, and verification in pure Rust."
|
|
exclude = [ ".gitignore", "TESTVECTORS", "res/*" ]
|
|
|
|
[badges]
|
|
travis-ci = { repository = "dalek-cryptography/ed25519-dalek", branch = "master"}
|
|
|
|
[package.metadata.docs.rs]
|
|
# Disabled for now since this is borked; tracking https://github.com/rust-lang/docs.rs/issues/302
|
|
# rustdoc-args = ["--html-in-header", ".cargo/registry/src/github.com-1ecc6299db9ec823/curve25519-dalek-0.13.2/rustdoc-include-katex-header.html"]
|
|
features = ["nightly", "batch"]
|
|
|
|
[dependencies]
|
|
curve25519-dalek = { version = "=4.0.0-pre.2", default-features = false, features = ["digest", "rand_core"] }
|
|
ed25519 = { version = "=2.0.0-pre.0", default-features = false }
|
|
merlin = { version = "3", default-features = false, optional = true }
|
|
rand = { version = "0.8", default-features = false, optional = true }
|
|
rand_core = { version = "0.6", default-features = false, optional = true }
|
|
serde_crate = { package = "serde", version = "1.0", default-features = false, optional = true }
|
|
serde_bytes = { version = "0.11", optional = true }
|
|
sha2 = { version = "0.10", default-features = false }
|
|
zeroize = { version = "1", default-features = false }
|
|
|
|
[dev-dependencies]
|
|
hex = "^0.4"
|
|
bincode = "1.0"
|
|
serde_json = "1.0"
|
|
criterion = "0.3"
|
|
rand = "0.8"
|
|
serde_crate = { package = "serde", version = "1.0", features = ["derive"] }
|
|
toml = { version = "0.5" }
|
|
|
|
[[bench]]
|
|
name = "ed25519_benchmarks"
|
|
harness = false
|
|
required-features = ["batch"]
|
|
|
|
[features]
|
|
default = ["std", "rand"]
|
|
std = ["alloc", "ed25519/std", "serde_crate/std", "sha2/std", "rand/std"]
|
|
alloc = ["curve25519-dalek/alloc", "rand/alloc", "zeroize/alloc"]
|
|
serde = ["serde_crate", "serde_bytes", "ed25519/serde"]
|
|
batch = ["alloc", "merlin", "rand/std"]
|
|
# This feature enables deterministic batch verification.
|
|
batch_deterministic = ["alloc", "merlin", "rand", "rand_core"]
|
|
asm = ["sha2/asm"]
|
|
# This features turns off stricter checking for scalar malleability in signatures
|
|
legacy_compatibility = []
|
|
|
|
[patch.crates-io]
|
|
curve25519-dalek = { git = "https://github.com/dalek-cryptography/curve25519-dalek.git", branch = "release/4.0" }
|
|
ed25519 = { git = "https://github.com/RustCrypto/signatures.git"}
|