mirror of
https://github.com/saymrwulf/risc0-curve25519-dalek-source.git
synced 2026-09-04 20:03:40 +00:00
Use ::core in lieu of ::std, allowing this crate to be usable in #![no_std] environments. Gates features that presently depend on ::std (presently just rand) behind a "std" cargo feature, which is enabled by default. Switches from the "rust-crypto" crate (which is not #![no_std] compatible) to the sha2 crate, which is factored out of the original "rust-crypto" project and being actively maintained.
30 lines
636 B
TOML
30 lines
636 B
TOML
[package]
|
|
name = "ed25519-dalek"
|
|
version = "0.1.0"
|
|
authors = ["Isis Lovecruft <isis@torproject.org>"]
|
|
readme = "README.md"
|
|
license = "CC0-1.0"
|
|
repository = "https://code.ciph.re/isis/ed25519-dalek"
|
|
keywords = ["cryptography", "ed25519", "signature", "ECC"]
|
|
description = "Fast and efficient ed25519 signing and verification."
|
|
exclude = [ ".gitignore", "TESTVECTORS" ]
|
|
|
|
|
|
[dependencies]
|
|
arrayref = "0.3.3"
|
|
sha2 = "^0.4"
|
|
|
|
[dependencies.curve25519-dalek]
|
|
version = "^0.3"
|
|
default-features = false
|
|
|
|
[dependencies.rand]
|
|
optional = true
|
|
version = "^0.3"
|
|
|
|
[dev-dependencies]
|
|
rustc-serialize = "0.3"
|
|
|
|
[features]
|
|
default = ["std"]
|
|
std = ["rand"]
|