forked from RustCrypto/signatures
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
45 lines (40 loc) · 1.5 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
[package]
name = "ed25519"
version = "2.3.0-pre"
authors = ["RustCrypto Developers"]
license = "Apache-2.0 OR MIT"
description = """
Edwards Digital Signature Algorithm (EdDSA) over Curve25519 (as specified in RFC 8032)
support library providing signature type definitions and PKCS#8 private key
decoding/encoding support
"""
documentation = "https://docs.rs/ed25519"
repository = "https://github.com/RustCrypto/signatures/tree/master/ed25519"
readme = "README.md"
categories = ["cryptography", "no-std"]
keywords = ["crypto", "curve25519", "ecc", "signature", "signing"]
edition = "2021"
rust-version = "1.72"
[dependencies]
# TODO(tarcieri): relax requirement back to `2` before next release
signature = { version = "=2.3.0-pre.3", default-features = false }
# optional dependencies
pkcs8 = { version = "=0.11.0-pre.0", optional = true }
serde = { version = "1", optional = true, default-features = false }
serde_bytes = { version = "0.11", optional = true }
zeroize = { version = "1", optional = true, default-features = false }
[dev-dependencies]
bincode = "1"
#ed25519-dalek = { version = "2", features = ["rand_core"] }
hex-literal = "0.4"
#ring-compat = { version = "0.8", default-features = false, features = ["signature"] }
rand_core = { version = "0.6", features = ["std"] }
[features]
default = ["std"]
alloc = ["pkcs8?/alloc"]
pem = ["alloc", "pkcs8/pem"]
serde_bytes = ["serde", "dep:serde_bytes"]
std = ["pkcs8?/std", "signature/std"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]