forked from BlockchainCommons/bc-envelope-rust
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
63 lines (58 loc) · 1.44 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
[package]
name = "bc-envelope"
version = "0.18.2"
edition = "2021"
description = "Gordian Envelope for Rust."
authors = ["Blockchain Commons"]
keywords = ["encoding", "cbor", "binary", "format", "serialization"]
repository = "https://github.com/BlockchainCommons/bc-envelope-rust"
readme = "README.md"
license = "BSD-2-Clause-Patent"
categories = ["data-structures", "encoding"]
documentation = "https://docs.rs/bc-envelope"
[dependencies]
dcbor = { version = "^0.15.0", features = ["multithreaded"] }
bc-rand = "^0.2.0"
bc-crypto = "^0.5.0"
bc-components = "^0.13.0"
bc-ur = "^0.5.0"
paste = "^1.0.12"
hex = "^0.4.3"
itertools = "^0.11.0"
thiserror = "^1.0.48"
anyhow = "^1.0.0"
bytes = "^1.5.0"
ssh-key = { version = "=0.6.6", optional = true, default-features = false, features = ["ecdsa", "rand_core", "std", "crypto"] }
[dev-dependencies]
hex-literal = "^0.4.1"
lazy_static = "^1.4.0"
indoc = "^2.0.0"
version-sync = "^0.9.0"
[features]
attachment = ["known_value", "types"]
compress = []
encrypt = ["known_value"]
expression = ["known_value"]
known_value = []
multithreaded = ["dcbor/multithreaded"]
proof = []
recipient = ["encrypt"]
salt = ["known_value"]
signature = ["known_value"]
ssh = ["dep:ssh-key", "signature"]
sskr = ["encrypt"]
types = ["known_value"]
default = [
"attachment",
"compress",
"encrypt",
"expression",
"known_value",
"proof",
"recipient",
"salt",
"ssh",
"signature",
"sskr",
"types",
]