-
Notifications
You must be signed in to change notification settings - Fork 130
/
Copy pathCargo.toml
48 lines (42 loc) · 1.49 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
46
47
48
[package]
name = "dsa"
version = "0.7.0-pre.1"
description = """
Pure Rust implementation of the Digital Signature Algorithm (DSA) as specified
in FIPS 186-4 (Digital Signature Standard), providing RFC6979 deterministic
signatures as well as support for added entropy
"""
edition = "2021"
license = "Apache-2.0 OR MIT"
readme = "README.md"
homepage = "https://github.com/RustCrypto/signatures/tree/master/dsa"
repository = "https://github.com/RustCrypto/signatures"
categories = ["cryptography", "no-std"]
keywords = ["crypto", "nist", "signature"]
rust-version = "1.81"
[dependencies]
digest = "=0.11.0-pre.9"
num-bigint = { package = "num-bigint-dig", version = "0.8", default-features = false, features = ["prime", "rand", "zeroize"] }
num-traits = { version = "0.2", default-features = false }
pkcs8 = { version = "0.11.0-rc.1", default-features = false, features = ["alloc"] }
rfc6979 = { version = "=0.5.0-pre.4" }
sha2 = { version = "=0.11.0-pre.4", default-features = false }
signature = { version = "=2.3.0-pre.4", default-features = false, features = ["alloc", "digest", "rand_core"] }
zeroize = { version = "1", default-features = false }
[dev-dependencies]
pkcs8 = { version = "0.11.0-rc.1", default-features = false, features = ["pem"] }
rand = "0.8"
rand_chacha = "0.3"
sha1 = "=0.11.0-pre.4"
[features]
std = []
hazmat = []
[[example]]
name = "sign"
required-features = ["hazmat"]
[[example]]
name = "generate"
required-features = ["hazmat"]
[[example]]
name = "export"
required-features = ["hazmat"]