Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inline libvdrtools code into repo #730

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Inline libvdrtools code into repo
Signed-off-by: Patrik Stas <patrik.stas@absa.africa>
Patrik-Stas committed Jan 11, 2023
commit 771f1fe09a65c86b896a6f8d251e221910f0d6b9
4 changes: 2 additions & 2 deletions aries_vcx/Cargo.toml
Original file line number Diff line number Diff line change
@@ -23,7 +23,7 @@ modular_dependencies = ["test_utils", "tokio/rt", "tokio/macros"]
[dependencies]
bs58 = "0.4.0"
async-trait = "0.1.53"
env_logger = "0.9.0"
env_logger = "0.10.0"
log = "0.4.16"
chrono = "0.4.23"
time = "0.1.44"
@@ -35,7 +35,7 @@ serde_derive = "1.0.97"
regex = "1.1.0"
base64 = "0.10"
openssl = { version = "0.10.35" }
libvdrtools = { git = "https://gitlab.com/left-arm/vdr-tools.git", rev = "debf776c8" }
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
78 changes: 78 additions & 0 deletions vdrtools/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
[package]
name = "libvdrtools"
version = "0.8.6"
authors = ["Evernym"]
edition = "2018"

description = "A library that facilitates building standards compliant and interoperable solutions for self-sovereign identity by abstracting the operations for interacting with a verifiable data registry as defined by Hyperledger Aries."
license = "Apache-2.0"

[lib]
name = "vdrtools"
path = "src/lib.rs"

[features]
default = ["base58_bs58", "pair_amcl", "local_nodes_pool", "revocation_tests"]
base58_bs58 = ["bs58"]
pair_amcl = ["ursa"]
local_nodes_pool = []
revocation_tests = []
force_full_interaction_tests = []
sodium_static = []
only_high_cases = []
mysql_storage = []
ffi_api = [ "env_logger", "num_cpus", "futures/thread-pool" ]

# Causes the build to fail on all warnings
fatal_warnings = []

[dependencies]
async-std = "1.8.0"
async-trait = "0.1.42"
cfg-if = "1.0.0"
env_logger = { version = "0.9", optional = true }
etcommon-rlp = "0.2.4"
failure = { version = "0.1.8", features = ["backtrace"] }
hex = "0.4.0"
libc = "0.2.114"
log = "0.4.8"
log-derive = "0.3.0"
num_cpus = { version = "1.8.0", optional = true }
rand = "0.8.4"
bs58 = { version = "0.4.0", optional = true }
serde = "1.0.99"
serde_json = "1.0.40"
serde_derive = "1.0.99"
sha2 = "0.9"
sha3 = "0.9"
rmp-serde = "0.13.7"
time = "0.1.44"
zmq = "0.9.2"
lazy_static = "1.3"
byteorder = "1.3.2"
log-panics = "2.0.0"
zeroize = "~1.3.0"
regex = "1.2.1"
indy-api-types = { path = "./indy-api-types"}
indy-utils = { path = "./indy-utils"}
indy-wallet = { path = "./indy-wallet"}
variant_count = "*"
num-traits = "0.2"
num-derive = "0.3"
convert_case = "0.3.2"
futures = { version = "0.3", default-features = false, features = [ "executor", "alloc" ] }
uuid = { version = "0.8", default-features = false, features = ["v4"] }
ursa = { version = "0.3.7", optional = true}

[target.'cfg(target_os = "android")'.dependencies]
android_logger = "0.5"

[dev-dependencies]
criterion = "0.2"
dirs = "2.0.2"
rstest = "0.6.4"


[[bench]]
name = "wallet"
harness = false
Loading