From 7bfc821437d58fac89890d43d211a4841dbea442 Mon Sep 17 00:00:00 2001 From: Yasir Date: Thu, 21 Nov 2024 20:22:18 +0300 Subject: [PATCH 1/2] Update dependencies to specific revisions and tags in Cargo.toml files --- bindings/grpc/Cargo.toml | 2 +- examples/Cargo.toml | 4 ++-- identity_iota_core/Cargo.toml | 16 +++++++++++----- identity_storage/Cargo.toml | 2 +- 4 files changed, 15 insertions(+), 9 deletions(-) diff --git a/bindings/grpc/Cargo.toml b/bindings/grpc/Cargo.toml index 71f382926..3aac69c47 100644 --- a/bindings/grpc/Cargo.toml +++ b/bindings/grpc/Cargo.toml @@ -26,7 +26,7 @@ identity_storage = { path = "../../identity_storage", features = ["memstore"] } identity_stronghold = { path = "../../identity_stronghold", features = ["send-sync-storage"] } identity_sui_name_tbd = { path = "../../identity_sui_name_tbd" } iota-sdk = { version = "1.1.2", features = ["stronghold"] } -iota-sdk-move = { git = "https://github.com/iotaledger/iota.git", package = "iota-sdk" } +iota-sdk-move = { git = "https://github.com/iotaledger/iota.git", package = "iota-sdk", rev = "39c83ddcf07894cdee2abd146381d8704205e6e9" } prost = "0.13" rand = "0.8.5" serde = { version = "1.0", features = ["derive", "alloc"] } diff --git a/examples/Cargo.toml b/examples/Cargo.toml index 6ad0c3a88..390d45c73 100644 --- a/examples/Cargo.toml +++ b/examples/Cargo.toml @@ -10,12 +10,12 @@ anyhow = "1.0.62" identity_eddsa_verifier = { path = "../identity_eddsa_verifier", default-features = false, features = ["ed25519"] } identity_storage = { path = "../identity_storage" } identity_stronghold = { path = "../identity_stronghold", default-features = false, features = ["send-sync-storage"] } -iota-sdk = { git = "https://github.com/iotaledger/iota.git", package = "iota-sdk", tag = "v0.7.0-alpha" } +iota-sdk = { git = "https://github.com/iotaledger/iota.git", package = "iota-sdk", rev = "39c83ddcf07894cdee2abd146381d8704205e6e9" } iota-sdk-legacy = { package = "iota-sdk", version = "1.0", default-features = false, features = ["tls", "client", "stronghold"] } json-proof-token.workspace = true rand = "0.8.5" sd-jwt-payload = { version = "0.2.1", default-features = false, features = ["sha"] } -secret-storage = { git = "https://github.com/iotaledger/secret-storage.git", branch = "main" } +secret-storage = { git = "https://github.com/iotaledger/secret-storage.git", tag = "v0.1.0" } serde_json = { version = "1.0", default-features = false } tokio = { version = "1.29", default-features = false, features = ["rt"] } diff --git a/identity_iota_core/Cargo.toml b/identity_iota_core/Cargo.toml index 381d959ba..44933f575 100644 --- a/identity_iota_core/Cargo.toml +++ b/identity_iota_core/Cargo.toml @@ -36,15 +36,15 @@ bcs = { version = "0.1.4", optional = true } fastcrypto = { git = "https://github.com/MystenLabs/fastcrypto", rev = "5f2c63266a065996d53f98156f0412782b468597", package = "fastcrypto", optional = true } identity_eddsa_verifier = { version = "=1.4.0", path = "../identity_eddsa_verifier", optional = true } identity_jose = { version = "=1.4.0", path = "../identity_jose", optional = true } -iota-config = { git = "https://github.com/iotaledger/iota.git", package = "iota-config", tag = "v0.7.0-alpha", optional = true } +iota-config = { git = "https://github.com/iotaledger/iota.git", package = "iota-config", rev = "39c83ddcf07894cdee2abd146381d8704205e6e9", optional = true } iota-crypto = { version = "0.23", optional = true } -iota-sdk = { git = "https://github.com/iotaledger/iota.git", package = "iota-sdk", tag = "v0.7.0-alpha", optional = true } +iota-sdk = { git = "https://github.com/iotaledger/iota.git", package = "iota-sdk", rev = "39c83ddcf07894cdee2abd146381d8704205e6e9", optional = true } itertools = { version = "0.13.0", optional = true } -move-core-types = { git = "https://github.com/iotaledger/iota.git", package = "move-core-types", tag = "v0.7.0-alpha", optional = true } +move-core-types = { git = "https://github.com/iotaledger/iota.git", package = "move-core-types", rev = "39c83ddcf07894cdee2abd146381d8704205e6e9", optional = true } rand = { version = "0.8.5", optional = true } secret-storage = { git = "https://github.com/iotaledger/secret-storage.git", branch = "main", optional = true } serde-aux = { version = "4.5.0", optional = true } -shared-crypto = { git = "https://github.com/iotaledger/iota.git", package = "shared-crypto", tag = "v0.7.0-alpha", optional = true } +shared-crypto = { git = "https://github.com/iotaledger/iota.git", package = "shared-crypto", rev = "39c83ddcf07894cdee2abd146381d8704205e6e9", optional = true } tokio = { version = "1.29.0", default-features = false, optional = true, features = ["macros", "sync", "rt", "process"] } [dev-dependencies] @@ -64,7 +64,13 @@ all-features = true rustdoc-args = ["--cfg", "docsrs"] [features] -default = ["client", "iota-client", "kinesis-client", "revocation-bitmap", "send-sync-client-ext"] +default = [ + "client", + "iota-client", + "kinesis-client", + "revocation-bitmap", + "send-sync-client-ext", +] # Exposes the IotaIdentityClient and IotaIdentityClientExt traits. client = ["dep:async-trait", "iota_sdk_legacy"] # Client for rebased. diff --git a/identity_storage/Cargo.toml b/identity_storage/Cargo.toml index fed168bea..41f777cd7 100644 --- a/identity_storage/Cargo.toml +++ b/identity_storage/Cargo.toml @@ -26,7 +26,7 @@ iota-crypto = { version = "0.23.2", default-features = false, features = ["ed255 json-proof-token = { workspace = true, optional = true } rand = { version = "0.8.5", default-features = false, features = ["std", "std_rng"], optional = true } seahash = { version = "4.1.0", default-features = false } -secret-storage = { git = "https://github.com/iotaledger/secret-storage.git", branch = "main", optional = true } +secret-storage = { git = "https://github.com/iotaledger/secret-storage.git", tag = "v0.1.0", optional = true } serde.workspace = true serde_json.workspace = true thiserror.workspace = true From 294eb5460eaaa7a37b2fbe8dbe642b5bace187f7 Mon Sep 17 00:00:00 2001 From: Yasir Date: Tue, 26 Nov 2024 11:43:05 +0300 Subject: [PATCH 2/2] chore: fmt --- bindings/grpc/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/grpc/Cargo.toml b/bindings/grpc/Cargo.toml index fcd91f8b0..3a412375c 100644 --- a/bindings/grpc/Cargo.toml +++ b/bindings/grpc/Cargo.toml @@ -24,7 +24,7 @@ identity_iota = { path = "../../identity_iota", features = ["resolver", "sd-jwt" identity_jose = { path = "../../identity_jose" } identity_storage = { path = "../../identity_storage", features = ["memstore"] } identity_stronghold = { path = "../../identity_stronghold", features = ["send-sync-storage"] } -iota-sdk = { git = "https://github.com/iotaledger/iota.git", package = "iota-sdk", rev = "39c83ddcf07894cdee2abd146381d8704205e6e9" } +iota-sdk = { git = "https://github.com/iotaledger/iota.git", package = "iota-sdk", rev = "39c83ddcf07894cdee2abd146381d8704205e6e9" } iota-sdk-legacy = { package = "iota-sdk", version = "1.1.2", features = ["stronghold"] } prost = "0.13" rand = "0.8.5"