Skip to content

Commit

Permalink
fix: remove unused dependencies from Cargo.toml files
Browse files Browse the repository at this point in the history
  • Loading branch information
itsyaasir authored and wulfraem committed Nov 20, 2024
1 parent 02fd855 commit 113993e
Show file tree
Hide file tree
Showing 10 changed files with 2 additions and 21 deletions.
1 change: 0 additions & 1 deletion bindings/grpc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ identity_stronghold = { path = "../../identity_stronghold", features = [
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" }
openssl = { version = "0.10", features = ["vendored"] }
prost = "0.13"
rand = "0.8.5"
serde = { version = "1.0", features = ["derive", "alloc"] }
Expand Down
1 change: 0 additions & 1 deletion examples/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ iota-sdk-legacy = { package = "iota-sdk", version = "1.0", default-features = fa
"stronghold",
] }
json-proof-token.workspace = true
primitive-types = "0.12.1"
rand = "0.8.5"
sd-jwt-payload = { version = "0.2.1", default-features = false, features = [
"sha",
Expand Down
1 change: 0 additions & 1 deletion identity_core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ strum.workspace = true
thiserror.workspace = true
time = { version = "0.3.23", default-features = false, features = ["std", "serde", "parsing", "formatting"] }
url = { version = "2.4", default-features = false, features = ["serde"] }
zeroize = { version = "1.6", default-features = false }

[target.'cfg(all(target_arch = "wasm32", not(target_os = "wasi")))'.dependencies]
js-sys = { version = "0.3.55", default-features = false }
Expand Down
2 changes: 1 addition & 1 deletion identity_credential/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ rust-version.workspace = true
description = "An implementation of the Verifiable Credentials standard."

[dependencies]
bls12_381_plus = { workspace = true, optional = true }
flate2 = { version = "1.0.28", default-features = false, features = ["rust_backend"], optional = true }
futures = { version = "0.3", default-features = false, optional = true }
identity_core = { version = "=1.2.0", path = "../identity_core", default-features = false }
Expand All @@ -37,7 +38,6 @@ anyhow = "1.0.62"
identity_eddsa_verifier = { path = "../identity_eddsa_verifier", default-features = false, features = ["ed25519"] }
iota-crypto = { version = "0.23", default-features = false, features = ["ed25519", "std", "random"] }
proptest = { version = "1.4.0", default-features = false, features = ["std"] }
tokio = { version = "1.35.0", default-features = false, features = ["rt-multi-thread", "macros"] }

[package.metadata.docs.rs]
# To build locally:
Expand Down
1 change: 0 additions & 1 deletion identity_document/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ rust-version.workspace = true
description = "Method-agnostic implementation of the Decentralized Identifiers (DID) standard."

[dependencies]
did_url_parser = { version = "0.2.0", features = ["std", "serde"] }
identity_core = { version = "=1.2.0", path = "../identity_core" }
identity_did = { version = "=1.2.0", path = "../identity_did" }
identity_verification = { version = "=1.2.0", path = "../identity_verification", default-features = false }
Expand Down
6 changes: 0 additions & 6 deletions identity_iota/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,6 @@ identity_resolver = { version = "=1.2.0", path = "../identity_resolver", default
identity_storage = { version = "=1.2.0", path = "../identity_storage", default-features = false, features = ["iota-document"] }
identity_verification = { version = "=1.2.0", path = "../identity_verification", default-features = false }

[dev-dependencies]
anyhow = "1.0.64"
iota-sdk = { version = "1.0", default-features = false, features = ["tls", "client"] }
rand = "0.8.5"
tokio = { version = "1.29.0", features = ["full"] }

[features]
default = ["revocation-bitmap", "client", "iota-client", "kinesis-client", "resolver"]

Expand Down
6 changes: 1 addition & 5 deletions identity_iota_core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,29 +12,25 @@ rust-version.workspace = true
description = "An IOTA Ledger integration for the IOTA DID Method."

[dependencies]
anyhow = { version = "1.0.57" }
async-trait = { version = "0.1.56", default-features = false, optional = true }
futures = { version = "0.3", default-features = false }
identity_core = { version = "=1.2.0", path = "../identity_core", default-features = false }
identity_credential = { version = "=1.2.0", path = "../identity_credential", default-features = false, features = ["validator"] }
identity_did = { version = "=1.2.0", path = "../identity_did", default-features = false }
identity_document = { version = "=1.2.0", path = "../identity_document", default-features = false }
identity_verification = { version = "=1.2.0", path = "../identity_verification", default-features = false }
iota-sdk = { version = "1.0.2", default-features = false, features = ["serde", "std"], optional = true }
iota-sdk = { version = "1.1.5", default-features = false, features = ["serde", "std"], optional = true }
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"] }
prefix-hex = { version = "0.7", default-features = false }
ref-cast = { version = "1.0.14", default-features = false }
serde.workspace = true
serde_json.workspace = true
strum.workspace = true
thiserror.workspace = true

[dev-dependencies]
iota-crypto = { version = "0.23", default-features = false, features = ["bip39", "bip39-en"] }
proptest = { version = "1.0.0", default-features = false, features = ["std"] }
tokio = { version = "1.29.0", default-features = false, features = ["rt-multi-thread", "macros"] }

[package.metadata.docs.rs]
# To build locally:
Expand Down
2 changes: 0 additions & 2 deletions identity_jose/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,10 @@ identity_core = { version = "=1.2.0", path = "../identity_core", default-feature
iota-crypto = { version = "0.23", default-features = false, features = ["std", "sha"] }
serde.workspace = true
serde_json = { version = "1.0", default-features = false, features = ["std"] }
subtle = { version = "2.5", default-features = false }
thiserror.workspace = true
zeroize = { version = "1.6", default-features = false, features = ["std", "zeroize_derive"] }

[dev-dependencies]
anyhow = "1"
iota-crypto = { version = "0.23", features = ["ed25519", "random", "hmac"] }
p256 = { version = "0.13.0", default-features = false, features = ["std", "ecdsa", "ecdsa-core"] }
signature = { version = "2", default-features = false }
Expand Down
1 change: 0 additions & 1 deletion identity_resolver/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ identity_credential = { version = "=1.2.0", path = "../identity_credential", def
identity_did = { version = "=1.2.0", path = "../identity_did", default-features = false }
identity_document = { version = "=1.2.0", path = "../identity_document", default-features = false }
identity_sui_name_tbd = { path = "../identity_sui_name_tbd", optional = true }
serde = { version = "1.0", default-features = false, features = ["std", "derive"] }
strum.workspace = true
thiserror = { version = "1.0", default-features = false }

Expand Down
2 changes: 0 additions & 2 deletions identity_sui_name_tbd/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,10 @@ identity_eddsa_verifier = { version = "=1.2.0", path = "../identity_eddsa_verifi
identity_iota_core = { version = "=1.2.0", path = "../identity_iota_core" }
identity_jose = { version = "=1.2.0", path = "../identity_jose" }
identity_verification = { version = "=1.2.0", path = "../identity_verification" }
iota-config = { git = "https://github.com/iotaledger/iota.git", package = "iota-config", tag = "v0.7.0-alpha" }
iota-crypto = { version = "0.23" }
iota-sdk = { git = "https://github.com/iotaledger/iota.git", package = "iota-sdk", tag = "v0.7.0-alpha" }
itertools = "0.13.0"
move-core-types = { git = "https://github.com/iotaledger/iota.git", package = "move-core-types", tag = "v0.7.0-alpha" }
rand = "0.8.5"
secret-storage = { git = "https://github.com/iotaledger/secret-storage.git", branch = "main" }
serde.workspace = true
serde-aux = "4.5.0"
Expand Down

0 comments on commit 113993e

Please sign in to comment.