diff --git a/indy-credx/Cargo.toml b/indy-credx/Cargo.toml index 4a8c657..01cfa34 100644 --- a/indy-credx/Cargo.toml +++ b/indy-credx/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "indy-credx" -version = "1.0.0" +version = "1.0.1" authors = ["Hyperledger Indy Contributors "] description = "Verifiable credential issuance and presentation for Hyperledger Indy (https://www.hyperledger.org/projects), which provides a distributed-ledger-based foundation for self-sovereign identity (https://sovrin.org)." edition = "2021" @@ -25,6 +25,10 @@ vendored = ["indy-data-types/vendored"] [dependencies] env_logger = { version = "0.10", optional = true } ffi-support = { version = "0.4.0", optional = true } +indy-data-types = { version = "0.6.1", features = [ + "cl_native", +], path = "../indy-data-types" } +indy-utils = { version = "0.6.0", default-features = false, path = "../indy-utils" } log = "0.4" once_cell = "1" rand = "0.8" @@ -34,13 +38,3 @@ serde_json = "1.0" sha2 = "0.10" thiserror = "1.0" zeroize = { version = "1", optional = true } - -[dependencies.indy-data-types] -version = "0.6" -path = "../indy-data-types" -features = ["cl_native"] - -[dependencies.indy-utils] -version = "0.5" -path = "../indy-utils" -default-features = false diff --git a/indy-credx/src/services/helpers.rs b/indy-credx/src/services/helpers.rs index aa7ba94..8d28c25 100644 --- a/indy-credx/src/services/helpers.rs +++ b/indy-credx/src/services/helpers.rs @@ -8,7 +8,7 @@ use indy_data_types::anoncreds::{ use crate::anoncreds_clsignatures::{ hash_credential_attribute, CredentialSchema, CredentialValues as ClCredentialValues, - Issuer as ClIssuer, MasterSecret as ClMasterSecret, NonCredentialSchema, SubProofRequest, + Issuer as ClIssuer, LinkSecret as ClLinkSecret, NonCredentialSchema, SubProofRequest, Verifier as ClVerifier, }; use crate::error::Result; @@ -45,7 +45,7 @@ pub fn build_non_credential_schema() -> Result { pub fn build_credential_values( credential_values: &HashMap, - link_secret: Option<&ClMasterSecret>, + link_secret: Option<&ClLinkSecret>, ) -> Result { trace!( "build_credential_values >>> credential_values: {:?}", diff --git a/indy-data-types/Cargo.toml b/indy-data-types/Cargo.toml index 2bdb1a0..d4bfa4a 100644 --- a/indy-data-types/Cargo.toml +++ b/indy-data-types/Cargo.toml @@ -32,6 +32,7 @@ vendored = ["anoncreds-clsignatures?/openssl_vendored"] [dependencies] anoncreds-clsignatures = { version = "0.2", optional = true } +indy-utils = { version = "0.6.0", default-features = false, path = "../indy-utils" } hex = { version = "0.4", optional = true } once_cell = "1" regex = "1" @@ -39,12 +40,6 @@ serde = { version = "1.0", optional = true, features = ["derive"] } serde_json = { version = "1.0", optional = true, features = ["raw_value"] } sha2 = { version = "0.10", optional = true } zeroize = { version = "1", features = ["zeroize_derive"] } -rmp-serde = "1.0" - -[dependencies.indy-utils] -version = "0.6" -path = "../indy-utils" -default-features = false [dev-dependencies] hex = "0.4"