-
Notifications
You must be signed in to change notification settings - Fork 84
/
Copy pathCargo.toml
73 lines (67 loc) · 2.9 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
64
65
66
67
68
69
70
71
72
73
[package]
name = "aries-vcx"
version.workspace = true
authors.workspace = true
license.workspace = true
edition.workspace = true
[lib]
path = "src/lib.rs"
doctest = false
[features]
test_utils = [ "messages/test_utils" ]
pool_tests = [ "test_utils" ]
agency_pool_tests = ["test_utils" ]
general_test = ["test_utils", "messages/general_test" ]
fatal_warnings = []
warnlog_fetched_messages = []
mysql_test = ["test_utils" ]
modular_dependencies = ["test_utils", "tokio/rt", "tokio/macros"]
[dependencies]
bs58 = "0.4.0"
async-trait = "0.1.53"
env_logger = "0.10.0"
log = "0.4.16"
chrono = "0.4.23"
time = "0.1.44"
lazy_static = "1.3"
rand = "0.7.3"
serde = "1.0.97"
serde_json = "1.0.40"
serde_derive = "1.0.97"
regex = "1.1.0"
base64 = "0.10"
openssl = { version = "0.10.35" }
libvdrtools = { path = "../vdrtools" }
# vdrtools alternatives ----
indy-vdr = { version = "0.3.4", default-features = false, features = ["ffi", "log"] }
# PATCH (TO MONITOR IN FUTURE): The following patch changes the `indy-data-types` (within indy-shared-rs) to depend on
# `ursa "0.3.6"` rather than `ursa "=0.3.6"`. Currently, `libvdrtools` depends on `ursa "0.3.7"`, which causes a mismatch of
# `indy-utils` versions, which causes some types within credx to fail. Details about the issue can be found here: https://github.com/hyperledger/indy-shared-rs/issues/20
# `indy-data-types` depends on `ursa =0.3.6` due to a 'broken cl feature', see commmit: https://github.com/hyperledger/indy-shared-rs/commit/2403eed6449a3b5e347697b215a732fc33c014c0
# however using ursa 0.3.7 does not seem to affect our usage of indy-credx currently. More testing would be ideal.
# various combinations of indy-vdr and indy-credx have been tried to resolve the dependency mismatches, however this patch appears
# to be the only quick solution.
# Potential resolutions:
# - wait for ursa 0.3.8+ to resolve the CL issue and update indy-shared-rs,
# - monitor anoncred-rs (which will replace indy-credx) as the fix will likely go in here,
# - monitor the issue for other fixes from the maintainers: https://github.com/hyperledger/indy-shared-rs/issues/20
# - update libvdrtools to use =0.3.6 ursa
indy-credx = { git = "https://github.com/anonyome/indy-shared-rs.git", rev = "7342bc624d23ece8845d1a701cd2cdc9cd401bb0" }
# ----------------------
futures = { version = "0.3", default-features = false }
libloading = "0.5.0"
uuid = { version = "0.8", default-features = false, features = ["v4"]}
strum = "0.16.0"
strum_macros = "0.16.0"
agency_client = { path = "../agency_client" }
derive_builder = "0.10.2"
tokio = { version = "1.20.3" }
messages = { path = "../messages" }
zmq = { version = "0.9.2" }
thiserror = "1.0.37"
[target.'cfg(target_os = "android")'.dependencies]
android_logger = "0.5"
[dev-dependencies]
async-channel = "1.7.1"
tokio = { version = "1.20", features = [ "rt", "macros", "rt-multi-thread" ] }
sqlx = { version = "0.5", features = [ "migrate", "mysql", "runtime-tokio-rustls" ] }