-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathCargo.toml
More file actions
85 lines (72 loc) · 2.03 KB
/
Cargo.toml
File metadata and controls
85 lines (72 loc) · 2.03 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
[package]
name = "varsig"
description = "Varsig signature metadata"
version = "0.1.0"
authors = ["Brooklyn Zelenka <hello@brooklynzelenka.com>"]
readme = "README.md"
keywords = ["signature", "metadata", "ipld"]
categories = ["cryptography"]
edition.workspace = true
license.workspace = true
repository.workspace = true
rust-version.workspace = true
[dependencies]
async-signature.workspace = true
bytes = { version = "1.10", optional = true }
ed25519-dalek = { workspace = true, optional = true }
ipld-core.workspace = true
ipld-dagpb = { version = "0.2.1", optional = true }
k256 = { version = "0.13.4", optional = true }
leb128 = "0.2.5"
p256 = { version = "0.13.2", optional = true }
p384 = { version = "0.13.1", optional = true }
p521 = { version = "0.13.3", optional = true }
rsa = { workspace = true, optional = true }
serde.workspace = true
serde_bytes = "0.11.19"
serde_ipld_dagcbor = { workspace = true, optional = true }
serde_ipld_dagjson = { version = "0.2.0", optional = true }
signature.workspace = true
thiserror.workspace = true
tracing.workspace = true
[dev-dependencies]
rand = "0.10.0"
testresult = "0.4.1"
[features]
default = ["dag_cbor", "es256", "es256k", "ed25519"]
web_crypto = ["rs256_2048", "rs256_4096", "es256", "es384", "es512", "ed25519"]
common = ["es256", "es256k", "ed25519"]
identity = []
jwt = []
eip191 = []
dag_cbor = ["dep:serde_ipld_dagcbor"]
dag_json = ["dep:serde_ipld_dagjson"]
dag_pb = ["dep:ipld-dagpb", "dep:bytes"]
sha2_256 = []
sha2_384 = []
sha2_512 = []
shake_256 = []
sha3_256 = []
sha3_384 = []
sha3_512 = []
blake2b = []
blake3 = []
keccak256 = []
keccak384 = []
keccak512 = []
rsa = ["dep:rsa"]
secp256k1 = ["dep:k256"]
secp256r1 = ["dep:p256"]
secp384r1 = ["dep:p384"]
secp521r1 = ["dep:p521"]
edwards448 = []
edwards25519 = ["dep:ed25519-dalek"]
es256 = ["secp256r1", "sha2_256"]
es384 = ["secp256r1", "sha2_384"]
es512 = ["secp256r1", "sha2_512"]
es256k = ["secp256k1", "sha2_256"]
ed25519 = ["edwards25519", "sha2_512"]
rs256_2048 = ["rsa", "sha2_256"]
rs256_4096 = ["rsa", "sha2_256"]
[lints]
workspace = true