From 8011f19693150c15c676892a42821ca64f0b1020 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juli=C3=A1n=20Gonz=C3=A1lez=20Calder=C3=B3n?= Date: Mon, 1 Jul 2024 12:58:38 -0300 Subject: [PATCH] Fix udep --- Cargo.lock | 92 ++----------------------------------- replay/Cargo.toml | 1 - rpc-state-reader/Cargo.toml | 11 ++--- 3 files changed, 10 insertions(+), 94 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 7d14692..0ce6b7a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1257,19 +1257,6 @@ dependencies = [ "unicode_categories", ] -[[package]] -name = "console" -version = "0.15.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e1f83fc076bd6dd27517eacdf25fef6c4dfe5f1d7448bafaaf3a26f13b5e4eb" -dependencies = [ - "encode_unicode", - "lazy_static", - "libc", - "unicode-width", - "windows-sys 0.52.0", -] - [[package]] name = "const-fnv1a-hash" version = "1.1.0" @@ -1684,12 +1671,6 @@ dependencies = [ "log", ] -[[package]] -name = "encode_unicode" -version = "0.3.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a357d28ed41a50f9c765dbfe56cbc04a64e53e5fc58ba79fbc34c10ef3df831f" - [[package]] name = "encoding_rs" version = "0.8.34" @@ -2277,19 +2258,6 @@ dependencies = [ "serde", ] -[[package]] -name = "indicatif" -version = "0.17.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "763a5a8f45087d6bcea4222e7b72c291a054edf80e4ef6efd2a4979878c7bea3" -dependencies = [ - "console", - "instant", - "number_prefix", - "portable-atomic", - "unicode-width", -] - [[package]] name = "indoc" version = "2.0.5" @@ -2801,12 +2769,6 @@ dependencies = [ "autocfg", ] -[[package]] -name = "number_prefix" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "830b246a0e5f20af87141b25c173cd1b609bd7779a4617d6ec582abaf90870f3" - [[package]] name = "object" version = "0.36.0" @@ -3054,12 +3016,6 @@ dependencies = [ "spki", ] -[[package]] -name = "portable-atomic" -version = "1.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7170ef9988bc169ba16dd36a7fa041e5c4cbeb6a35b76d4c03daded371eae7c0" - [[package]] name = "powerfmt" version = "0.2.0" @@ -3291,7 +3247,6 @@ dependencies = [ "anyhow", "blockifier", "clap", - "indicatif", "rpc-state-reader", "starknet_api", "tracing", @@ -3388,7 +3343,6 @@ dependencies = [ "pretty_assertions_sorted", "serde", "serde_json", - "serde_with 3.8.1", "starknet", "starknet_api", "test-case", @@ -3726,25 +3680,7 @@ dependencies = [ "indexmap 1.9.3", "serde", "serde_json", - "serde_with_macros 2.3.3", - "time", -] - -[[package]] -name = "serde_with" -version = "3.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ad483d2ab0149d5a5ebcd9972a3852711e0153d863bf5a5d0391d28883c4a20" -dependencies = [ - "base64 0.22.1", - "chrono", - "hex", - "indexmap 1.9.3", - "indexmap 2.2.6", - "serde", - "serde_derive", - "serde_json", - "serde_with_macros 3.8.1", + "serde_with_macros", "time", ] @@ -3760,18 +3696,6 @@ dependencies = [ "syn 2.0.68", ] -[[package]] -name = "serde_with_macros" -version = "3.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "65569b702f41443e8bc8bbb1c5779bd0450bbe723b56198980e80ec45780bce2" -dependencies = [ - "darling 0.20.9", - "proc-macro2", - "quote", - "syn 2.0.68", -] - [[package]] name = "sha2" version = "0.10.8" @@ -3933,7 +3857,7 @@ checksum = "d858efc93d85de95065a5732cb3e94d0c746674964c0859aab442ffbb9de76b4" dependencies = [ "serde", "serde_json", - "serde_with 2.3.3", + "serde_with", "starknet-accounts", "starknet-core 0.7.2", "starknet-providers", @@ -3952,7 +3876,7 @@ dependencies = [ "serde", "serde_json", "serde_json_pythonic", - "serde_with 2.3.3", + "serde_with", "sha3", "starknet-crypto 0.6.2", "starknet-ff", @@ -3970,7 +3894,7 @@ dependencies = [ "serde", "serde_json", "serde_json_pythonic", - "serde_with 2.3.3", + "serde_with", "sha3", "starknet-crypto 0.6.2", "starknet-ff", @@ -4084,7 +4008,7 @@ dependencies = [ "reqwest", "serde", "serde_json", - "serde_with 2.3.3", + "serde_with", "starknet-core 0.7.2", "thiserror", "url", @@ -4689,12 +4613,6 @@ version = "1.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d4c87d22b6e3f4a18d4d40ef354e97c90fcb14dd91d7dc0aa9d8a1172ebf7202" -[[package]] -name = "unicode-width" -version = "0.1.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0336d538f7abc86d282a4189614dfaa90810dfc2c6f6427eaf88e16311dd225d" - [[package]] name = "unicode-xid" version = "0.2.4" diff --git a/replay/Cargo.toml b/replay/Cargo.toml index 65252c1..6043ff0 100644 --- a/replay/Cargo.toml +++ b/replay/Cargo.toml @@ -13,7 +13,6 @@ rpc-state-reader = { path = "../rpc-state-reader" } starknet_api = { workspace = true } # CLI specific crates clap = { version = "4.4.6", features = ["derive"] } -indicatif = "0.17.7" # logs tracing = { workspace = true } tracing-subscriber = { version = "0.3.18", features = ["env-filter"] } diff --git a/rpc-state-reader/Cargo.toml b/rpc-state-reader/Cargo.toml index 373f831..fae7868 100644 --- a/rpc-state-reader/Cargo.toml +++ b/rpc-state-reader/Cargo.toml @@ -7,20 +7,19 @@ edition = "2021" ureq = { version = "2.7.1", features = ["json"] } serde = { version = "1.0", features = ["derive"] } serde_json = { version = "1.0", features = [ - "arbitrary_precision", - "raw_value", + "arbitrary_precision", + "raw_value", ] } -starknet_api = {workspace = true} +starknet_api = { workspace = true } cairo-lang-starknet = "=2.6.3" cairo-lang-starknet-classes = "=2.6.3" cairo-lang-utils = "=2.6.3" -starknet = "0.7.0" +starknet = "0.7.0" thiserror = { workspace = true } flate2 = "1.0.25" -serde_with = "3.0.0" dotenv = "0.15.0" cairo-vm = "0.9.2" -blockifier = {workspace = true} +blockifier = { workspace = true } [dev-dependencies] pretty_assertions_sorted = "1.2.3"