From 1dd27f023ec9aef5de9ed0bd14c8baed429047a4 Mon Sep 17 00:00:00 2001 From: "artem.ivanov" Date: Wed, 20 Dec 2023 09:36:28 +0300 Subject: [PATCH] Updated Rust version to 1.70.0 due to cross compilation issue Signed-off-by: artem.ivanov --- .github/workflows/build.yml | 2 +- src/services/w3c/prover.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0bdda9af..59c58ac2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,7 +1,7 @@ name: "Anoncreds" env: - RUST_VERSION: "1.65.0" + RUST_VERSION: "1.70.0" CROSS_VERSION: "0.2.4" on: diff --git a/src/services/w3c/prover.rs b/src/services/w3c/prover.rs index 33d729c5..6bec5f68 100644 --- a/src/services/w3c/prover.rs +++ b/src/services/w3c/prover.rs @@ -219,9 +219,9 @@ pub fn create_presentation( Ok(presentation) } -fn build_credential_subject<'p>( +fn build_credential_subject( pres_req: &PresentationRequestPayload, - credentials: &PresentCredential<'p, W3CCredential>, + credentials: &PresentCredential<'_, W3CCredential>, ) -> Result { let mut credential_subject = CredentialSubject { id: credentials.cred.credential_subject.id.clone(),