Skip to content

Commit

Permalink
Update dependencies to specific revisions and tags in Cargo.toml files
Browse files Browse the repository at this point in the history
  • Loading branch information
itsyaasir committed Nov 21, 2024
1 parent f5b52f0 commit 25f3468
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 39 deletions.
2 changes: 1 addition & 1 deletion bindings/grpc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"] }
Expand Down
8 changes: 3 additions & 5 deletions examples/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,13 @@ publish = false
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" }
identity_stronghold = { path = "../identity_stronghold", default-features = false, features = ["send-sync-storage"] }
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"] }

Expand Down
62 changes: 30 additions & 32 deletions identity_iota_core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ identity_credential = { version = "=1.4.0", path = "../identity_credential", def
identity_did = { version = "=1.4.0", path = "../identity_did", default-features = false }
identity_document = { version = "=1.4.0", path = "../identity_document", default-features = false }
identity_verification = { version = "=1.4.0", path = "../identity_verification", default-features = false }
iota_sdk_legacy = { version = "1.1.5", default-features = false, features = ["serde", "std"], optional = true, package="iota-sdk" }
iota_sdk_legacy = { version = "1.1.5", default-features = false, features = ["serde", "std"], optional = true, package = "iota-sdk" }
num-derive = { version = "0.4", default-features = false }
num-traits = { version = "0.2", default-features = false, features = ["std"] }
once_cell = { version = "1.18", default-features = false, features = ["std"] }
Expand All @@ -36,32 +36,24 @@ 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 }
tokio = { version = "1.29.0", default-features = false, optional = true, features = [
"macros",
"sync",
"rt",
"process",
] }
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]
iota-crypto = { version = "0.23", default-features = false, features = ["bip39", "bip39-en"] }
proptest = { version = "1.0.0", default-features = false, features = ["std"] }

# for feature kinesis-client tests
identity_iota_core= { path = ".", features = ["kinesis-client"] } # enable for e2e tests
identity_storage = { path = "../identity_storage", features = [
"send-sync-storage",
"storage-signer",
] }
identity_iota_core = { path = ".", features = ["kinesis-client"] } # enable for e2e tests
identity_storage = { path = "../identity_storage", features = ["send-sync-storage", "storage-signer"] }
jsonpath-rust = "0.5.1"
serial_test = "3.1.1"

Expand All @@ -72,26 +64,32 @@ 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.
kinesis-client = [
"dep:async-trait",
"dep:bcs",
"dep:fastcrypto",
"dep:identity_eddsa_verifier",
"dep:identity_jose",
"dep:iota-config",
"dep:iota-crypto",
"dep:iota-sdk",
"dep:itertools",
"dep:move-core-types",
"dep:rand",
"dep:secret-storage",
"dep:serde-aux",
"dep:shared-crypto",
"dep:tokio",
"dep:async-trait",
"dep:bcs",
"dep:fastcrypto",
"dep:identity_eddsa_verifier",
"dep:identity_jose",
"dep:iota-config",
"dep:iota-crypto",
"dep:iota-sdk",
"dep:itertools",
"dep:move-core-types",
"dep:rand",
"dep:secret-storage",
"dep:serde-aux",
"dep:shared-crypto",
"dep:tokio",
]
# Enables the implementation of the extension traits on the iota_sdk_legacy's Client.
iota-client = ["client", "iota_sdk_legacy/client", "iota_sdk_legacy/tls"]
Expand Down
2 changes: 1 addition & 1 deletion identity_storage/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ iota-crypto = { version = "0.23", default-features = false, features = ["ed25519
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
Expand Down

0 comments on commit 25f3468

Please sign in to comment.