2026-03-07 20:52:28 +00:00
[ package ]
2026-03-26 12:09:10 +00:00
name = "solana-ed25519"
2026-03-07 20:52:28 +00:00
version = "0.1.0"
edition = "2024"
2026-03-13 21:49:11 +00:00
rust-version = "1.85.0"
authors = [
"Isis Lovecruft <isis@patternsinthevoid.net>" ,
"Henry de Valence <hdevalence@hdevalence.ca>" ,
2026-04-26 01:11:05 +00:00
"Anza Maintainers <maintainers@anza.xyz>" ,
2026-03-13 21:49:11 +00:00
]
readme = "README.md"
license = "BSD-3-Clause"
categories = [ "cryptography" , "no-std" ]
keywords = [ "cryptography" , "crypto" , "ristretto" , "curve25519" , "ristretto255" ]
description = "A pure-Rust implementation of group operations on ristretto255 and Curve25519, with HEEA scalar decomposition (forked from curve25519-dalek)"
exclude = [ "**/.gitignore" , ".gitignore" ]
2026-04-26 01:11:05 +00:00
repository = { workspace = true }
homepage = { workspace = true }
2026-03-13 21:49:11 +00:00
# Keep the Rust library name as "curve25519" so that all existing `use curve25519::…`
# references in doc-tests, dependent crates, and source files remain valid.
[ lib ]
name = "curve25519"
[ package . metadata . docs . rs ]
rustdoc-args = [
"--html-in-header" ,
"docs/assets/rustdoc-include-katex-header.html" ,
"--cfg" ,
"docsrs" ,
]
all-features = true
[ dev-dependencies ]
2026-03-30 12:48:31 +00:00
bincode . workspace = true
2026-05-19 01:50:26 +00:00
color-eyre . workspace = true
2026-03-30 12:48:31 +00:00
criterion . workspace = true
ed25519-dalek . workspace = true
hex . workspace = true
2026-05-19 01:50:26 +00:00
once_cell . workspace = true
2026-03-30 12:48:31 +00:00
proptest . workspace = true
rand . workspace = true
2026-03-13 21:49:11 +00:00
[ build-dependencies ]
2026-03-30 12:48:31 +00:00
rustc_version . workspace = true
2026-03-13 21:49:11 +00:00
[ [ bench ] ]
name = "dalek_benchmarks"
harness = false
2026-05-20 02:23:03 +00:00
required-features = [ "alloc" , "digest" , "group" , "rand_core" ]
2026-03-07 20:52:28 +00:00
[ dependencies ]
2026-03-30 12:48:31 +00:00
cfg-if . workspace = true
ed25519 . workspace = true
ff = { workspace = true , optional = true }
group = { workspace = true , optional = true }
rand_core = { workspace = true , optional = true }
digest = { workspace = true , optional = true }
hashbrown . workspace = true
der = { workspace = true , optional = true }
pkcs8 = { workspace = true , optional = true }
sha2 . workspace = true
2026-04-23 00:23:12 +00:00
subtle = { workspace = true , features = [ "const-generics" ] }
2026-03-30 12:48:31 +00:00
serde = { workspace = true , optional = true }
zeroize = { workspace = true , optional = true }
2026-03-13 21:49:11 +00:00
[ target . 'cfg(target_arch = "x86_64")' . dependencies ]
2026-03-30 12:48:31 +00:00
cpufeatures = { workspace = true }
curve25519-dalek-derive = { workspace = true }
2026-03-13 21:49:11 +00:00
[ features ]
2026-03-26 12:09:10 +00:00
default = [ "alloc" , "precomputed-tables" , "zeroize" , "rand_core" , "digest" ]
2026-03-13 21:49:11 +00:00
alloc = [ "zeroize?/alloc" ]
precomputed-tables = [ ]
legacy_compatibility = [ ]
2026-03-26 12:09:10 +00:00
rand_core = [ "dep:rand_core" ]
std = [ "alloc" ]
2026-03-13 21:49:11 +00:00
group = [ "dep:group" , "rand_core" ]
group-bits = [ "group" , "ff/bits" ]
digest = [ "dep:digest" ]
2026-06-09 12:28:19 +00:00
serde = [ "dep:serde" , "serde/derive" ]
2026-03-13 21:49:11 +00:00
lizard = [ "digest" ]
2026-06-10 10:44:17 +00:00
pkcs8 = [ "dep:pkcs8" , "pkcs8/alloc" , "ed25519/pkcs8" , "alloc" ]
2026-05-20 02:23:03 +00:00
pem = [ "pkcs8" , "dep:der" , "ed25519/pem" , "zeroize" ]
2026-03-13 21:49:11 +00:00
[ lints . rust . unexpected_cfgs ]
level = "warn"
check-cfg = [
'cfg(allow_unused_unsafe)' ,
'cfg(curve25519_backend, values("simd"))' ,
'cfg(curve25519_diagnostics, values("build"))' ,
'cfg(curve25519_bits, values("64"))' ,
]