From 5e5d333aff8e623c7fe02e80d26597ed10f6d7a0 Mon Sep 17 00:00:00 2001 From: Naian <126972030+nain-F49FF806@users.noreply.github.com> Date: Wed, 25 Dec 2024 12:40:42 +0000 Subject: [PATCH] Remove unused dependencies Signed-off-by: Naian <126972030+nain-F49FF806@users.noreply.github.com> --- Cargo.lock | 41 ------------------- aries/agents/mediator/Cargo.toml | 1 - aries/agents/mediator/client-tui/Cargo.toml | 1 - aries/aries_vcx/Cargo.toml | 13 +++--- aries/aries_vcx_anoncreds/Cargo.toml | 1 - .../indy_ledger_response_parser/Cargo.toml | 1 - aries/misc/test_utils/Cargo.toml | 1 - .../wrappers/uniffi-aries-vcx/core/Cargo.toml | 2 - did_core/did_doc/Cargo.toml | 3 -- did_core/did_methods/did_cheqd/Cargo.toml | 1 - did_core/did_methods/did_peer/Cargo.toml | 3 -- .../did_methods/did_resolver_sov/Cargo.toml | 1 - 12 files changed, 6 insertions(+), 63 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 789b5ffa8b..27e8034bc1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -538,7 +538,6 @@ dependencies = [ "aries_vcx_anoncreds", "aries_vcx_ledger", "aries_vcx_wallet", - "async-channel", "async-trait", "backtrace", "base64 0.22.1", @@ -553,7 +552,6 @@ dependencies = [ "did_resolver_registry", "did_resolver_sov", "diddoc_legacy", - "env_logger 0.11.5", "futures", "lazy_static", "log", @@ -561,7 +559,6 @@ dependencies = [ "num-bigint", "pretty_assertions", "public_key", - "rand", "regex", "serde", "serde_derive", @@ -586,7 +583,6 @@ dependencies = [ "anoncreds_types", "aries_vcx_wallet", "async-trait", - "bitvec", "did_parser_nom", "log", "serde", @@ -759,18 +755,6 @@ dependencies = [ "zeroize", ] -[[package]] -name = "async-channel" -version = "2.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "89b47800b0be77592da0afd425cc03468052844aff33b84e33cc696f64e77b6a" -dependencies = [ - "concurrent-queue", - "event-listener-strategy", - "futures-core", - "pin-project-lite", -] - [[package]] name = "async-lock" version = "3.4.0" @@ -902,17 +886,6 @@ dependencies = [ "tracing", ] -[[package]] -name = "axum-macros" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57d123550fa8d071b7255cb0cc04dc302baa6c8c4a79f55701552684d8399bce" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.79", -] - [[package]] name = "backtrace" version = "0.3.74" @@ -1306,7 +1279,6 @@ name = "client-tui" version = "0.1.1" dependencies = [ "aries_vcx_wallet", - "axum", "cursive", "futures", "log", @@ -1740,7 +1712,6 @@ dependencies = [ "native-tls", "prost", "prost-types", - "serde", "serde_json", "thiserror", "tokio", @@ -1757,12 +1728,9 @@ dependencies = [ "did_key", "did_parser_nom", "display_as_json", - "env_logger 0.11.5", "hex", - "log", "multibase", "pem", - "pretty_assertions", "public_key", "serde", "serde_json", @@ -1817,7 +1785,6 @@ version = "0.1.0" dependencies = [ "async-trait", "base64 0.22.1", - "bs58", "did_doc", "did_parser_nom", "did_resolver", @@ -1825,7 +1792,6 @@ dependencies = [ "env_logger 0.11.5", "log", "multibase", - "once_cell", "pretty_assertions", "public_key", "regex", @@ -1835,7 +1801,6 @@ dependencies = [ "thiserror", "tokio", "typed-builder", - "unsigned-varint", "url", ] @@ -1883,7 +1848,6 @@ dependencies = [ "thiserror", "tokio", "url", - "uuid", ] [[package]] @@ -2961,7 +2925,6 @@ dependencies = [ "serde", "serde_json", "thiserror", - "time", ] [[package]] @@ -3231,7 +3194,6 @@ dependencies = [ "aries_vcx_wallet", "async-trait", "axum", - "axum-macros", "base64-url", "chrono", "diddoc_legacy", @@ -5138,7 +5100,6 @@ dependencies = [ "env_logger 0.11.5", "indy-ledger-response-parser", "indy-vdr-proxy-client", - "lazy_static", "log", "public_key", "rand", @@ -5579,11 +5540,9 @@ dependencies = [ "aries_vcx_ledger", "async-trait", "did_parser_nom", - "diddoc_legacy", "indy-vdr", "log", "once_cell", - "serde", "serde_json", "shared", "thiserror", diff --git a/aries/agents/mediator/Cargo.toml b/aries/agents/mediator/Cargo.toml index 7358766c3a..529c5e783a 100644 --- a/aries/agents/mediator/Cargo.toml +++ b/aries/agents/mediator/Cargo.toml @@ -17,7 +17,6 @@ aries_vcx_wallet = { path = "../../aries_vcx_wallet", features = [ ] } async-trait = "0.1.73" axum = "0.7.5" -axum-macros = "0.4.1" diddoc_legacy = { path = "../../misc/legacy/diddoc_legacy" } dotenvy = "0.15" env_logger = "0.11.3" diff --git a/aries/agents/mediator/client-tui/Cargo.toml b/aries/agents/mediator/client-tui/Cargo.toml index 0735c525bb..15723c252e 100644 --- a/aries/agents/mediator/client-tui/Cargo.toml +++ b/aries/agents/mediator/client-tui/Cargo.toml @@ -9,7 +9,6 @@ edition = "2021" aries_vcx_wallet = { path = "../../../aries_vcx_wallet", features = [ "askar_wallet", ] } -axum = "0.7.5" cursive = { version = "0.20.0", features = ["crossterm-backend"] } futures = "0.3.28" log = "0.4.20" diff --git a/aries/aries_vcx/Cargo.toml b/aries/aries_vcx/Cargo.toml index 12d6ffb1fd..4efd626f8c 100644 --- a/aries/aries_vcx/Cargo.toml +++ b/aries/aries_vcx/Cargo.toml @@ -11,7 +11,11 @@ path = "src/lib.rs" doctest = false [features] -anoncreds = ["aries_vcx_anoncreds/anoncreds", "test_utils/anoncreds", "test_utils/askar_wallet"] +anoncreds = [ + "aries_vcx_anoncreds/anoncreds", + "test_utils/anoncreds", + "test_utils/askar_wallet", +] vdr_proxy_ledger = [ "aries_vcx_wallet/askar_wallet", "test_utils/vdr_proxy_ledger", @@ -21,9 +25,7 @@ backtrace_errors = ["backtrace"] # Feature for allowing legacy proof verification legacy_proof = ["aries_vcx_anoncreds/legacy_proof"] -askar_wallet = [ - "aries_vcx_wallet/askar_wallet" -] +askar_wallet = ["aries_vcx_wallet/askar_wallet"] [dependencies] messages = { path = "../messages" } @@ -42,12 +44,10 @@ did_peer = { path = "../../did_core/did_methods/did_peer" } did_resolver_registry = { path = "../../did_core/did_resolver_registry" } bs58 = "0.5.0" async-trait = "0.1.53" -env_logger = "0.11.3" log = "0.4.16" chrono = "0.4.23" time = "0.3.20" lazy_static = "1.3" -rand = "0.8.5" serde = "1.0.97" serde_json = "1.0.40" serde_derive = "1.0.97" @@ -67,7 +67,6 @@ backtrace = { optional = true, version = "0.3" } [dev-dependencies] test_utils = { path = "../misc/test_utils" } -async-channel = "2.3.1" tokio = { version = "1.38", features = ["rt", "macros", "rt-multi-thread"] } pretty_assertions = "1.4.0" did_resolver_sov = { path = "../../did_core/did_methods/did_resolver_sov" } diff --git a/aries/aries_vcx_anoncreds/Cargo.toml b/aries/aries_vcx_anoncreds/Cargo.toml index 4a8028f9b9..b5bd9161d8 100644 --- a/aries/aries_vcx_anoncreds/Cargo.toml +++ b/aries/aries_vcx_anoncreds/Cargo.toml @@ -23,4 +23,3 @@ uuid = { version = "1.3.0", default-features = false, features = ["v4"] } serde = { version = "1.0.159", features = ["derive"] } serde_json = "1.0.95" time = "0.3.20" -bitvec = "1.0.1" diff --git a/aries/misc/indy_ledger_response_parser/Cargo.toml b/aries/misc/indy_ledger_response_parser/Cargo.toml index d169a97a36..e6e0e81b6f 100644 --- a/aries/misc/indy_ledger_response_parser/Cargo.toml +++ b/aries/misc/indy_ledger_response_parser/Cargo.toml @@ -6,7 +6,6 @@ edition = "2021" [dependencies] serde = { version = "1.0.163", features = ["derive"] } serde_json = "1.0.96" -time = "0.3.20" indy-vdr.workspace = true thiserror = "1.0.44" anoncreds-clsignatures = "0.3.2" diff --git a/aries/misc/test_utils/Cargo.toml b/aries/misc/test_utils/Cargo.toml index d9f027d2ac..f027da4e4f 100644 --- a/aries/misc/test_utils/Cargo.toml +++ b/aries/misc/test_utils/Cargo.toml @@ -27,7 +27,6 @@ aries_vcx_ledger = { path = "../../aries_vcx_ledger" } public_key = { path = "../../../did_core/public_key" } indy-ledger-response-parser = { path = "../indy_ledger_response_parser", optional = true } indy-vdr-proxy-client = { workspace = true, optional = true } -lazy_static = "1" serde_json = "1" rand = "0.8" uuid = { version = "1", default-features = false, features = ["v4"] } diff --git a/aries/wrappers/uniffi-aries-vcx/core/Cargo.toml b/aries/wrappers/uniffi-aries-vcx/core/Cargo.toml index 7732d59334..265add21e1 100644 --- a/aries/wrappers/uniffi-aries-vcx/core/Cargo.toml +++ b/aries/wrappers/uniffi-aries-vcx/core/Cargo.toml @@ -28,10 +28,8 @@ tokio = { version = "1.38.0", features = ["rt-multi-thread"] } once_cell = "1.17.0" thiserror = "1.0.38" serde_json = "1.0.91" -serde = { version = "1.0.188", features = ["derive"] } async-trait = "0.1.64" did_parser_nom = { path = "../../../../did_core/did_parser_nom" } -diddoc_legacy = { path = "../../../misc/legacy/diddoc_legacy" } shared = { path = "../../../misc/shared" } url = "2.3.1" android_logger = "0.14.1" diff --git a/did_core/did_doc/Cargo.toml b/did_core/did_doc/Cargo.toml index 061d4fc36f..560cea1436 100644 --- a/did_core/did_doc/Cargo.toml +++ b/did_core/did_doc/Cargo.toml @@ -22,9 +22,6 @@ display_as_json = { path = "../../misc/display_as_json" } did_key = { path = "../did_methods/did_key" } thiserror = "1.0.40" typed-builder = "0.19.1" -log = "0.4" [dev-dependencies] -pretty_assertions = "1.4.0" -env_logger = "0.11.3" diff --git a/did_core/did_methods/did_cheqd/Cargo.toml b/did_core/did_methods/did_cheqd/Cargo.toml index 22bf389252..afd6f5c080 100644 --- a/did_core/did_methods/did_cheqd/Cargo.toml +++ b/did_core/did_methods/did_cheqd/Cargo.toml @@ -25,7 +25,6 @@ hyper-util = { version = "0.1.10", features = ["client-legacy", "http2"] } http-body-util = "0.1.2" async-trait = "0.1.68" serde_json = "1.0.96" -serde = { version = "1.0.160", features = ["derive"] } thiserror = "1.0.40" tokio = { version = "1.38.0" } chrono = { version = "0.4.24", default-features = false, features = ["now"] } diff --git a/did_core/did_methods/did_peer/Cargo.toml b/did_core/did_methods/did_peer/Cargo.toml index 7cbf19d9a0..b2018258a0 100644 --- a/did_core/did_methods/did_peer/Cargo.toml +++ b/did_core/did_methods/did_peer/Cargo.toml @@ -16,10 +16,7 @@ serde = { version = "1.0.164", features = ["derive"] } serde_json = "1.0.96" async-trait = "0.1.68" base64 = "0.22.1" -bs58 = "0.5.0" multibase = "0.9.1" -unsigned-varint = "0.8.0" -once_cell = "1.18.0" sha2 = "0.10.8" log = "0.4.16" url = { version = "2.3.1", features = ["serde"] } diff --git a/did_core/did_methods/did_resolver_sov/Cargo.toml b/did_core/did_methods/did_resolver_sov/Cargo.toml index 4384056e1f..8705454873 100644 --- a/did_core/did_methods/did_resolver_sov/Cargo.toml +++ b/did_core/did_methods/did_resolver_sov/Cargo.toml @@ -19,6 +19,5 @@ bs58 = "0.5.0" mockall = "0.13.0" aries_vcx = { path = "../../../aries/aries_vcx" } tokio = { version = "1.38.0", default-features = false, features = ["macros", "rt"] } -uuid = "1.3.1" test_utils = {path = "../../../aries/misc/test_utils", features = ["askar_wallet"] } aries_vcx_wallet = { path = "../../../aries/aries_vcx_wallet" }