forked from hyperledger/anoncreds-rs
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Cargo.toml
54 lines (49 loc) · 1.68 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
[package]
name = "anoncreds"
version = "0.2.0"
authors = [
"Hyperledger AnonCreds Contributors <[email protected]>",
]
description = "Verifiable credential issuance and presentation for Hyperledger AnonCreds (https://www.hyperledger.org/projects), which provides a foundation for self-sovereign identity."
edition = "2021"
license = "Apache-2.0"
readme = "../README.md"
repository = "https://github.com/hyperledger/anoncreds-rs/"
categories = ["authentication", "cryptography"]
keywords = ["hyperledger", "ssi", "verifiable", "credentials"]
rust-version = "1.58"
[lib]
name = "anoncreds"
path = "src/lib.rs"
crate-type = ["staticlib", "rlib", "cdylib"]
[features]
default = ["ffi", "logger", "zeroize", "w3c"]
ffi = ["dep:ffi-support"]
logger = ["dep:env_logger"]
vendored = ["anoncreds-clsignatures/openssl_vendored"]
w3c = ["dep:base64", "dep:chrono", "dep:rmp-serde"]
zeroize = ["dep:zeroize"]
[dependencies]
anoncreds-clsignatures = "0.3.2"
base64 = { version = "0.21.5", optional = true }
bitvec = { version = "1.0.1", features = ["serde"] }
bs58 = "0.5.0"
chrono = { version = "0.4.31", optional = true, features = ["serde"] }
env_logger = { version = "0.9.3", optional = true }
ffi-support = { version = "0.4.0", optional = true }
log = "0.4.17"
once_cell = "1.17.1"
rand = "0.8.5"
regex = "1.7.1"
rmp-serde = { version = "1.1.2", optional = true }
serde = { version = "1.0.155", features = ["derive"] }
serde_json = { version = "1.0.94", features = ["raw_value"] }
sha2 = "0.10.6"
thiserror = "1.0.39"
zeroize = { version = "1.5.7", optional = true, features = ["zeroize_derive"] }
[dev-dependencies]
rstest = "0.18.2"
[profile.release]
codegen-units = 1
lto = true
strip = "debuginfo"