diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d2d1b29..5a8126b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,4 +1,4 @@ -name: "Indy-VDR" +name: "Indy-Credx" env: RUST_VERSION: "1.60.0" @@ -91,8 +91,8 @@ jobs: - name: Test indy-utils run: cargo test --manifest-path indy-utils/Cargo.toml - - name: Test indy-data-types (CL) - run: cargo test --manifest-path indy-data-types/Cargo.toml --features cl + # - name: Test indy-data-types (CL) + # run: cargo test --manifest-path indy-data-types/Cargo.toml --features cl - name: Test indy-data-types (CL-native) run: cargo test --manifest-path indy-data-types/Cargo.toml --features cl_native,vendored diff --git a/indy-credx/Cargo.toml b/indy-credx/Cargo.toml index 9df02c3..2369f33 100644 --- a/indy-credx/Cargo.toml +++ b/indy-credx/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "indy-credx" -version = "0.3.1" +version = "0.3.2" 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 = "2018" @@ -22,7 +22,7 @@ logger = ["env_logger"] vendored = ["indy-data-types/vendored"] [dependencies] -env_logger = { version = "0.7.1", optional = true } +env_logger = { version = "0.9", optional = true } ffi-support = { version = "0.4.0", optional = true } log = "0.4" once_cell = "1.9" @@ -36,7 +36,7 @@ thiserror = "1.0" zeroize = { version = "1.3", optional = true } [dependencies.indy-data-types] -version = "0.5" +version = "0.5.2" path = "../indy-data-types" features = ["cl_native"] diff --git a/indy-data-types/Cargo.toml b/indy-data-types/Cargo.toml index abdb575..e1ea65f 100644 --- a/indy-data-types/Cargo.toml +++ b/indy-data-types/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "indy-data-types" -version = "0.5.1" +version = "0.5.2" authors = ["Hyperledger Indy Contributors "] description = "Common data types for Hyperledger Indy (https://www.hyperledger.org/projects), which provides a distributed-ledger-based foundation for self-sovereign identity (https://sovrin.org)." edition = "2018" @@ -21,7 +21,7 @@ cl = ["serde_support", "ursa", "ursa/cl", "ursa/serde"] cl_native = ["serde_support", "ursa", "ursa/cl_native", "ursa/serde"] merkle_tree = ["indy-utils/hash", "hex"] rich_schema = [] -serde_support = ["serde", "serde_json"] +serde_support = ["serde", "serde_json", "indy-utils/serde"] vendored = ["openssl", "openssl/vendored", "openssl-src"] [dependencies] @@ -32,7 +32,7 @@ once_cell = "1.9" regex = "1.3" serde = { version = "1.0", optional = true, features = ["derive"] } serde_json = { version = "1.0", optional = true, features = ["raw_value"] } -ursa = { version = "0.3.7", default-features = false, optional = true } +ursa = { version = "0.3", default-features = false, optional = true } zeroize = { version = "1.1", features = ["zeroize_derive"] } [dependencies.indy-utils] diff --git a/indy-utils/Cargo.toml b/indy-utils/Cargo.toml index 6205b2b..b66c1e2 100644 --- a/indy-utils/Cargo.toml +++ b/indy-utils/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "indy-utils" -version = "0.5.1" +version = "0.5.2" authors = ["Hyperledger Indy Contributors "] description = "Utilities for Hyperledger Indy (https://www.hyperledger.org/projects), which provides a distributed-ledger-based foundation for self-sovereign identity (https://sovrin.org)." edition = "2018" @@ -33,7 +33,7 @@ rand = { version = "0.8", optional = true } regex = "1.3" serde = { version = "1.0", optional = true, features = ["derive"] } serde_json = { version = "1.0", optional = true } -sha2 = { version = "0.10", optional = true } +sha2 = { version = "0.9", optional = true } thiserror = "1.0" x25519-dalek = { version = "=1.2", default-features = false, features = ["u64_backend"], optional = true } zeroize = { version = "1.3" } diff --git a/indy-utils/src/error.rs b/indy-utils/src/error.rs index 23c1f38..898f8d1 100644 --- a/indy-utils/src/error.rs +++ b/indy-utils/src/error.rs @@ -118,7 +118,7 @@ define_error!( "Error type for failures of `Validatable::validate`" ); -#[cfg(feature = "serde")] +#[cfg(feature = "serde_json")] impl From for ConversionError { fn from(err: serde_json::error::Error) -> Self { Self::from_msg(err.to_string()) diff --git a/wrappers/python/indy_credx/version.py b/wrappers/python/indy_credx/version.py index 2506faa..90c1185 100644 --- a/wrappers/python/indy_credx/version.py +++ b/wrappers/python/indy_credx/version.py @@ -1,3 +1,3 @@ """indy_credx library wrapper version.""" -__version__ = "0.3.1" +__version__ = "0.3.2"