-
Notifications
You must be signed in to change notification settings - Fork 177
Expand file tree
/
Copy pathCargo.toml
More file actions
54 lines (48 loc) · 2.16 KB
/
Cargo.toml
File metadata and controls
54 lines (48 loc) · 2.16 KB
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
49
50
51
52
53
54
[package]
name = "ecdsa"
version = "0.17.0-rc.16"
description = """
Pure Rust implementation of the Elliptic Curve Digital Signature Algorithm
(ECDSA) as specified in FIPS 186-4 (Digital Signature Standard), providing
RFC6979 deterministic signatures as well as support for added entropy
"""
authors = ["RustCrypto Developers"]
license = "Apache-2.0 OR MIT"
homepage = "https://github.com/RustCrypto/signatures/tree/master/ecdsa"
repository = "https://github.com/RustCrypto/signatures"
readme = "README.md"
categories = ["cryptography", "no-std"]
keywords = ["crypto", "ecc", "nist", "secp256k1", "signature"]
edition = "2024"
rust-version = "1.85"
[dependencies]
elliptic-curve = { version = "0.14.0-rc.28", default-features = false, features = ["sec1"] }
signature = { version = "3.0.0-rc.10", default-features = false, features = ["rand_core"] }
zeroize = { version = "1.5", default-features = false }
# optional dependencies
der = { version = "0.8", optional = true }
digest = { version = "0.11", optional = true, default-features = false, features = ["oid"] }
rfc6979 = { version = "0.5.0-rc.5", optional = true }
serdect = { version = "0.4", optional = true, default-features = false, features = ["alloc"] }
sha2 = { version = "0.11", optional = true, default-features = false, features = ["oid"] }
spki = { version = "0.8.0-rc.4", optional = true, default-features = false }
[dev-dependencies]
elliptic-curve = { version = "0.14.0-rc.27", default-features = false, features = ["dev"] }
hex-literal = "1"
sha2 = { version = "0.11", default-features = false }
[features]
default = ["digest"]
alloc = ["elliptic-curve/alloc", "signature/alloc", "spki/alloc"]
std = ["alloc", "elliptic-curve/std"]
algorithm = ["dep:rfc6979", "digest", "elliptic-curve/arithmetic", "hazmat"]
dev = ["algorithm", "digest/dev", "elliptic-curve/dev"]
der = ["dep:der"]
digest = ["dep:digest", "elliptic-curve/digest", "signature/digest"]
getrandom = ["elliptic-curve/getrandom"]
hazmat = []
pkcs8 = ["der", "digest", "elliptic-curve/pkcs8"]
pem = ["elliptic-curve/pem", "pkcs8"]
serde = ["dep:serdect", "elliptic-curve/serde", "pkcs8"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]