forked from hyperledger/anoncreds-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
49 lines (44 loc) · 1.69 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
[package]
name = "anoncreds"
version = "0.1.0-dev.18"
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"]
ffi = ["ffi-support"]
logger = ["env_logger"]
vendored = ["openssl", "openssl/vendored"]
[dependencies]
bs58 = "0.4.0"
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"
serde = { version = "1.0.155", features = ["derive"] }
bitvec = { version = "1.0.1", features = ["serde"] }
serde_json = { version = "1.0.94", features = ["raw_value"]}
sha2 = "0.10.6"
tempfile = "3.4.0"
thiserror = "1.0.39"
ursa = { version = "0.3.7", default-features = false, features = ["cl_native", "serde"] }
zeroize = { version = "1.5.7", optional = true, features = ["zeroize_derive"] }
# We add the openssl dependency here because ursa does not expose a vendored openssl feature
# Since we use "cl_native" as a feature, which uses openssl, we can add a vendored build with
# the new exposed "vendored" feature
openssl = { version = "0.10.45", optional = true }
[profile.release]
lto = true
codegen-units = 1