diff --git a/prover_rust/Cargo.lock b/prover_rust/Cargo.lock index 8f276970b..c091b5ae8 100644 --- a/prover_rust/Cargo.lock +++ b/prover_rust/Cargo.lock @@ -338,6 +338,19 @@ version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "96d30a06541fbafbc7f82ed10c06164cfbd2c401138f6addd8404629c4b16711" +[[package]] +name = "async-compression" +version = "0.4.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c90a406b4495d129f00461241616194cb8a032c8d1c53c657f0961d5f8e0498" +dependencies = [ + "flate2", + "futures-core", + "memchr", + "pin-project-lite", + "tokio", +] + [[package]] name = "async-trait" version = "0.1.80" @@ -1475,6 +1488,16 @@ dependencies = [ "static_assertions", ] +[[package]] +name = "flate2" +version = "1.0.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5f54427cfd1c7829e2a139fcefea601bf088ebca651d2bf53ebc600eac295dae" +dependencies = [ + "crc32fast", + "miniz_oxide", +] + [[package]] name = "fnv" version = "1.0.7" @@ -3300,6 +3323,7 @@ version = "0.12.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "566cafdd92868e0939d3fb961bd0dc25fcfaaed179291093b3d43e6b3150ea10" dependencies = [ + "async-compression", "base64 0.22.1", "bytes", "encoding_rs", @@ -3328,6 +3352,7 @@ dependencies = [ "system-configuration", "tokio", "tokio-native-tls", + "tokio-util", "tower-service", "url", "wasm-bindgen", diff --git a/prover_rust/Cargo.toml b/prover_rust/Cargo.toml index 3c555bf74..e244ad72e 100644 --- a/prover_rust/Cargo.toml +++ b/prover_rust/Cargo.toml @@ -33,7 +33,7 @@ snark-verifier-sdk = { git = "https://github.com/scroll-tech/snark-verifier", br prover = { git = "https://github.com/scroll-tech/zkevm-circuits.git", tag = "v0.11.0rc2", default-features = false, features = ["parallel_syn", "scroll"] } eth-types = { git = "https://github.com/scroll-tech/zkevm-circuits.git", tag = "v0.10.3" } base64 = "0.13.1" -reqwest = "0.12.4" +reqwest = { version = "0.12.4", features = ["gzip"] } once_cell = "1.19.0" hex = "0.4.3" tiny-keccak = { version = "2.0.0", features = ["sha3", "keccak"] }