Skip to content

Commit

Permalink
Minimize tokio dependencies
Browse files Browse the repository at this point in the history
Signed-off-by: Patrik Stas <patrik.stas@absa.africa>
  • Loading branch information
Patrik-Stas committed Sep 22, 2023
1 parent d507cfe commit 00896e8
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion aries_vcx/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ uuid = { version = "0.8", default-features = false, features = ["v4"] }
strum = "0.16.0"
strum_macros = "0.16.0"
derive_builder = "0.10.2"
tokio = { version = "1.20.4" }
thiserror = "1.0.37"
url = { version = "2.3", features = ["serde"] }

Expand Down
2 changes: 1 addition & 1 deletion aries_vcx/src/common/proofs/verifier/verifier.rs
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ pub mod integration_tests {
false,
)
.await;
tokio::time::sleep(Duration::from_millis(500)).await;
std::thread::sleep(Duration::from_millis(500));

let cred_id = create_and_write_credential(
anoncreds_issuer,
Expand Down
2 changes: 1 addition & 1 deletion aries_vcx/src/common/test_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ pub async fn create_and_write_test_schema(
.publish_schema(&schema_json, submitter_did, None)
.await
.unwrap();
tokio::time::sleep(Duration::from_millis(1000)).await;
std::thread::sleep(Duration::from_millis(500));
Schema::create_from_ledger_json(&schema_json, "", &schema_id).unwrap()
}

Expand Down
2 changes: 1 addition & 1 deletion aries_vcx_core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ thiserror = "1.0.40"
lazy_static = "1.4.0"
derive_builder = "0.12.0"
uuid = { version = "1.3.0", default-features = false, features = ["v4"] }
tokio = { version = "1.20" }
tokio = { version = "1.20.5", features = ["sync"], default-features = false }
indy-vdr-proxy-client = { git = "https://github.com/hyperledger/indy-vdr.git", rev = "879e29e", optional = true }
indy-ledger-response-parser = { path = "../indy_ledger_response_parser" }
lru = { version = "0.10.0" }
Expand Down

0 comments on commit 00896e8

Please sign in to comment.