2016-12-08 05:12:00 +00:00
[ package ]
name = "curve25519-dalek"
2020-05-29 19:39:39 +00:00
# Before incrementing:
# - update CHANGELOG
# - update README if required by semver
2021-07-20 02:56:28 +00:00
# - if README was updated, also update module documentation in src/lib.rs
2023-09-20 22:42:22 +00:00
version = "4.1.1"
2022-10-18 17:45:59 +00:00
edition = "2021"
2022-12-27 10:12:55 +00:00
rust-version = "1.60.0"
2016-12-08 05:12:00 +00:00
authors = [ "Isis Lovecruft <isis@patternsinthevoid.net>" ,
"Henry de Valence <hdevalence@hdevalence.ca>" ]
readme = "README.md"
2017-08-01 02:05:31 +00:00
license = "BSD-3-Clause"
2023-09-06 04:08:06 +00:00
repository = "https://github.com/dalek-cryptography/curve25519-dalek/tree/main/curve25519-dalek"
2022-12-07 10:36:07 +00:00
homepage = "https://github.com/dalek-cryptography/curve25519-dalek"
2016-12-08 05:12:00 +00:00
documentation = "https://docs.rs/curve25519-dalek"
2017-02-14 16:34:24 +00:00
categories = [ "cryptography" , "no-std" ]
2019-07-31 22:22:31 +00:00
keywords = [ "cryptography" , "crypto" , "ristretto" , "curve25519" , "ristretto255" ]
2019-02-15 18:11:18 +00:00
description = "A pure-Rust implementation of group operations on ristretto255 and Curve25519"
2016-12-08 05:12:00 +00:00
exclude = [
2017-12-01 01:28:33 +00:00
"**/.gitignore" ,
2017-11-16 01:13:30 +00:00
".gitignore" ,
]
2016-12-08 05:12:00 +00:00
2017-11-15 18:09:52 +00:00
[ package . metadata . docs . rs ]
2022-12-13 13:48:03 +00:00
rustdoc-args = [
"--html-in-header" , "docs/assets/rustdoc-include-katex-header.html" ,
"--cfg" , "docsrs" ,
]
2023-09-20 03:21:43 +00:00
features = [ "serde" , "rand_core" , "digest" , "legacy_compatibility" , "group-bits" ]
2017-11-15 18:09:52 +00:00
2018-01-27 00:29:23 +00:00
[ dev-dependencies ]
2022-02-01 23:33:34 +00:00
sha2 = { version = "0.10" , default-features = false }
2018-09-26 22:28:47 +00:00
bincode = "1"
2023-08-28 13:46:38 +00:00
criterion = { version = "0.5" , features = [ "html_reports" ] }
2020-10-21 15:02:06 +00:00
hex = "0.4.2"
2020-12-22 02:03:06 +00:00
rand = "0.8"
2022-12-08 20:05:59 +00:00
rand_core = { version = "0.6" , default-features = false , features = [ "getrandom" ] }
2018-03-26 00:10:30 +00:00
2022-12-10 02:09:24 +00:00
[ build-dependencies ]
platforms = "3.0.2"
2023-03-30 06:16:18 +00:00
rustc_version = "0.4.0"
2022-12-10 02:09:24 +00:00
2018-03-26 00:10:30 +00:00
[ [ bench ] ]
name = "dalek_benchmarks"
harness = false
2023-01-20 17:55:32 +00:00
required-features = [ "alloc" , "rand_core" ]
2017-10-23 21:03:23 +00:00
2018-01-27 00:29:23 +00:00
[ dependencies ]
2022-11-13 17:17:42 +00:00
cfg-if = "1"
2023-09-20 03:21:43 +00:00
ff = { version = "0.13" , default-features = false , optional = true }
2023-08-27 20:41:06 +00:00
group = { version = "0.13" , default-features = false , optional = true }
2022-12-11 20:11:15 +00:00
rand_core = { version = "0.6.4" , default-features = false , optional = true }
2022-12-08 18:59:28 +00:00
digest = { version = "0.10" , default-features = false , optional = true }
2022-12-12 22:38:04 +00:00
subtle = { version = "2.3.0" , default-features = false }
2019-10-23 22:55:03 +00:00
serde = { version = "1.0" , default-features = false , optional = true , features = [ "derive" ] }
2022-12-26 21:19:55 +00:00
zeroize = { version = "1" , default-features = false , optional = true }
2023-04-11 11:13:18 +00:00
2023-12-13 23:45:20 +00:00
# Betrusted/Precursor dependency set
2024-01-12 02:10:08 +00:00
[ target . 'cfg(curve25519_dalek_backend = "u32e_backend")' . dependencies ]
engine25519-as = { git = "https://github.com/betrusted-io/engine25519-as.git" , rev = "d249c967556b02ab5439eacb5078fa00c60b93d6" , default-features = false , features = [ ] , optional = true }
engine-25519 = { git = "https://github.com/betrusted-io/xous-engine-25519.git" , rev = "63d3d1f30736022e791deaacf4dd62c00b42fe2e" , optional = true }
utralib = { version = "0.1.0" , optional = true } # this is bogus -- must be patched in the invoking build environment TODO: if this builds, it seems a crate has been released as version 0.1.23 that could replace this
2023-12-13 23:45:20 +00:00
2023-04-11 11:13:18 +00:00
[ target . 'cfg(target_arch = "x86_64")' . dependencies ]
cpufeatures = "0.2.6"
2022-12-09 08:42:52 +00:00
[ target . 'cfg(curve25519_dalek_backend = "fiat")' . dependencies ]
2023-09-05 16:07:49 +00:00
fiat-crypto = { version = "0.2.1" , default-features = false }
2022-12-09 08:42:52 +00:00
2017-01-14 01:43:08 +00:00
[ features ]
2024-01-12 02:10:08 +00:00
default = [ "alloc" , "precomputed-tables" , "zeroize" ]
2022-12-27 10:12:55 +00:00
alloc = [ "zeroize?/alloc" ]
2023-01-19 19:04:22 +00:00
precomputed-tables = [ ]
2023-03-28 22:12:24 +00:00
legacy_compatibility = [ ]
2023-08-27 20:41:06 +00:00
group = [ "dep:group" , "rand_core" ]
2023-09-20 03:21:43 +00:00
group-bits = [ "group" , "ff/bits" ]
2022-12-12 22:38:04 +00:00
2023-06-22 05:46:27 +00:00
[ target . 'cfg(all(not(curve25519_dalek_backend = "fiat"), not(curve25519_dalek_backend = "serial"), target_arch = "x86_64"))' . dependencies ]
2023-06-28 09:38:06 +00:00
curve25519-dalek-derive = { version = "0.1" , path = "../curve25519-dalek-derive" }