-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #33 from andrewwhitehead/upd/cl-0.2
Update to anoncreds-clsignatures 0.2, lighten indy-utils
- Loading branch information
Showing
15 changed files
with
95 additions
and
263 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "indy-credx" | ||
version = "1.0.0" | ||
version = "1.0.1" | ||
authors = ["Hyperledger Indy Contributors <[email protected]>"] | ||
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "indy-data-types" | ||
version = "0.6.0" | ||
version = "0.6.1" | ||
authors = ["Hyperledger Indy Contributors <[email protected]>"] | ||
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 = "2021" | ||
|
@@ -16,28 +16,31 @@ path = "src/lib.rs" | |
crate-type = ["rlib"] | ||
|
||
[features] | ||
default = ["serde_support", "cl_native"] | ||
cl = ["serde_support"] | ||
cl_native = ["serde_support", "anoncreds-clsignatures/openssl_bn"] | ||
merkle_tree = ["indy-utils/hash", "hex"] | ||
default = ["anoncreds", "merkle_tree"] | ||
anoncreds = ["serde_support"] | ||
cl = ["anoncreds", "anoncreds-clsignatures", "serde_support"] | ||
cl_native = ["anoncreds", "anoncreds-clsignatures/openssl_bn", "serde_support"] | ||
merkle_tree = ["hex", "sha2"] | ||
rich_schema = [] | ||
serde_support = ["serde", "serde_json", "anoncreds-clsignatures?/serde", "indy-utils/serde"] | ||
serde_support = [ | ||
"serde", | ||
"serde_json", | ||
"anoncreds-clsignatures?/serde", | ||
"indy-utils/serde", | ||
] | ||
vendored = ["anoncreds-clsignatures?/openssl_vendored"] | ||
|
||
[dependencies] | ||
anoncreds-clsignatures = { version = "0.1", optional = true } | ||
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" | ||
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"] } | ||
|
||
[dependencies.indy-utils] | ||
version = "0.5" | ||
path = "../indy-utils" | ||
default-features = false | ||
|
||
[dev-dependencies] | ||
hex = "0.4" | ||
rand = "0.8" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
indy-utils/src/hash.rs → indy-data-types/src/merkle_tree/hash.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "indy-utils" | ||
version = "0.5.2" | ||
version = "0.6.0" | ||
authors = ["Hyperledger Indy Contributors <[email protected]>"] | ||
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" | ||
|
@@ -16,29 +16,30 @@ path = "src/lib.rs" | |
crate-type = ["rlib"] | ||
|
||
[features] | ||
default = ["ed25519", "hash", "txn_signature"] | ||
base64 = ["base64_rs"] | ||
default = ["ed25519"] | ||
ed25519 = ["curve25519-dalek", "ed25519-dalek", "rand", "sha2", "x25519-dalek"] | ||
hash = ["sha2"] | ||
txn_signature = ["hex", "sha2", "serde", "serde_json"] | ||
|
||
[dependencies] | ||
base64_rs = { package = "base64", version = "0.13", optional = true } | ||
bs58 = "0.4" | ||
curve25519-dalek = { version = "3.1", default-features = false, features = ["u64_backend"], optional = true } | ||
ed25519-dalek = { version = "1.0", default-features = false, features = ["u64_backend"], optional = true } | ||
hex = { version = "0.4", optional = true } | ||
bs58 = "0.5" | ||
curve25519-dalek = { version = "3.1", default-features = false, features = [ | ||
"u64_backend", | ||
], optional = true } | ||
ed25519-dalek = { version = "1.0", default-features = false, features = [ | ||
"u64_backend", | ||
], optional = true } | ||
once_cell = "1.9" | ||
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.9", optional = true } | ||
sha2 = { version = "0.10", optional = true } | ||
thiserror = "1.0" | ||
x25519-dalek = { version = "=1.2", default-features = false, features = ["u64_backend"], optional = true } | ||
x25519-dalek = { version = "=1.2", default-features = false, features = [ | ||
"u64_backend", | ||
], optional = true } | ||
zeroize = { version = "1.3" } | ||
|
||
[dev-dependencies] | ||
async-global-executor = "1.2" | ||
async-global-executor = "2.3" | ||
serde = { version = "1.0", features = ["derive"] } | ||
serde_json = "1.0" |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.