From 2817ba53970df231d02bfd153fd4e19690fadf0b Mon Sep 17 00:00:00 2001 From: Josh Lind Date: Fri, 1 Nov 2024 20:32:29 -0400 Subject: [PATCH] [Rust] Update Rust version to 1.80.1 --- Cargo.lock | 3123 ++++++++--------- Cargo.toml | 10 +- aptos-move/aptos-aggregator/src/resolver.rs | 4 +- .../aptos-e2e-comparison-testing/src/lib.rs | 2 +- .../aptos-gas-profiling/src/flamegraph.rs | 2 +- aptos-move/aptos-sdk-builder/src/main.rs | 2 +- aptos-move/aptos-sdk-builder/src/rust.rs | 1 + aptos-move/aptos-vm-types/src/change_set.rs | 1 + .../state_view_adapter.rs | 1 + aptos-move/aptos-vm-types/src/resolver.rs | 2 +- aptos-move/aptos-vm/src/aptos_vm.rs | 3 +- .../aptos-vm/src/move_vm_ext/session/mod.rs | 1 + .../aptos-vm/src/transaction_validation.rs | 2 +- aptos-move/block-executor/src/lib.rs | 5 +- aptos-move/block-executor/src/scheduler.rs | 10 +- .../e2e-move-tests/src/tests/string_args.rs | 4 +- .../e2e-testsuite/src/tests/verify_txn.rs | 4 +- .../src/aptos_framework_sdk_builder.rs | 1 + .../src/aptos_token_objects_sdk_builder.rs | 1 + .../src/aptos_token_sdk_builder.rs | 1 + aptos-move/framework/src/built_package.rs | 6 +- .../src/natives/cryptography/ristretto255.rs | 1 + aptos-node/src/lib.rs | 1 + config/src/config/consensus_config.rs | 1 + config/src/config/override_node_config.rs | 4 +- config/src/utils.rs | 6 +- consensus/consensus-types/src/block_data.rs | 4 +- consensus/consensus-types/src/common.rs | 1 - consensus/src/block_storage/sync_manager.rs | 4 +- consensus/src/liveness/proposal_generator.rs | 5 +- consensus/src/liveness/round_state.rs | 2 +- consensus/src/round_manager.rs | 7 +- .../src/transaction_shuffler/sender_aware.rs | 4 +- consensus/src/util/mock_time_service.rs | 4 +- crates/aptos-api-tester/src/utils.rs | 1 + crates/aptos-crypto-derive/src/lib.rs | 2 - crates/aptos-dkg/src/pvss/test_utils.rs | 1 + crates/aptos-infallible/src/math.rs | 2 +- crates/aptos-infallible/src/nonzero.rs | 2 +- crates/aptos-logger/src/aptos_logger.rs | 1 + crates/aptos-rate-limiter/src/rate_limit.rs | 10 +- .../src/peer_location.rs | 1 + .../src/tests/test_context.rs | 1 + crates/aptos-time-service/src/lib.rs | 1 + crates/aptos-time-service/src/mock.rs | 2 +- .../src/node/analyze/analyze_validators.rs | 2 +- crates/short-hex-str/src/lib.rs | 2 +- .../src/emitter/account_minter.rs | 3 +- docker/builder/docker-bake-rust-all.hcl | 4 +- .../indexer-grpc-cache-worker/src/worker.rs | 1 + .../indexer-grpc-data-service/src/service.rs | 10 +- .../indexer-grpc-file-store/src/processor.rs | 6 +- .../src/internal_indexer_db_service.rs | 2 +- .../src/table_info_service.rs | 1 + .../fn-check-client/src/get_pfns.rs | 1 + .../src/account_generator.rs | 2 +- keyless/pepper/common/src/vuf/slip_10.rs | 2 + mempool/src/core_mempool/transaction_store.rs | 4 +- mempool/src/shared_mempool/coordinator.rs | 1 + mempool/src/tests/core_mempool_test.rs | 4 +- mempool/src/tests/test_framework.rs | 1 + network/framework/src/peer_manager/mod.rs | 2 +- network/netcore/src/framing.rs | 4 +- rust-toolchain.toml | 2 +- secure/net/src/lib.rs | 2 +- secure/storage/src/on_disk.rs | 2 +- secure/storage/vault/src/lib.rs | 12 +- .../src/stream_engine.rs | 1 + .../src/storage_synchronizer.rs | 1 + storage/accumulator/src/lib.rs | 4 +- .../aptosdb/src/db/include/aptosdb_reader.rs | 4 +- storage/aptosdb/src/db/test_helper.rs | 4 +- storage/aptosdb/src/event_store/mod.rs | 2 +- storage/aptosdb/src/event_store/test.rs | 2 +- storage/aptosdb/src/ledger_db/event_db.rs | 2 +- .../ledger_db/transaction_accumulator_db.rs | 7 +- .../src/ledger_db/transaction_db_test.rs | 2 +- .../src/ledger_db/write_set_db_test.rs | 2 +- storage/aptosdb/src/state_store/mod.rs | 10 +- .../backup_types/state_snapshot/manifest.rs | 12 +- .../backup-cli/src/backup_types/tests.rs | 6 +- .../src/backup_types/transaction/restore.rs | 2 +- .../backup-cli/src/coordinators/restore.rs | 11 +- .../backup-cli/src/coordinators/verify.rs | 2 +- storage/backup/backup-cli/src/utils/mod.rs | 2 +- storage/indexer/src/db_indexer.rs | 4 +- storage/jellyfish-merkle/src/node_type/mod.rs | 8 +- storage/scratchpad/src/sparse_merkle/node.rs | 10 +- testsuite/forge/src/backend/k8s/swarm.rs | 1 + .../src/backend/k8s_deployer/deployer.rs | 1 + testsuite/forge/src/backend/local/mod.rs | 8 +- testsuite/smoke-test/src/aptos_cli/mod.rs | 2 + testsuite/smoke-test/src/genesis.rs | 6 +- testsuite/smoke-test/src/rosetta.rs | 1 + testsuite/smoke-test/src/storage.rs | 8 +- testsuite/smoke-test/src/upgrade.rs | 4 +- .../move-binary-format/src/file_format.rs | 14 +- .../src/file_format_common.rs | 2 +- .../src/proptest_types/functions.rs | 8 +- .../move/move-binary-format/src/serializer.rs | 8 +- .../src/unit_tests/number_tests.rs | 4 +- .../src/unit_tests/constants_tests.rs | 3 + .../src/script_signature.rs | 4 +- .../src/env_pipeline/acquires_checker.rs | 9 +- .../src/env_pipeline/function_checker.rs | 1 + .../src/env_pipeline/inliner.rs | 1 + .../function_generator.rs | 5 +- .../peephole_optimizer/optimizers.rs | 1 + .../pipeline/control_flow_graph_simplifier.rs | 4 +- .../src/pipeline/dead_store_elimination.rs | 1 + .../src/pipeline/flush_writes_processor.rs | 1 + .../needless_mutable_reference.rs | 2 + .../reference_safety_processor_v2.rs | 8 +- .../split_critical_edges_processor.rs | 1 + .../src/pipeline/uninitialized_use_checker.rs | 1 + .../src/pipeline/variable_coalescing.rs | 2 +- .../move/move-compiler-v2/src/plan_builder.rs | 6 +- .../src/parser/merge_spec_modules.rs | 1 + .../move-compiler/src/to_bytecode/context.rs | 1 + .../src/to_bytecode/translate.rs | 1 + .../move/move-compiler/src/typing/core.rs | 1 + .../move/move-compiler/src/typing/expand.rs | 10 +- .../src/unit_test/plan_builder.rs | 2 +- third_party/move/move-core/types/src/u256.rs | 2 + .../move/move-core/types/src/vm_status.rs | 2 +- .../move-ir-to-bytecode/src/context.rs | 2 +- .../move/move-model/bytecode/src/fat_loop.rs | 1 + third_party/move/move-model/src/ast.rs | 1 + .../move-model/src/builder/exp_builder.rs | 6 +- third_party/move/move-model/src/ty.rs | 4 + .../boogie-backend/src/boogie_helpers.rs | 1 + .../global_invariant_instrumentation_v2.rs | 2 + .../src/inconsistency_check.rs | 1 + .../src/packed_types_analysis.rs | 1 + .../runtime/src/storage/environment.rs | 3 +- .../implementations/unsync_code_storage.rs | 2 + .../implementations/unsync_module_storage.rs | 2 + .../move-vm/runtime/src/storage/loader.rs | 1 + .../move-vm/runtime/src/storage/publishing.rs | 1 + .../move-vm/test-utils/src/gas_schedule.rs | 5 +- .../move-vm/types/src/values/values_impl.rs | 30 +- .../test-generation/src/abstract_state.rs | 4 +- .../test-generation/src/borrow_graph.rs | 2 +- .../test-generation/src/bytecode_generator.rs | 16 +- .../test-generation/src/control_flow_graph.rs | 12 +- .../testing-infra/test-generation/src/lib.rs | 4 +- .../src/account_config/resources/coin_info.rs | 2 +- types/src/block_executor/partitioner.rs | 8 +- types/src/block_info.rs | 8 +- types/src/dkg/real_dkg/rounding/mod.rs | 2 +- types/src/keyless/circuit_testcases.rs | 2 + types/src/proof/position/mod.rs | 14 +- types/src/proof/unit_tests/proof_test.rs | 2 +- types/src/proptest_types.rs | 4 +- types/src/trusted_state.rs | 14 +- 155 files changed, 1880 insertions(+), 1836 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index fa92253a87b4b7..73827f92441332 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -31,18 +31,18 @@ dependencies = [ [[package]] name = "addr2line" -version = "0.21.0" +version = "0.24.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a30b2e23b9e17a9f90641c7ab1549cd9b44f296d3ccbf309d2863cfe398a0cb" +checksum = "dfbe277e56a376000877090da837660b4427aad530e3028d44e0bffe4f89a1c1" dependencies = [ "gimli", ] [[package]] -name = "adler" -version = "1.0.2" +name = "adler2" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" +checksum = "512761e0bb2578dd7380c6baaa0f4ce03e84f95e960231d1dec8bf4d7d6e2627" [[package]] name = "aead" @@ -56,9 +56,9 @@ dependencies = [ [[package]] name = "aes" -version = "0.8.3" +version = "0.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac1f845298e95f983ff1944b728ae08b8cebab80d684f0a832ed0fc74dfa27e2" +checksum = "b169f7a6d4742236a0a00c541b845991d0ac43e546831af1249753ab4c3aa3a0" dependencies = [ "cfg-if", "cipher", @@ -96,7 +96,7 @@ version = "0.7.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "891477e0c6a8957309ee5c45a6368af3ae14bb510732d2684ffa19af310920f9" dependencies = [ - "getrandom 0.2.11", + "getrandom 0.2.15", "once_cell", "version_check", ] @@ -109,7 +109,7 @@ checksum = "e89da841a80418a9b391ebaea17f5c112ffaaa96f621d2c285b5174da76b9011" dependencies = [ "cfg-if", "const-random", - "getrandom 0.2.11", + "getrandom 0.2.15", "once_cell", "serde", "version_check", @@ -118,9 +118,9 @@ dependencies = [ [[package]] name = "aho-corasick" -version = "1.1.2" +version = "1.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2969dcb958b36655471fc61f7e416fa76033bdd4bfed0678d8fee1e2d07a1f0" +checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916" dependencies = [ "memchr", ] @@ -149,14 +149,14 @@ checksum = "fe233a377643e0fc1a56421d7c90acdec45c291b30345eb9f08e8d0ddce5a4ab" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.86", ] [[package]] name = "allocator-api2" -version = "0.2.16" +version = "0.2.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0942ffc6dcaadf03badf6e6a2d0228460359d5e34b57ccdc720b7382dfbd5ec5" +checksum = "5c6cb57a04249c6480766f7f7cef5467412af1490f8d1e243141daddada3264f" [[package]] name = "ambassador" @@ -202,50 +202,51 @@ dependencies = [ [[package]] name = "anstream" -version = "0.6.5" +version = "0.6.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d664a92ecae85fd0a7392615844904654d1d5f5514837f471ddef4a057aba1b6" +checksum = "23a1e53f0f5d86382dafe1cf314783b2044280f406e7e1506368220ad11b1338" dependencies = [ "anstyle", "anstyle-parse", "anstyle-query", "anstyle-wincon", "colorchoice", + "is_terminal_polyfill", "utf8parse", ] [[package]] name = "anstyle" -version = "1.0.4" +version = "1.0.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7079075b41f533b8c61d2a4d073c4676e1f8b249ff94a393b0595db304e0dd87" +checksum = "55cc3b69f167a1ef2e161439aa98aed94e6028e5f9a59be9a6ffb47aef1651f9" [[package]] name = "anstyle-parse" -version = "0.2.3" +version = "0.2.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c75ac65da39e5fe5ab759307499ddad880d724eed2f6ce5b5e8a26f4f387928c" +checksum = "3b2d16507662817a6a20a9ea92df6652ee4f94f914589377d69f3b21bc5798a9" dependencies = [ "utf8parse", ] [[package]] name = "anstyle-query" -version = "1.0.2" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e28923312444cdd728e4738b3f9c9cac739500909bb3d3c94b43551b16517648" +checksum = "79947af37f4177cfead1110013d678905c37501914fba0efea834c3fe9a8d60c" dependencies = [ - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] name = "anstyle-wincon" -version = "3.0.2" +version = "3.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1cd54b81ec8d6180e24654d0b371ad22fc3dd083b6ff8ba325b72e00c87660a7" +checksum = "2109dbce0e72be3ec00bed26e6a7479ca384ad226efdd66db8fa2e3a38c83125" dependencies = [ "anstyle", - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] @@ -256,9 +257,9 @@ checksum = "34fde25430d87a9388dadbe6e34d7f72a462c8b43ac8d309b42b0a8505d7e2a5" [[package]] name = "anyhow" -version = "1.0.89" +version = "1.0.92" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "86fdf8605db99b54d3cd748a44c6d04df638eb5dafb219b135d0149bd0db01f6" +checksum = "74f37166d7d48a0284b99dd824694c26119c700b53bf0d1540cdb147dbdaaf13" dependencies = [ "backtrace", ] @@ -317,10 +318,10 @@ dependencies = [ "bcs 0.1.4", "bollard", "chrono", - "clap 4.4.14", + "clap 4.5.20", "clap_complete", "colored", - "dashmap", + "dashmap 5.5.3", "diesel", "diesel-async", "dirs 5.0.1", @@ -350,7 +351,7 @@ dependencies = [ "processor", "rand 0.7.3", "regex", - "reqwest 0.11.23", + "reqwest 0.11.27", "self_update", "serde", "serde_json", @@ -409,8 +410,8 @@ dependencies = [ "aptos-types", "bcs 0.1.4", "futures-channel", - "http 0.2.11", - "hyper 0.14.28", + "http 0.2.12", + "hyper 0.14.31", "sha256", "tokio", "url", @@ -476,7 +477,7 @@ dependencies = [ "proptest", "rand 0.7.3", "regex", - "reqwest 0.11.23", + "reqwest 0.11.27", "serde", "serde_json", "tokio", @@ -510,7 +511,7 @@ dependencies = [ "bcs 0.1.4", "bytes", "goldenfile", - "hyper 0.14.28", + "hyper 0.14.31", "rand 0.7.3", "regex", "serde_json", @@ -600,7 +601,7 @@ dependencies = [ "async-trait", "bcs 0.1.4", "bytes", - "clap 4.4.14", + "clap 4.5.20", "csv", "futures", "itertools 0.13.0", @@ -608,11 +609,11 @@ dependencies = [ "move-bytecode-verifier", "num_cpus", "once_cell", - "pin-project 1.1.3", + "pin-project 1.1.7", "proptest", "rand 0.7.3", "regex", - "reqwest 0.11.23", + "reqwest 0.11.27", "serde", "serde_json", "serde_yaml 0.8.26", @@ -620,7 +621,7 @@ dependencies = [ "tokio", "tokio-io-timeout", "tokio-stream", - "tokio-util 0.7.10", + "tokio-util 0.7.12", "warp", ] @@ -639,9 +640,9 @@ dependencies = [ "aptos-types", "bcs 0.1.4", "bytes", - "hyper 0.14.28", + "hyper 0.14.31", "once_cell", - "reqwest 0.11.23", + "reqwest 0.11.27", "serde", "tokio", "tokio-stream", @@ -690,10 +691,10 @@ dependencies = [ "concurrent-queue", "criterion", "crossbeam", - "dashmap", + "dashmap 5.5.3", "derivative", "fail", - "hashbrown 0.14.3", + "hashbrown 0.14.5", "itertools 0.13.0", "move-binary-format", "move-core-types", @@ -701,7 +702,7 @@ dependencies = [ "move-vm-types", "num_cpus", "once_cell", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "proptest", "proptest-derive", "rand 0.7.3", @@ -719,9 +720,9 @@ dependencies = [ "aptos-metrics-core", "aptos-types", "bcs 0.1.4", - "clap 4.4.14", + "clap 4.5.20", "criterion", - "dashmap", + "dashmap 5.5.3", "itertools 0.13.0", "jemallocator", "move-core-types", @@ -769,13 +770,13 @@ dependencies = [ "anyhow", "camino", "chrono", - "clap 4.4.14", + "clap 4.5.20", "clap-verbosity-flag", "determinator", - "env_logger", + "env_logger 0.10.2", "guppy", "log", - "reqwest 0.11.23", + "reqwest 0.11.27", "url", ] @@ -796,7 +797,7 @@ name = "aptos-cli-common" version = "1.0.0" dependencies = [ "anstyle", - "clap 4.4.14", + "clap 4.5.20", "clap_complete", ] @@ -816,7 +817,7 @@ dependencies = [ "aptos-validator-interface", "aptos-vm", "bcs 0.1.4", - "clap 4.4.14", + "clap 4.5.20", "futures", "itertools 0.13.0", "move-binary-format", @@ -928,8 +929,8 @@ dependencies = [ "bytes", "chrono", "claims", - "clap 4.4.14", - "dashmap", + "clap 4.5.20", + "dashmap 5.5.3", "enum_dispatch", "fail", "futures", @@ -1117,7 +1118,7 @@ dependencies = [ "async-trait", "bcs 0.1.4", "claims", - "dashmap", + "dashmap 5.5.3", "futures", "itertools 0.13.0", "maplit", @@ -1187,9 +1188,9 @@ dependencies = [ "bcs 0.1.4", "byteorder", "claims", - "clap 4.4.14", + "clap 4.5.20", "crossbeam-channel", - "dashmap", + "dashmap 5.5.3", "either", "hex", "indicatif 0.15.0", @@ -1226,7 +1227,7 @@ dependencies = [ "aptos-types", "bcs 0.1.4", "bytes", - "dashmap", + "dashmap 5.5.3", "move-core-types", "once_cell", "rand 0.7.3", @@ -1268,7 +1269,7 @@ dependencies = [ "aptos-types", "aptos-vm", "bcs 0.1.4", - "clap 4.4.14", + "clap 4.5.20", "itertools 0.13.0", "rayon", "serde_json", @@ -1285,7 +1286,7 @@ dependencies = [ "aptos-logger", "aptos-move-debugger", "aptos-push-metrics", - "clap 4.4.14", + "clap 4.5.20", "jemallocator", "tokio", ] @@ -1379,12 +1380,12 @@ dependencies = [ "aptos-types", "bcs 0.1.4", "e2e-move-tests", - "getrandom 0.2.11", + "getrandom 0.2.15", "hex", "move-binary-format", "move-bytecode-verifier", "move-core-types", - "reqwest 0.11.23", + "reqwest 0.11.27", "serde", "serde_bytes", "serde_json", @@ -1436,7 +1437,7 @@ dependencies = [ "aptos-logger", "aptos-types", "claims", - "dashmap", + "dashmap 5.5.3", "proptest", "proptest-derive", "rayon", @@ -1474,7 +1475,7 @@ dependencies = [ "arr_macro", "bcs 0.1.4", "bytes", - "dashmap", + "dashmap 5.5.3", "fail", "itertools 0.13.0", "move-core-types", @@ -1517,7 +1518,7 @@ dependencies = [ "async-trait", "bcs 0.1.4", "chrono", - "clap 4.4.14", + "clap 4.5.20", "derivative", "indicatif 0.15.0", "itertools 0.13.0", @@ -1550,10 +1551,10 @@ dependencies = [ "aptos-types", "aptos-vm", "bcs 0.1.4", - "clap 4.4.14", + "clap 4.5.20", "crossbeam-channel", "ctrlc", - "dashmap", + "dashmap 5.5.3", "itertools 0.13.0", "num_cpus", "once_cell", @@ -1658,7 +1659,7 @@ dependencies = [ "aptos-vm-environment", "aptos-vm-logging", "aptos-vm-types", - "hashbrown 0.14.3", + "hashbrown 0.14.5", "move-core-types", "once_cell", "rayon", @@ -1691,7 +1692,7 @@ dependencies = [ "aptos-faucet-core", "aptos-logger", "aptos-sdk", - "clap 4.4.14", + "clap 4.5.20", "tokio", ] @@ -1707,7 +1708,7 @@ dependencies = [ "aptos-sdk", "async-trait", "captcha", - "clap 4.4.14", + "clap 4.5.20", "deadpool-redis", "enum_dispatch", "futures", @@ -1720,7 +1721,7 @@ dependencies = [ "poem-openapi", "rand 0.7.3", "redis", - "reqwest 0.11.23", + "reqwest 0.11.27", "serde", "serde_json", "serde_yaml 0.8.26", @@ -1747,7 +1748,7 @@ dependencies = [ "anyhow", "aptos-faucet-core", "aptos-logger", - "clap 4.4.14", + "clap 4.5.20", "tokio", ] @@ -1759,11 +1760,11 @@ dependencies = [ "aptos-logger", "aptos-node-checker", "aptos-sdk", - "clap 4.4.14", - "env_logger", + "clap 4.5.20", + "env_logger 0.10.2", "futures", "gcp-bigquery-client", - "reqwest 0.11.23", + "reqwest 0.11.27", "serde", "serde_json", "tokio", @@ -1796,11 +1797,11 @@ dependencies = [ "aptos-transaction-generator-lib", "async-trait", "chrono", - "clap 4.4.14", + "clap 4.5.20", "either", "futures", "hex", - "hyper 0.14.28", + "hyper 0.14.31", "itertools 0.13.0", "json-patch", "k8s-openapi", @@ -1811,7 +1812,7 @@ dependencies = [ "quick-junit", "rand 0.7.3", "regex", - "reqwest 0.11.23", + "reqwest 0.11.27", "serde", "serde_json", "serde_merge", @@ -1840,13 +1841,13 @@ dependencies = [ "aptos-testcases", "async-trait", "chrono", - "clap 4.4.14", + "clap 4.5.20", "futures", "jemallocator", "once_cell", "rand 0.7.3", "random_word", - "reqwest 0.11.23", + "reqwest 0.11.27", "serde_json", "serde_yaml 0.8.26", "sugars", @@ -1882,7 +1883,7 @@ dependencies = [ "bulletproofs", "byteorder", "claims", - "clap 4.4.14", + "clap 4.5.20", "codespan-reporting", "curve25519-dalek-ng", "either", @@ -1947,7 +1948,7 @@ dependencies = [ "aptos-language-e2e-tests", "aptos-types", "bcs 0.1.4", - "clap 4.4.14", + "clap 4.5.20", "float-cmp", "move-binary-format", "move-core-types", @@ -2011,7 +2012,7 @@ dependencies = [ "aptos-package-builder", "aptos-types", "bcs 0.1.4", - "clap 4.4.14", + "clap 4.5.20", "move-core-types", "move-model", "tempfile", @@ -2105,14 +2106,14 @@ dependencies = [ "aptos-moving-average 0.1.0 (git+https://github.com/aptos-labs/aptos-indexer-processors.git?rev=4801acae7aea30d7e96bbfbe5ec5b04056dfa4cf)", "aptos-protos 1.3.1", "async-trait", - "clap 4.4.14", + "clap 4.5.20", "futures", "futures-core", "jemallocator", "once_cell", - "prost 0.12.3", + "prost 0.12.6", "redis", - "reqwest 0.11.23", + "reqwest 0.11.27", "serde", "tempfile", "tokio", @@ -2133,11 +2134,11 @@ dependencies = [ "aptos-protos 1.3.1", "aptos-transaction-filter", "async-trait", - "clap 4.4.14", + "clap 4.5.20", "futures", "jemallocator", "once_cell", - "prost 0.12.3", + "prost 0.12.6", "redis", "serde", "serde_json", @@ -2158,7 +2159,7 @@ dependencies = [ "aptos-indexer-grpc-utils", "aptos-metrics-core", "async-trait", - "clap 4.4.14", + "clap 4.5.20", "cloud-storage", "jemallocator", "once_cell", @@ -2178,7 +2179,7 @@ dependencies = [ "aptos-metrics-core", "aptos-moving-average 0.1.0 (git+https://github.com/aptos-labs/aptos-indexer-processors.git?rev=4801acae7aea30d7e96bbfbe5ec5b04056dfa4cf)", "async-trait", - "clap 4.4.14", + "clap 4.5.20", "futures", "jemallocator", "once_cell", @@ -2197,7 +2198,7 @@ dependencies = [ "aptos-indexer-grpc-utils", "aptos-protos 1.3.1", "async-trait", - "clap 4.4.14", + "clap 4.5.20", "futures", "jemallocator", "serde", @@ -2247,7 +2248,7 @@ dependencies = [ "futures", "goldenfile", "hex", - "hyper 0.14.28", + "hyper 0.14.31", "itertools 0.13.0", "move-binary-format", "move-core-types", @@ -2288,7 +2289,7 @@ dependencies = [ "aptos-system-utils 0.1.0", "async-trait", "backtrace", - "clap 4.4.14", + "clap 4.5.20", "prometheus", "serde", "serde_yaml 0.8.26", @@ -2319,7 +2320,7 @@ dependencies = [ "flate2", "futures", "google-cloud-storage", - "hyper 0.14.28", + "hyper 0.14.31", "itertools 0.13.0", "rocksdb", "serde", @@ -2328,7 +2329,7 @@ dependencies = [ "tempfile", "tokio", "tokio-stream", - "tokio-util 0.7.10", + "tokio-util 0.7.12", ] [[package]] @@ -2343,20 +2344,20 @@ dependencies = [ "base64 0.13.1", "chrono", "cloud-storage", - "dashmap", + "dashmap 5.5.3", "futures", "itertools 0.13.0", "lz4", "once_cell", "prometheus", - "prost 0.12.3", + "prost 0.12.6", "redis", "redis-test", "ripemd", "serde", "serde_json", "tokio", - "tokio-util 0.7.10", + "tokio-util 0.7.12", "tonic 0.11.0", "tracing", "url", @@ -2412,7 +2413,7 @@ dependencies = [ "aptos-faucet-core", "aptos-indexer-grpc-utils", "aptos-protos 1.3.1", - "clap 4.4.14", + "clap 4.5.20", "futures", "itertools 0.13.0", "rand 0.7.3", @@ -2439,7 +2440,7 @@ dependencies = [ "futures-util", "once_cell", "prometheus", - "prost 0.12.3", + "prost 0.12.6", "sample", "serde", "tokio", @@ -2470,10 +2471,10 @@ dependencies = [ "aptos-time-service", "assert_approx_eq", "futures", - "hyper 0.14.28", + "hyper 0.14.31", "once_cell", "prometheus", - "reqwest 0.11.23", + "reqwest 0.11.27", "rusty-fork", "serde_json", "tokio", @@ -2550,9 +2551,9 @@ version = "0.1.0" dependencies = [ "anyhow", "aptos-types", - "http 0.2.11", + "http 0.2.12", "move-core-types", - "reqwest 0.11.23", + "reqwest 0.11.27", "serde", "serde_json", "tokio", @@ -2651,7 +2652,7 @@ dependencies = [ "bcs 0.1.4", "firestore", "hex", - "reqwest 0.11.23", + "reqwest 0.11.27", "serde_json", "tokio", ] @@ -2674,16 +2675,16 @@ dependencies = [ "ark-ff", "ark-serialize", "bcs 0.1.4", - "dashmap", + "dashmap 5.5.3", "firestore", "hex", - "hyper 0.14.28", + "hyper 0.14.31", "jsonwebtoken 8.3.0", "jwt", "once_cell", "rand 0.7.3", "regex", - "reqwest 0.11.23", + "reqwest 0.11.27", "serde", "serde_json", "sha3 0.9.1", @@ -2888,10 +2889,10 @@ dependencies = [ "aptos-vm-logging", "aptos-vm-types", "bcs 0.1.4", - "clap 4.4.14", + "clap 4.5.20", "itertools 0.13.0", "regex", - "reqwest 0.11.23", + "reqwest 0.11.27", "tokio", "url", ] @@ -2916,7 +2917,7 @@ dependencies = [ "aptos-gas-schedule", "aptos-types", "aptos-vm", - "clap 4.4.14", + "clap 4.5.20", "move-cli", "move-model", "move-package", @@ -2982,7 +2983,7 @@ dependencies = [ "bytes", "claims", "crossbeam", - "dashmap", + "dashmap 5.5.3", "move-binary-format", "move-core-types", "move-vm-runtime", @@ -3019,10 +3020,10 @@ dependencies = [ "aptos-types", "bytes", "futures", - "pin-project 1.1.3", + "pin-project 1.1.7", "serde", "tokio", - "tokio-util 0.7.10", + "tokio-util 0.7.12", "url", ] @@ -3059,7 +3060,7 @@ dependencies = [ "maplit", "once_cell", "ordered-float 3.9.2", - "pin-project 1.1.3", + "pin-project 1.1.7", "proptest", "proptest-derive", "rand 0.7.3", @@ -3072,7 +3073,7 @@ dependencies = [ "tokio", "tokio-retry", "tokio-stream", - "tokio-util 0.7.10", + "tokio-util 0.7.12", ] [[package]] @@ -3126,7 +3127,7 @@ dependencies = [ "aptos-logger", "aptos-network", "aptos-types", - "clap 4.4.14", + "clap 4.5.20", "futures", "serde", "tokio", @@ -3168,11 +3169,11 @@ dependencies = [ "aptos-indexer-grpc-server-framework", "aptos-metrics-core", "async-trait", - "axum 0.7.5", + "axum 0.7.7", "backoff", "bytes", "chrono", - "clap 4.4.14", + "clap 4.5.20", "diesel", "diesel_migrations", "enum_dispatch", @@ -3183,7 +3184,7 @@ dependencies = [ "once_cell", "rayon", "regex", - "reqwest 0.11.23", + "reqwest 0.11.27", "serde", "serde_json", "sha256", @@ -3249,7 +3250,7 @@ dependencies = [ "aptos-vm", "aptos-vm-environment", "bcs 0.1.4", - "clap 4.4.14", + "clap 4.5.20", "either", "fail", "futures", @@ -3279,13 +3280,13 @@ dependencies = [ "aptos-sdk", "aptos-transaction-emitter-lib", "async-trait", - "clap 4.4.14", + "clap 4.5.20", "futures", "once_cell", "poem", "poem-openapi", "prometheus-parse", - "reqwest 0.11.23", + "reqwest 0.11.27", "serde", "serde_json", "serde_yaml 0.8.26", @@ -3349,7 +3350,7 @@ dependencies = [ "aptos-mempool", "aptos-storage-interface", "aptos-types", - "clap 4.4.14", + "clap 4.5.20", ] [[package]] @@ -3476,7 +3477,7 @@ version = "1.3.1" dependencies = [ "futures-core", "pbjson", - "prost 0.12.3", + "prost 0.12.6", "serde", "tonic 0.11.0", ] @@ -3488,7 +3489,7 @@ source = "git+https://github.com/aptos-labs/aptos-core.git?rev=5c48aee129b5a141b dependencies = [ "futures-core", "pbjson", - "prost 0.12.3", + "prost 0.12.6", "serde", "tonic 0.11.0", ] @@ -3518,9 +3519,9 @@ dependencies = [ "aptos-logger", "aptos-metrics-core", "futures", - "pin-project 1.1.3", + "pin-project 1.1.7", "tokio", - "tokio-util 0.7.10", + "tokio-util 0.7.12", ] [[package]] @@ -3547,7 +3548,7 @@ dependencies = [ "aptos-vm-logging", "aptos-vm-types", "bcs 0.1.4", - "clap 4.4.14", + "clap 4.5.20", "futures", "git2 0.16.1", "handlebars", @@ -3559,8 +3560,8 @@ dependencies = [ "move-vm-runtime", "move-vm-types", "once_cell", - "parking_lot 0.12.1", - "reqwest 0.11.23", + "parking_lot 0.12.3", + "reqwest 0.11.27", "serde", "serde_json", "serde_yaml 0.8.26", @@ -3619,10 +3620,10 @@ dependencies = [ "aptos-types", "bcs 0.1.4", "bytes", - "clap 4.4.14", + "clap 4.5.20", "hex", "move-core-types", - "reqwest 0.11.23", + "reqwest 0.11.27", "serde", "serde_json", "thiserror", @@ -3663,13 +3664,13 @@ dependencies = [ "aptos-types", "aptos-warp-webserver", "bcs 0.1.4", - "clap 4.4.14", + "clap 4.5.20", "futures", "hex", "itertools 0.13.0", "move-core-types", "once_cell", - "reqwest 0.11.23", + "reqwest 0.11.27", "serde", "serde_json", "tokio", @@ -3686,7 +3687,7 @@ dependencies = [ "aptos-logger", "aptos-rosetta", "aptos-types", - "clap 4.4.14", + "clap 4.5.20", "serde", "serde_json", "tokio", @@ -3804,7 +3805,7 @@ dependencies = [ "aptos-framework", "aptos-types", "bcs 0.1.4", - "clap 4.4.14", + "clap 4.5.20", "heck 0.4.1", "move-core-types", "once_cell", @@ -3875,7 +3876,7 @@ dependencies = [ "aptos-infallible", "claims", "crossbeam", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "proptest", "proptest-derive", "rayon", @@ -3946,9 +3947,9 @@ dependencies = [ "assert_unordered", "bcs 0.1.4", "crossbeam-channel", - "dashmap", + "dashmap 5.5.3", "once_cell", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "proptest", "proptest-derive", "rayon", @@ -4004,7 +4005,7 @@ dependencies = [ "bcs 0.1.4", "bytes", "claims", - "dashmap", + "dashmap 5.5.3", "futures", "maplit", "mini-moka", @@ -4041,8 +4042,8 @@ dependencies = [ "anyhow", "aptos-profiler 0.1.0", "async-mutex", - "http 0.2.11", - "hyper 0.14.28", + "http 0.2.12", + "hyper 0.14.31", "lazy_static", "mime", "pprof", @@ -4061,8 +4062,8 @@ dependencies = [ "anyhow", "aptos-profiler 0.1.0 (git+https://github.com/aptos-labs/aptos-core.git?rev=202bdccff2b2d333a385ae86a4fcf23e89da9f62)", "async-mutex", - "http 0.2.11", - "hyper 0.14.28", + "http 0.2.12", + "hyper 0.14.31", "lazy_static", "mime", "pprof", @@ -4117,7 +4118,7 @@ dependencies = [ "prometheus", "rand 0.7.3", "rand_core 0.5.1", - "reqwest 0.11.23", + "reqwest 0.11.27", "reqwest-middleware", "reqwest-retry", "serde", @@ -4145,7 +4146,7 @@ dependencies = [ "bcs 0.1.4", "chrono", "claims", - "clap 4.4.14", + "clap 4.5.20", "debug-ignore", "flate2", "futures", @@ -4156,7 +4157,7 @@ dependencies = [ "prometheus", "rand 0.7.3", "rand_core 0.5.1", - "reqwest 0.11.23", + "reqwest 0.11.27", "reqwest-middleware", "reqwest-retry", "serde", @@ -4203,7 +4204,7 @@ dependencies = [ "hex", "itertools 0.13.0", "rand 0.7.3", - "reqwest 0.11.23", + "reqwest 0.11.27", "tokio", "tokio-scoped", ] @@ -4215,7 +4216,7 @@ dependencies = [ "aptos-infallible", "enum_dispatch", "futures", - "pin-project 1.1.3", + "pin-project 1.1.7", "thiserror", "tokio", "tokio-test", @@ -4237,7 +4238,7 @@ dependencies = [ "aptos-types", "aptos-vm", "aptos-vm-logging", - "clap 4.4.14", + "clap 4.5.20", "criterion", "criterion-cpu-time", "num_cpus", @@ -4253,7 +4254,7 @@ dependencies = [ "aptos-logger", "aptos-sdk", "aptos-transaction-emitter-lib", - "clap 4.4.14", + "clap 4.5.20", "futures", "rand 0.7.3", "tokio", @@ -4276,14 +4277,14 @@ dependencies = [ "aptos-types", "async-trait", "base64 0.13.1", - "clap 4.4.14", + "clap 4.5.20", "futures", "hex", "itertools 0.13.0", "once_cell", "rand 0.7.3", "rand_core 0.5.1", - "reqwest 0.11.23", + "reqwest 0.11.27", "serde", "serde_json", "tokio", @@ -4298,7 +4299,7 @@ dependencies = [ "aptos-protos 1.3.1", "derive_builder", "lz4", - "prost 0.12.3", + "prost 0.12.6", "serde", "serde_json", "serde_yaml 0.8.26", @@ -4315,7 +4316,7 @@ dependencies = [ "aptos-logger", "aptos-sdk", "async-trait", - "clap 4.4.14", + "clap 4.5.20", "move-binary-format", "once_cell", "rand 0.7.3", @@ -4341,7 +4342,7 @@ dependencies = [ "aptos-vm-environment", "aptos-vm-genesis", "bcs 0.1.4", - "clap 4.4.14", + "clap 4.5.20", "codespan-reporting", "datatest-stable", "hex", @@ -4391,11 +4392,11 @@ dependencies = [ "claims", "coset", "criterion", - "dashmap", + "dashmap 5.5.3", "derivative", "fixed", "fxhash", - "hashbrown 0.14.3", + "hashbrown 0.14.5", "hex", "itertools 0.13.0", "jsonwebtoken 8.3.0", @@ -4419,7 +4420,7 @@ dependencies = [ "rand 0.7.3", "rayon", "regex", - "reqwest 0.11.23", + "reqwest 0.11.27", "ring 0.16.20", "rsa 0.9.6", "serde", @@ -4553,7 +4554,7 @@ dependencies = [ "aptos-language-e2e-tests", "aptos-types", "bcs 0.1.4", - "clap 4.4.14", + "clap 4.5.20", "move-binary-format", "move-core-types", ] @@ -4635,7 +4636,7 @@ dependencies = [ "aptos-types", "aptos-vm", "bcs 0.1.4", - "clap 4.4.14", + "clap 4.5.20", "glob", "move-binary-format", "move-core-types", @@ -4705,7 +4706,7 @@ dependencies = [ "aptos-config", "aptos-logger", "bcs 0.1.4", - "hyper 0.14.28", + "hyper 0.14.31", "serde", "serde_json", "warp", @@ -4740,9 +4741,9 @@ dependencies = [ [[package]] name = "arc-swap" -version = "1.6.0" +version = "1.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bddcadddf5e9015d310179a59bb28c4d4b9920ad0f11e8e14dbadf654890c9a6" +checksum = "69f7f8c3906b62b754cd5326047894316021dcfe5a194c8ea52bdd94934a3457" [[package]] name = "ark-bls12-381" @@ -4817,7 +4818,7 @@ dependencies = [ "derivative", "digest 0.10.7", "itertools 0.10.5", - "num-bigint 0.4.4", + "num-bigint 0.4.6", "num-traits", "paste", "rayon", @@ -4841,7 +4842,7 @@ version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7abe79b0e4288889c4574159ab790824d0033b9fdcb2a112a3182fac2e514565" dependencies = [ - "num-bigint 0.4.4", + "num-bigint 0.4.6", "num-traits", "proc-macro2", "quote", @@ -4899,7 +4900,7 @@ dependencies = [ "ark-serialize-derive", "ark-std", "digest 0.10.7", - "num-bigint 0.4.4", + "num-bigint 0.4.6", ] [[package]] @@ -4960,9 +4961,9 @@ dependencies = [ [[package]] name = "arrayref" -version = "0.3.7" +version = "0.3.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b4930d2cb77ce62f89ee5d5289b4ac049559b1c45539271f5ed4fdc7db34545" +checksum = "76a2e8124351fda1ef8aaaa3bbd7ebbcb486bbcd4225aca0aa0d84bb2db8fecb" [[package]] name = "arrayvec" @@ -4981,9 +4982,9 @@ checksum = "23b62fc65de8e4e7f52534fb52b0f3ed04746ae267519eef2a83941e8085068b" [[package]] name = "arrayvec" -version = "0.7.4" +version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96d30a06541fbafbc7f82ed10c06164cfbd2c401138f6addd8404629c4b16711" +checksum = "7c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50" [[package]] name = "ascii-canvas" @@ -5032,12 +5033,11 @@ dependencies = [ [[package]] name = "async-channel" -version = "2.1.1" +version = "2.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ca33f4bc4ed1babef42cad36cc1f51fa88be00420404e5b1e80ab1b18f7678c" +checksum = "89b47800b0be77592da0afd425cc03468052844aff33b84e33cc696f64e77b6a" dependencies = [ "concurrent-queue", - "event-listener 4.0.3", "event-listener-strategy", "futures-core", "pin-project-lite", @@ -5045,9 +5045,9 @@ dependencies = [ [[package]] name = "async-compression" -version = "0.4.11" +version = "0.4.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd066d0b4ef8ecb03a55319dc13aa6910616d0f44008a045bb1835af830abff5" +checksum = "0cb8f1d480b0ea3783ab015936d2a55c87e219676f0c0b7dec61494043f21857" dependencies = [ "flate2", "futures-core", @@ -5058,15 +5058,14 @@ dependencies = [ [[package]] name = "async-executor" -version = "1.8.0" +version = "1.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "17ae5ebefcc48e7452b4987947920dac9450be1110cadf34d1b8c116bdbaf97c" +checksum = "30ca9a001c1e8ba5149f91a74362376cc6bc5b919d92d988668657bd570bdcec" dependencies = [ - "async-lock 3.2.0", "async-task", "concurrent-queue", - "fastrand 2.0.1", - "futures-lite 2.2.0", + "fastrand 2.1.1", + "futures-lite 2.4.0", "slab", ] @@ -5076,70 +5075,41 @@ version = "2.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "05b1b633a2115cd122d73b955eadd9916c18c8f510ec9cd1686404c60ad1c29c" dependencies = [ - "async-channel 2.1.1", + "async-channel 2.3.1", "async-executor", - "async-io 2.2.2", - "async-lock 3.2.0", + "async-io", + "async-lock", "blocking", - "futures-lite 2.2.0", + "futures-lite 2.4.0", "once_cell", ] [[package]] name = "async-io" -version = "1.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fc5b45d93ef0529756f812ca52e44c221b35341892d3dcc34132ac02f3dd2af" -dependencies = [ - "async-lock 2.8.0", - "autocfg", - "cfg-if", - "concurrent-queue", - "futures-lite 1.13.0", - "log", - "parking", - "polling 2.8.0", - "rustix 0.37.27", - "slab", - "socket2 0.4.10", - "waker-fn", -] - -[[package]] -name = "async-io" -version = "2.2.2" +version = "2.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6afaa937395a620e33dc6a742c593c01aced20aa376ffb0f628121198578ccc7" +checksum = "444b0228950ee6501b3568d3c93bf1176a1fdbc3b758dcd9475046d30f4dc7e8" dependencies = [ - "async-lock 3.2.0", + "async-lock", "cfg-if", "concurrent-queue", "futures-io", - "futures-lite 2.2.0", + "futures-lite 2.4.0", "parking", - "polling 3.3.1", - "rustix 0.38.28", + "polling 3.7.3", + "rustix 0.38.38", "slab", "tracing", - "windows-sys 0.52.0", -] - -[[package]] -name = "async-lock" -version = "2.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "287272293e9d8c41773cec55e365490fe034813a2f172f502d6ddcf75b2f582b" -dependencies = [ - "event-listener 2.5.3", + "windows-sys 0.59.0", ] [[package]] name = "async-lock" -version = "3.2.0" +version = "3.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7125e42787d53db9dd54261812ef17e937c95a51e4d291373b670342fa44310c" +checksum = "ff6e472cdea888a4bd64f342f09b3f50e1886d32afe8df3d663c01140b811b18" dependencies = [ - "event-listener 4.0.3", + "event-listener 5.3.1", "event-listener-strategy", "pin-project-lite", ] @@ -5155,75 +5125,77 @@ dependencies = [ [[package]] name = "async-object-pool" -version = "0.1.4" +version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aeb901c30ebc2fc4ab46395bbfbdba9542c16559d853645d75190c3056caf3bc" +checksum = "333c456b97c3f2d50604e8b2624253b7f787208cb72eb75e64b0ad11b221652c" dependencies = [ "async-std", ] [[package]] name = "async-process" -version = "1.8.1" +version = "2.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea6438ba0a08d81529c69b36700fa2f95837bfe3e776ab39cde9c14d9149da88" +checksum = "63255f1dc2381611000436537bbedfe83183faa303a5a0edaf191edef06526bb" dependencies = [ - "async-io 1.13.0", - "async-lock 2.8.0", + "async-channel 2.3.1", + "async-io", + "async-lock", "async-signal", + "async-task", "blocking", "cfg-if", - "event-listener 3.1.0", - "futures-lite 1.13.0", - "rustix 0.38.28", - "windows-sys 0.48.0", + "event-listener 5.3.1", + "futures-lite 2.4.0", + "rustix 0.38.38", + "tracing", ] [[package]] name = "async-recursion" -version = "1.0.5" +version = "1.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5fd55a5ba1179988837d24ab4c7cc8ed6efdeff578ede0416b4225a5fca35bd0" +checksum = "3b43422f69d8ff38f95f1b2bb76517c91589a924d1559a0e935d7c8ce0274c11" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.86", ] [[package]] name = "async-signal" -version = "0.2.5" +version = "0.2.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e47d90f65a225c4527103a8d747001fc56e375203592b25ad103e1ca13124c5" +checksum = "637e00349800c0bdf8bfc21ebbc0b6524abea702b0da4168ac00d070d0c0b9f3" dependencies = [ - "async-io 2.2.2", - "async-lock 2.8.0", + "async-io", + "async-lock", "atomic-waker", "cfg-if", "futures-core", "futures-io", - "rustix 0.38.28", + "rustix 0.38.38", "signal-hook-registry", "slab", - "windows-sys 0.48.0", + "windows-sys 0.59.0", ] [[package]] name = "async-std" -version = "1.12.0" +version = "1.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62565bb4402e926b29953c785397c6dc0391b7b446e45008b0049eb43cec6f5d" +checksum = "c634475f29802fde2b8f0b505b1bd00dfe4df7d4a000f0b36f7671197d5c3615" dependencies = [ "async-channel 1.9.0", "async-global-executor", - "async-io 1.13.0", - "async-lock 2.8.0", + "async-io", + "async-lock", "async-process", "crossbeam-utils", "futures-channel", "futures-core", "futures-io", - "futures-lite 1.13.0", + "futures-lite 2.4.0", "gloo-timers", "kv-log-macro", "log", @@ -5237,9 +5209,9 @@ dependencies = [ [[package]] name = "async-stream" -version = "0.3.5" +version = "0.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd56dd203fef61ac097dd65721a419ddccb106b2d2b70ba60a6b529f03961a51" +checksum = "0b5a71a6f37880a80d1d7f19efd781e4b5de42c88f0722cc13bcb6cc2cfe8476" dependencies = [ "async-stream-impl", "futures-core", @@ -5248,30 +5220,30 @@ dependencies = [ [[package]] name = "async-stream-impl" -version = "0.3.5" +version = "0.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "16e62a023e7c117e27523144c5d2459f4397fcc3cab0085af8e2224f643a0193" +checksum = "c7c24de15d275a1ecfd47a380fb4d5ec9bfe0933f309ed5e705b775596a3574d" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.86", ] [[package]] name = "async-task" -version = "4.7.0" +version = "4.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fbb36e985947064623dbd357f727af08ffd077f93d696782f3c56365fa2e2799" +checksum = "8b75356056920673b02621b35afd0f7dda9306d03c79a30f5c56c44cf256e3de" [[package]] name = "async-trait" -version = "0.1.82" +version = "0.1.83" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a27b8a3a6e1a44fa4c8baf1f653e4172e81486d4941f2237e20dc2d0cf4ddff1" +checksum = "721cae7de5c34fbb2acd27e21e6d2cf7b886dce0c27388d46c4e6c47ea4318dd" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.86", ] [[package]] @@ -5305,9 +5277,9 @@ dependencies = [ [[package]] name = "autocfg" -version = "1.1.0" +version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" +checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26" [[package]] name = "axum" @@ -5320,9 +5292,9 @@ dependencies = [ "bitflags 1.3.2", "bytes", "futures-util", - "http 0.2.11", + "http 0.2.12", "http-body 0.4.6", - "hyper 0.14.28", + "hyper 0.14.31", "itoa", "matchit", "memchr", @@ -5332,25 +5304,25 @@ dependencies = [ "rustversion", "serde", "sync_wrapper 0.1.2", - "tower", + "tower 0.4.13", "tower-layer", "tower-service", ] [[package]] name = "axum" -version = "0.7.5" +version = "0.7.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3a6c9af12842a67734c9a2e355436e5d03b22383ed60cf13cd0c18fbfe3dcbcf" +checksum = "504e3947307ac8326a5437504c517c4b56716c9d98fac0028c2acc7ca47d70ae" dependencies = [ "async-trait", - "axum-core 0.4.3", + "axum-core 0.4.5", "bytes", "futures-util", "http 1.1.0", - "http-body 1.0.0", + "http-body 1.0.1", "http-body-util", - "hyper 1.4.1", + "hyper 1.5.0", "hyper-util", "itoa", "matchit", @@ -5365,7 +5337,7 @@ dependencies = [ "serde_urlencoded", "sync_wrapper 1.0.1", "tokio", - "tower", + "tower 0.5.1", "tower-layer", "tower-service", "tracing", @@ -5380,7 +5352,7 @@ dependencies = [ "async-trait", "bytes", "futures-util", - "http 0.2.11", + "http 0.2.12", "http-body 0.4.6", "mime", "rustversion", @@ -5390,20 +5362,20 @@ dependencies = [ [[package]] name = "axum-core" -version = "0.4.3" +version = "0.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a15c63fd72d41492dc4f497196f5da1fb04fb7529e631d73630d1b491e47a2e3" +checksum = "09f2bd6146b97ae3359fa0cc6d6b376d9539582c7b4220f041a33ec24c226199" dependencies = [ "async-trait", "bytes", "futures-util", "http 1.1.0", - "http-body 1.0.0", + "http-body 1.0.1", "http-body-util", "mime", "pin-project-lite", "rustversion", - "sync_wrapper 0.1.2", + "sync_wrapper 1.0.1", "tower-layer", "tower-service", "tracing", @@ -5422,7 +5394,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b62ddb9cb1ec0a098ad4bbf9344d0713fa193ae1a80af55febcff2627b6a00c1" dependencies = [ "futures-core", - "getrandom 0.2.11", + "getrandom 0.2.15", "instant", "pin-project-lite", "rand 0.8.5", @@ -5431,17 +5403,17 @@ dependencies = [ [[package]] name = "backtrace" -version = "0.3.69" +version = "0.3.74" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2089b7e3f35b9dd2d0ed921ead4f6d318c27680d4a5bd167b3ee120edb105837" +checksum = "8d82cb332cdfaed17ae235a638438ac4d4839913cc2af585c3c6746e8f8bee1a" dependencies = [ "addr2line", - "cc", "cfg-if", "libc", "miniz_oxide", "object", "rustc-demangle", + "windows-targets 0.52.6", ] [[package]] @@ -5464,9 +5436,9 @@ checksum = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8" [[package]] name = "base64" -version = "0.21.6" +version = "0.21.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c79fed4cdb43e993fcdadc7e58a09fd0e3e649c4436fa11da71c9f1f3ee7feb9" +checksum = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567" [[package]] name = "base64" @@ -5482,34 +5454,24 @@ checksum = "8c3c1a368f70d6cf7302d78f8f7093da241fb8e8807c05cc9e51a125895a6d5b" [[package]] name = "basic-cookies" -version = "0.1.4" +version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb53b6b315f924c7f113b162e53b3901c05fc9966baf84d201dfcc7432a4bb38" +checksum = "67bd8fd42c16bdb08688243dc5f0cc117a3ca9efeeaba3a345a18a6159ad96f7" dependencies = [ "lalrpop", "lalrpop-util", "regex", ] -[[package]] -name = "basic-toml" -version = "0.1.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2db21524cad41c5591204d22d75e1970a2d1f71060214ca931dc7d5afe2c14e5" -dependencies = [ - "serde", -] - [[package]] name = "bb8" -version = "0.8.1" +version = "0.8.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "98b4b0f25f18bcdc3ac72bdb486ed0acf7e185221fd4dc985bc15db5800b0ba2" +checksum = "d89aabfae550a5c44b43ab941844ffcd2e993cb6900b342debf59e9ea74acdb8" dependencies = [ "async-trait", - "futures-channel", "futures-util", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "tokio", ] @@ -5578,13 +5540,13 @@ dependencies = [ [[package]] name = "bigdecimal" -version = "0.4.2" +version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c06619be423ea5bb86c95f087d5707942791a08a85530df0db2209a3ecfb8bc9" +checksum = "8f850665a0385e070b64c38d2354e6c104c8479c59868d1e48a0c13ee2c7a1c1" dependencies = [ "autocfg", "libm", - "num-bigint 0.4.4", + "num-bigint 0.4.6", "num-integer", "num-traits", "serde", @@ -5601,9 +5563,9 @@ dependencies = [ [[package]] name = "bindgen" -version = "0.69.4" +version = "0.69.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a00dc851838a2120612785d195287475a3ac45514741da670b735818822129a0" +checksum = "271383c67ccabffb7381723dea0672a673f292304fcb45c01cc648c7a8d58088" dependencies = [ "bitflags 2.6.0", "cexpr", @@ -5614,9 +5576,9 @@ dependencies = [ "proc-macro2", "quote", "regex", - "rustc-hash", + "rustc-hash 1.1.0", "shlex", - "syn 2.0.48", + "syn 2.0.86", ] [[package]] @@ -5711,8 +5673,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "23285ad32269793932e830392f2fe2f83e26488fd3ec778883a93c8323735780" dependencies = [ "arrayref", - "arrayvec 0.7.4", - "constant_time_eq 0.3.0", + "arrayvec 0.7.6", + "constant_time_eq 0.3.1", ] [[package]] @@ -5722,8 +5684,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "94230421e395b9920d23df13ea5d77a20e1725331f90fbbf6df6040b33f756ae" dependencies = [ "arrayref", - "arrayvec 0.7.4", - "constant_time_eq 0.3.0", + "arrayvec 0.7.6", + "constant_time_eq 0.3.1", ] [[package]] @@ -5774,25 +5736,22 @@ checksum = "8d696c370c750c948ada61c69a0ee2cbbb9c50b1019ddb86d9317157a99c2cae" [[package]] name = "blocking" -version = "1.5.1" +version = "1.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a37913e8dc4ddcc604f0c6d3bf2887c995153af3611de9e23c352b44c1b9118" +checksum = "703f41c54fc768e63e091340b424302bb1c29ef4aa0c7f10fe849dfb114d29ea" dependencies = [ - "async-channel 2.1.1", - "async-lock 3.2.0", + "async-channel 2.3.1", "async-task", - "fastrand 2.0.1", "futures-io", - "futures-lite 2.2.0", + "futures-lite 2.4.0", "piper", - "tracing", ] [[package]] name = "blst" -version = "0.3.11" +version = "0.3.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c94087b935a822949d3291a9989ad2b2051ea141eda0fd4e478a75f6aa3e604b" +checksum = "4378725facc195f1a538864863f6de233b500a8862747e7f165078a419d5e874" dependencies = [ "cc", "glob", @@ -5822,14 +5781,14 @@ version = "0.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f03db470b3c0213c47e978da93200259a1eb4dae2e5512cba9955e2b540a6fc6" dependencies = [ - "base64 0.21.6", + "base64 0.21.7", "bollard-stubs", "bytes", "futures-core", "futures-util", "hex", - "http 0.2.11", - "hyper 0.14.28", + "http 0.2.12", + "hyper 0.14.31", "hyperlocal", "log", "pin-project-lite", @@ -5840,7 +5799,7 @@ dependencies = [ "serde_urlencoded", "thiserror", "tokio", - "tokio-util 0.7.10", + "tokio-util 0.7.12", "url", "winapi 0.3.9", ] @@ -5858,22 +5817,12 @@ dependencies = [ [[package]] name = "bstr" -version = "0.2.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba3569f383e8f1598449f1a423e72e99569137b47740b1da11ef19af3d5c3223" -dependencies = [ - "lazy_static", - "memchr", - "regex-automata 0.1.10", -] - -[[package]] -name = "bstr" -version = "1.9.0" +version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c48f0051a4b4c5e0b6d365cd04af53aeaa209e3cc15ec2cdb69e73cc87fbd0dc" +checksum = "40723b8fb387abc38f4f4a37c09073622e41dd12327033091ef8950659e6dc0c" dependencies = [ "memchr", + "regex-automata 0.4.8", "serde", ] @@ -5899,9 +5848,9 @@ dependencies = [ [[package]] name = "bumpalo" -version = "3.14.0" +version = "3.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f30e7476521f6f8af1a1c4c0b8cc94f0bee37d91763d0ca2665f299b6cd8aec" +checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c" [[package]] name = "byte-slice-cast" @@ -5950,15 +5899,15 @@ dependencies = [ [[package]] name = "bytecount" -version = "0.6.7" +version = "0.6.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e1e5f035d16fc623ae5f74981db80a439803888314e3a555fd6f04acd51a3205" +checksum = "5ce89b21cab1437276d2650d57e971f9d548a2d9037cc231abdc0562b97498ce" [[package]] name = "bytemuck" -version = "1.14.0" +version = "1.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "374d28ec25809ee0e23827c2ab573d729e293f281dfe393500e7ad618baa61c6" +checksum = "8334215b81e418a0a7bdb8ef0849474f40bb10c8b71f1c4ed315cff49f32494d" [[package]] name = "byteorder" @@ -5968,9 +5917,9 @@ checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" [[package]] name = "bytes" -version = "1.5.0" +version = "1.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2bd12c1caf447e69cd4528f47f94d203fd2582878ecb9e9465484c4148a8223" +checksum = "9ac0150caa2ae65ca5bd83f25c7de183dea78d4d366469f148435e2acfbad0da" dependencies = [ "serde", ] @@ -5997,7 +5946,7 @@ name = "calc-dep-sizes" version = "0.1.0" dependencies = [ "anyhow", - "clap 4.4.14", + "clap 4.5.20", "futures", "move-binary-format", "move-core-types", @@ -6007,9 +5956,9 @@ dependencies = [ [[package]] name = "camino" -version = "1.1.6" +version = "1.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c59e92b5a388f549b863a7bea62612c09f24c8393560709a54558a9abdfb3b9c" +checksum = "8b96ec4966b5813e2c0507c1f86115c8c5abaadc3980879c3424042a02fd1ad3" dependencies = [ "serde", ] @@ -6043,9 +5992,9 @@ dependencies = [ [[package]] name = "cargo-platform" -version = "0.1.6" +version = "0.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ceed8ef69d8518a5dda55c07425450b58a4e1946f4951eab6d7191ee86c2443d" +checksum = "24b1f0365a6c6bb4020cd05806fd0d33c44d38046b8bd7f0e40814b9763cabfc" dependencies = [ "serde", ] @@ -6097,12 +6046,13 @@ checksum = "a2698f953def977c68f935bb0dfa959375ad4638570e969e2f1e9f433cbf1af6" [[package]] name = "cc" -version = "1.0.83" +version = "1.1.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1174fb0b6ec23863f8b971027804a42614e347eafb0a95bf0b12cdae21fc4d0" +checksum = "c2e7962b54006dcfcc61cb72735f4d89bb97061dd6a7ed882ec6b8ee53714c6f" dependencies = [ "jobserver", "libc", + "shlex", ] [[package]] @@ -6116,9 +6066,9 @@ dependencies = [ [[package]] name = "cfg-expr" -version = "0.15.6" +version = "0.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6100bc57b6209840798d95cb2775684849d332f7bd788db2a8c8caf7ef82a41a" +checksum = "d0890061c4d3223e7267f3bad2ec40b997d64faac1c2815a4a9d95018e2b9e9c" dependencies = [ "smallvec", "target-lexicon", @@ -6136,6 +6086,12 @@ version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fd16c4719339c4530435d38e511904438d07cce7950afa3718a84ac36c10e89e" +[[package]] +name = "cfg_aliases" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724" + [[package]] name = "chrono" version = "0.4.38" @@ -6148,14 +6104,14 @@ dependencies = [ "num-traits", "serde", "wasm-bindgen", - "windows-targets 0.52.0", + "windows-targets 0.52.6", ] [[package]] name = "chrono-tz" -version = "0.8.5" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91d7b79e99bfaa0d47da0687c43aa3b7381938a62ad3a6498599039321f660b7" +checksum = "93698b29de5e97ad0ae26447b344c482a7284c737d9ddc5f9e52b74a336671bb" dependencies = [ "chrono", "chrono-tz-build", @@ -6164,9 +6120,9 @@ dependencies = [ [[package]] name = "chrono-tz-build" -version = "0.2.1" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "433e39f13c9a060046954e0592a8d0a4bcb1040125cbf91cb8ee58964cfb350f" +checksum = "0c088aee841df9c3041febbb73934cfc39708749bf96dc827e3359cd39ef11b1" dependencies = [ "parse-zoneinfo", "phf", @@ -6181,9 +6137,9 @@ checksum = "6e4de3bc4ea267985becf712dc6d9eed8b04c953b3fcfb339ebc87acd9804901" [[package]] name = "ciborium" -version = "0.2.1" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "effd91f6c78e5a4ace8a5d3c0b6bfaec9e2baaef55f3efc00e45fb2e477ee926" +checksum = "42e69ffd6f0917f5c029256a24d0161db17cea3997d185db0d35926308770f0e" dependencies = [ "ciborium-io", "ciborium-ll", @@ -6192,18 +6148,18 @@ dependencies = [ [[package]] name = "ciborium-io" -version = "0.2.1" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cdf919175532b369853f5d5e20b26b43112613fd6fe7aee757e35f7a44642656" +checksum = "05afea1e0a06c9be33d539b876f1ce3692f4afea2cb41f740e7743225ed1c757" [[package]] name = "ciborium-ll" -version = "0.2.1" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "defaa24ecc093c77630e6c15e17c51f5e187bf35ee514f4e2d67baaa96dae22b" +checksum = "57663b653d948a338bfb3eeba9bb2fd5fcfaecb9e199e87e1eda4d9e8b240fd9" dependencies = [ "ciborium-io", - "half 1.8.2", + "half 2.4.1", ] [[package]] @@ -6227,9 +6183,9 @@ dependencies = [ [[package]] name = "clang-sys" -version = "1.7.0" +version = "1.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67523a3b4be3ce1989d607a828d036249522dd9c1c8de7f4dd2dae43a37369d1" +checksum = "0b023947811758c97c59bf9d1c188fd619ad4718dcaa767947df1cadb14f39f4" dependencies = [ "glob", "libc", @@ -6265,49 +6221,49 @@ dependencies = [ "once_cell", "strsim 0.10.0", "termcolor", - "textwrap 0.16.0", + "textwrap 0.16.1", ] [[package]] name = "clap" -version = "4.4.14" +version = "4.5.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33e92c5c1a78c62968ec57dbc2440366a2d6e5a23faf829970ff1585dc6b18e2" +checksum = "b97f376d85a664d5837dbae44bf546e6477a679ff6610010f17276f686d867e8" dependencies = [ "clap_builder", - "clap_derive 4.4.7", + "clap_derive 4.5.18", ] [[package]] name = "clap-verbosity-flag" -version = "2.1.1" +version = "2.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c90e95e5bd4e8ac34fa6f37c774b0c6f8ed06ea90c79931fd448fcf941a9767" +checksum = "e099138e1807662ff75e2cebe4ae2287add879245574489f9b1588eb5e5564ed" dependencies = [ - "clap 4.4.14", + "clap 4.5.20", "log", ] [[package]] name = "clap_builder" -version = "4.4.14" +version = "4.5.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4323769dc8a61e2c39ad7dc26f6f2800524691a44d74fe3d1071a5c24db6370" +checksum = "19bc80abd44e4bed93ca373a0704ccbd1b710dc5749406201bb018272808dc54" dependencies = [ "anstream", "anstyle", - "clap_lex 0.6.0", - "strsim 0.10.0", + "clap_lex 0.7.2", + "strsim 0.11.1", "terminal_size", ] [[package]] name = "clap_complete" -version = "4.4.6" +version = "4.5.36" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97aeaa95557bd02f23fbb662f981670c3d20c5a26e69f7354b28f57092437fcd" +checksum = "86bc73de94bc81e52f3bebec71bc4463e9748f7a59166663e32044669577b0e2" dependencies = [ - "clap 4.4.14", + "clap 4.5.20", ] [[package]] @@ -6325,14 +6281,14 @@ dependencies = [ [[package]] name = "clap_derive" -version = "4.4.7" +version = "4.5.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf9804afaaf59a91e75b022a30fb7229a7901f60c755489cc61c9b423b836442" +checksum = "4ac6a0c7b1a9e9a5186361f67dfa1b88213572f427fb9ab038efb2bd8c582dab" dependencies = [ - "heck 0.4.1", + "heck 0.5.0", "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.86", ] [[package]] @@ -6346,9 +6302,9 @@ dependencies = [ [[package]] name = "clap_lex" -version = "0.6.0" +version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "702fc72eb24e5a1e48ce58027a675bc24edd52096d5397d4aea7c6dd9eca0bd1" +checksum = "1462739cb27611015575c0c11df5df7601141071f07518d56fcc1be504cbec97" [[package]] name = "clear_on_drop" @@ -6376,7 +6332,7 @@ dependencies = [ "lazy_static", "pem 0.8.3", "percent-encoding", - "reqwest 0.11.23", + "reqwest 0.11.27", "ring 0.16.20", "serde", "serde_json", @@ -6412,9 +6368,9 @@ checksum = "3d7b894f5411737b7867f4827955924d7c254fc9f4d91a6aad6b097804b1018b" [[package]] name = "colorchoice" -version = "1.0.0" +version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7" +checksum = "5b63caa9aa9397e2d9480a9b13673856c78d8ac123288526c37d7839f2a86990" [[package]] name = "colored" @@ -6428,16 +6384,16 @@ dependencies = [ [[package]] name = "combine" -version = "4.6.6" +version = "4.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35ed6e9d84f0b51a7f52daf1c7d71dd136fd7a3f41a8462b8cdb8c78d920fad4" +checksum = "ba5a308b75df32fe02788e748662718f03fde005016435c444eea572398219fd" dependencies = [ "bytes", "futures-core", "memchr", "pin-project-lite", "tokio", - "tokio-util 0.7.10", + "tokio-util 0.7.12", ] [[package]] @@ -6445,7 +6401,7 @@ name = "compute-module-expansion-size" version = "0.1.0" dependencies = [ "anyhow", - "clap 4.4.14", + "clap 4.5.20", "futures", "move-binary-format", "move-core-types", @@ -6455,24 +6411,24 @@ dependencies = [ [[package]] name = "concurrent-queue" -version = "2.4.0" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d16048cd947b08fa32c24458a22f5dc5e835264f689f4f5653210c69fd107363" +checksum = "4ca0197aee26d1ae37445ee532fefce43251d24cc7c166799f4d46817f1d3973" dependencies = [ "crossbeam-utils", ] [[package]] name = "console" -version = "0.15.7" +version = "0.15.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c926e00cc70edefdc64d3a5ff31cc65bb97a3460097762bd23afb4d8145fccf8" +checksum = "0e1f83fc076bd6dd27517eacdf25fef6c4dfe5f1d7448bafaaf3a26f13b5e4eb" dependencies = [ "encode_unicode 0.3.6", "lazy_static", "libc", "unicode-width", - "windows-sys 0.45.0", + "windows-sys 0.52.0", ] [[package]] @@ -6482,8 +6438,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a257c22cd7e487dd4a13d413beabc512c5052f0bc048db0da6a84c3d8a6142fd" dependencies = [ "futures-core", - "prost 0.12.3", - "prost-types 0.12.3", + "prost 0.12.6", + "prost-types 0.12.6", "tonic 0.11.0", "tracing-core", ] @@ -6500,8 +6456,8 @@ dependencies = [ "futures-task", "hdrhistogram", "humantime", - "prost 0.12.3", - "prost-types 0.12.3", + "prost 0.12.6", + "prost-types 0.12.6", "serde", "serde_json", "thread_local", @@ -6540,31 +6496,31 @@ version = "0.1.16" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f9d839f2a20b0aee515dc581a6172f2321f96cab76c1a38a4c584a194955390e" dependencies = [ - "getrandom 0.2.11", + "getrandom 0.2.15", "once_cell", "tiny-keccak", ] [[package]] name = "const_fn" -version = "0.4.9" +version = "0.4.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fbdcdcb6d86f71c5e97409ad45898af11cbc995b4ee8112d59095a28d376c935" +checksum = "373e9fafaa20882876db20562275ff58d50e0caa2590077fe7ce7bef90211d0d" [[package]] name = "const_format" -version = "0.2.32" +version = "0.2.33" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3a214c7af3d04997541b18d432afaff4c455e79e2029079647e72fc2bd27673" +checksum = "50c655d81ff1114fb0dcdea9225ea9f0cc712a6f8d189378e82bdf62a473a64b" dependencies = [ "const_format_proc_macros", ] [[package]] name = "const_format_proc_macros" -version = "0.2.32" +version = "0.2.33" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c7f6ff08fd20f4f299298a28e2dfa8a8ba1036e6cd2460ac1de7b425d76f2500" +checksum = "eff1a44b93f47b1bac19a27932f5c591e43d1ba357ee4f61526c8a25603f0eb1" dependencies = [ "proc-macro2", "quote", @@ -6579,9 +6535,9 @@ checksum = "245097e9a4535ee1e3e3931fcfcd55a796a44c643e8596ff6566d68f09b87bbc" [[package]] name = "constant_time_eq" -version = "0.3.0" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7144d30dcf0fafbce74250a3963025d8d52177934239851c917d29f1df280c2" +checksum = "7c74b8349d32d297c9134b8c88677813a227df8f779daa29bfc29c183fe3dca6" [[package]] name = "convert_case" @@ -6600,9 +6556,9 @@ dependencies = [ [[package]] name = "cookie" -version = "0.16.2" +version = "0.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e859cd57d0710d9e06c381b550c06e76992472a8c6d527aecd2fc673dcc231fb" +checksum = "7efb37c3e1ccb1ff97164ad95ac1606e8ccd35b3fa0a7d99a304c7f4a428cc24" dependencies = [ "percent-encoding", "time", @@ -6629,12 +6585,12 @@ dependencies = [ [[package]] name = "cookie_store" -version = "0.16.2" +version = "0.20.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d606d0fba62e13cf04db20536c05cb7f13673c161cb47a47a82b9b9e7d3f1daa" +checksum = "387461abbc748185c3a6e1673d826918b450b87ff22639429c694619a83b6cf6" dependencies = [ - "cookie 0.16.2", - "idna 0.2.3", + "cookie 0.17.0", + "idna 0.3.0", "log", "publicsuffix", "serde", @@ -6656,9 +6612,9 @@ dependencies = [ [[package]] name = "core-foundation-sys" -version = "0.8.6" +version = "0.8.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06ea2b9bc92be3c2baa9334a323ebca2d6f074ff852cd1d7b11064035cd3868f" +checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b" [[package]] name = "core_affinity" @@ -6673,9 +6629,9 @@ dependencies = [ [[package]] name = "coset" -version = "0.3.5" +version = "0.3.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "99c214bbc5c8b4518856d79cae4d323feaa881ecf3e31b5af6572bb5313c11d5" +checksum = "f4c8cc80f631f8307b887faca24dcc3abc427cd0367f6eb6188f6e8f5b7ad8fb" dependencies = [ "ciborium", "ciborium-io", @@ -6683,27 +6639,27 @@ dependencies = [ [[package]] name = "cpp_demangle" -version = "0.4.3" +version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e8227005286ec39567949b33df9896bcadfa6051bccca2488129f108ca23119" +checksum = "96e58d342ad113c2b878f16d5d034c03be492ae460cdbc02b7f0f2284d310c7d" dependencies = [ "cfg-if", ] [[package]] name = "cpufeatures" -version = "0.2.12" +version = "0.2.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53fe5e26ff1b7aef8bca9c6080520cfb8d9333c7568e1829cef191a9723e5504" +checksum = "608697df725056feaccfa42cffdaeeec3fccc4ffc38358ecd19b243e716a78e0" dependencies = [ "libc", ] [[package]] name = "crc32fast" -version = "1.3.2" +version = "1.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b540bd8bc810d3885c6ea91e2018302f68baba2129ab3e88f32389ee9370880d" +checksum = "a97769d94ddab943e4510d138150169a2758b5ef3eb191a9ee688de3e23ef7b3" dependencies = [ "cfg-if", ] @@ -6769,9 +6725,9 @@ dependencies = [ [[package]] name = "crossbeam-channel" -version = "0.5.11" +version = "0.5.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "176dc175b78f56c0f321911d9c8eb2b77a78a4860b9c19db83835fea1a46649b" +checksum = "33480d6946193aa8033910124896ca395333cae7e2d1113d1fef6c3272217df2" dependencies = [ "crossbeam-utils", ] @@ -6806,9 +6762,9 @@ dependencies = [ [[package]] name = "crossbeam-utils" -version = "0.8.19" +version = "0.8.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "248e3bacc7dc6baa3b21e405ee045c3047101a49145e7e9eca583ab4c2ca5345" +checksum = "22ec99545bb0ed0ea7bb9b8e1e9122ea386ff8a48c0922e43f36d45ab09e0e80" [[package]] name = "crossterm" @@ -6820,7 +6776,7 @@ dependencies = [ "crossterm_winapi", "libc", "mio 0.8.11", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "signal-hook", "signal-hook-mio", "winapi 0.3.9", @@ -6836,7 +6792,7 @@ dependencies = [ "crossterm_winapi", "libc", "mio 0.8.11", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "signal-hook", "signal-hook-mio", "winapi 0.3.9", @@ -6952,34 +6908,34 @@ dependencies = [ [[package]] name = "ctrlc" -version = "3.4.2" +version = "3.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b467862cc8610ca6fc9a1532d7777cee0804e678ab45410897b9396495994a0b" +checksum = "90eeab0aa92f3f9b4e87f258c72b139c207d251f9cbc1080a0086b86a8870dd3" dependencies = [ - "nix 0.27.1", - "windows-sys 0.52.0", + "nix 0.29.0", + "windows-sys 0.59.0", ] [[package]] name = "curl" -version = "0.4.44" +version = "0.4.47" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "509bd11746c7ac09ebd19f0b17782eae80aadee26237658a6b4808afb5c11a22" +checksum = "d9fb4d13a1be2b58f14d60adba57c9834b78c62fd86c3e76a148f732686e9265" dependencies = [ "curl-sys", "libc", "openssl-probe", "openssl-sys", "schannel", - "socket2 0.4.10", - "winapi 0.3.9", + "socket2", + "windows-sys 0.52.0", ] [[package]] name = "curl-sys" -version = "0.4.70+curl-8.5.0" +version = "0.4.77+curl-8.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c0333d8849afe78a4c8102a429a446bfdd055832af071945520e835ae2d841e" +checksum = "f469e8a5991f277a208224f6c7ad72ecb5f986e36d09ae1f2c1bb9259478a480" dependencies = [ "cc", "libc", @@ -6988,7 +6944,7 @@ dependencies = [ "openssl-sys", "pkg-config", "vcpkg", - "windows-sys 0.48.0", + "windows-sys 0.52.0", ] [[package]] @@ -7006,16 +6962,15 @@ dependencies = [ [[package]] name = "curve25519-dalek" -version = "4.1.2" +version = "4.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a677b8922c94e01bdbb12126b0bc852f00447528dee1782229af9c720c3f348" +checksum = "97fb8b7c4503de7d6ae7b42ab72a5a59857b4c937ec27a3d4539dba95b5ab2be" dependencies = [ "cfg-if", "cpufeatures", "curve25519-dalek-derive", "digest 0.10.7", "fiat-crypto", - "platforms", "rustc_version", "subtle", "zeroize", @@ -7029,7 +6984,7 @@ checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.86", ] [[package]] @@ -7058,12 +7013,12 @@ dependencies = [ [[package]] name = "darling" -version = "0.20.9" +version = "0.20.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83b2eb4d90d12bdda5ed17de686c2acb4c57914f8f921b8da7e112b5a36f3fe1" +checksum = "6f63b86c8a8826a49b8c21f08a2d07338eec8d900540f8630dc76284be802989" dependencies = [ - "darling_core 0.20.9", - "darling_macro 0.20.9", + "darling_core 0.20.10", + "darling_macro 0.20.10", ] [[package]] @@ -7082,16 +7037,16 @@ dependencies = [ [[package]] name = "darling_core" -version = "0.20.9" +version = "0.20.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "622687fe0bac72a04e5599029151f5796111b90f1baaa9b544d807a5e31cd120" +checksum = "95133861a8032aaea082871032f5815eb9e98cef03fa916ab4500513994df9e5" dependencies = [ "fnv", "ident_case", "proc-macro2", "quote", "strsim 0.11.1", - "syn 2.0.48", + "syn 2.0.86", ] [[package]] @@ -7107,13 +7062,13 @@ dependencies = [ [[package]] name = "darling_macro" -version = "0.20.9" +version = "0.20.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "733cabb43482b1a1b53eee8583c2b9e8684d592215ea83efd305dd31bc2f0178" +checksum = "d336a2a514f6ccccaa3e09b02d41d35330c07ddf03a62165fcec10bb561c7806" dependencies = [ - "darling_core 0.20.9", + "darling_core 0.20.10", "quote", - "syn 2.0.48", + "syn 2.0.86", ] [[package]] @@ -7123,17 +7078,31 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "978747c1d849a7d2ee5e8adc0159961c48fb7e5db2f06af6723b80123bb53856" dependencies = [ "cfg-if", - "hashbrown 0.14.3", + "hashbrown 0.14.5", + "lock_api", + "once_cell", + "parking_lot_core 0.9.10", +] + +[[package]] +name = "dashmap" +version = "6.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5041cc499144891f3790297212f32a74fb938e5136a14943f338ef9e0ae276cf" +dependencies = [ + "cfg-if", + "crossbeam-utils", + "hashbrown 0.14.5", "lock_api", "once_cell", - "parking_lot_core 0.9.9", + "parking_lot_core 0.9.10", ] [[package]] name = "data-encoding" -version = "2.5.0" +version = "2.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e962a19be5cfc3f3bf6dd8f61eb50107f356ad6270fbb3ed41476571db78be5" +checksum = "e8566979429cf69b49a5c740c60791108e86440e8be149bbea4fe54d2c32d6e2" [[package]] name = "datatest-stable" @@ -7171,9 +7140,9 @@ dependencies = [ [[package]] name = "deadpool-runtime" -version = "0.1.3" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "63dfa964fe2a66f3fde91fc70b267fe193d822c7e603e2a675a49a7f46ad3f49" +checksum = "092966b41edc516079bdf31ec78a2e0588d1d0c08f78b91d8307215928642b2b" dependencies = [ "tokio", ] @@ -7204,7 +7173,7 @@ checksum = "4e018fccbeeb50ff26562ece792ed06659b9c2dae79ece77c4456bb10d9bf79b" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.86", ] [[package]] @@ -7220,9 +7189,9 @@ dependencies = [ [[package]] name = "der" -version = "0.7.8" +version = "0.7.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fffa369a668c8af7dbf8b5e56c9f744fbd399949ed171606040001947de40b1c" +checksum = "f55bf8e7b65898637379c1b74eb1551107c8294ed26d855ceb9fd1a09cfc9bc0" dependencies = [ "const-oid 0.9.6", "pem-rfc7468 0.7.0", @@ -7264,51 +7233,51 @@ checksum = "67e77553c4162a157adbf834ebae5b415acbecbeafc7a74b0e886657506a7611" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.86", ] [[package]] name = "derive_builder" -version = "0.20.0" +version = "0.20.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0350b5cb0331628a5916d6c5c0b72e97393b8b6b03b47a9284f4e7f5a405ffd7" +checksum = "507dfb09ea8b7fa618fcf76e953f4f5e192547945816d5358edffe39f6f94947" dependencies = [ "derive_builder_macro", ] [[package]] name = "derive_builder_core" -version = "0.20.0" +version = "0.20.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d48cda787f839151732d396ac69e3473923d54312c070ee21e9effcaa8ca0b1d" +checksum = "2d5bcf7b024d6835cfb3d473887cd966994907effbe9227e8c8219824d06c4e8" dependencies = [ - "darling 0.20.9", + "darling 0.20.10", "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.86", ] [[package]] name = "derive_builder_macro" -version = "0.20.0" +version = "0.20.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "206868b8242f27cecce124c19fd88157fbd0dd334df2587f36417bafbc85097b" +checksum = "ab63b0e2bf4d5928aff72e83a7dace85d7bba5fe12dcc3c5a572d78caffd3f3c" dependencies = [ "derive_builder_core", - "syn 2.0.48", + "syn 2.0.86", ] [[package]] name = "derive_more" -version = "0.99.17" +version = "0.99.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4fb810d30a7c1953f91334de7244731fc3f3c10d7fe163338a35b9f640960321" +checksum = "5f33878137e4dafd7fa914ad4e259e18a4e8e532b9617a2d0150262bf53abfce" dependencies = [ "convert_case 0.4.0", "proc-macro2", "quote", "rustc_version", - "syn 1.0.109", + "syn 2.0.86", ] [[package]] @@ -7330,15 +7299,15 @@ dependencies = [ [[package]] name = "deunicode" -version = "1.4.2" +version = "1.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ae2a35373c5c74340b79ae6780b498b2b183915ec5dacf263aac5a099bf485a" +checksum = "339544cc9e2c4dc3fc7149fd630c5f22263a4fdf18a98afd0075784968b5cf00" [[package]] name = "diesel" -version = "2.1.4" +version = "2.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62c6fcf842f17f8c78ecf7c81d75c5ce84436b41ee07e03f490fbb5f5a8731d8" +checksum = "ff236accb9a5069572099f0b350a92e9560e8e63a9b8d546162f4a5e03026bb2" dependencies = [ "bigdecimal", "bitflags 2.6.0", @@ -7346,7 +7315,7 @@ dependencies = [ "chrono", "diesel_derives", "itoa", - "num-bigint 0.4.4", + "num-bigint 0.4.6", "num-integer", "num-traits", "pq-sys", @@ -7371,14 +7340,14 @@ dependencies = [ [[package]] name = "diesel_derives" -version = "2.1.2" +version = "2.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef8337737574f55a468005a83499da720f20c65586241ffea339db9ecdfd2b44" +checksum = "14701062d6bed917b5c7103bdffaee1e4609279e240488ad24e7bd979ca6866c" dependencies = [ "diesel_table_macro_syntax", "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.86", ] [[package]] @@ -7398,7 +7367,7 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fc5557efc453706fed5e4fa85006fe9817c224c3f480a34c7e5959fd700921c5" dependencies = [ - "syn 2.0.48", + "syn 2.0.86", ] [[package]] @@ -7555,9 +7524,9 @@ checksum = "dcbb2bf8e87535c23f7a8a321e364ce21462d0ff10cb6407820e8e96dfff6653" [[package]] name = "dunce" -version = "1.0.4" +version = "1.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56ce8c6da7551ec6c462cbaf3bfbc75131ebbfa1c944aeaa9dab51ca1c5f0c3b" +checksum = "92773504d58c093f6de2459af4af33faa518c13451eb8f2b5698ed3d36e7c813" [[package]] name = "dw" @@ -7629,7 +7598,7 @@ version = "0.16.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ee27f32b5c5292967d2d4a9d7f1e0b0aed2c15daded5a60300e4abb9d8020bca" dependencies = [ - "der 0.7.8", + "der 0.7.9", "digest 0.10.7", "elliptic-curve", "rfc6979", @@ -7678,7 +7647,7 @@ version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4a3daa8e81a3963a60642bcc1f90a670680bd4a77535faa384e9d1c79d620871" dependencies = [ - "curve25519-dalek 4.1.2", + "curve25519-dalek 4.1.3", "ed25519 2.2.3", "serde", "sha2 0.10.8", @@ -7701,9 +7670,9 @@ dependencies = [ [[package]] name = "either" -version = "1.9.0" +version = "1.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a26ae43d7bcc3b814de94796a5e736d4029efb0ee900c12e2d54c993ad1a1e07" +checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0" [[package]] name = "elliptic-curve" @@ -7730,9 +7699,9 @@ dependencies = [ [[package]] name = "ena" -version = "0.14.2" +version = "0.14.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c533630cf40e9caa44bd91aadc88a75d75a4c3a12b4cfde353cbed41daa1e1f1" +checksum = "3d248bdd43ce613d87415282f69b9bb99d947d290b10962dd6c56233312c2ad5" dependencies = [ "log", ] @@ -7751,30 +7720,39 @@ checksum = "34aa73646ffb006b8f5147f3dc182bd4bcb190227ce861fc4a4844bf8e3cb2c0" [[package]] name = "encoding_rs" -version = "0.8.33" +version = "0.8.35" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7268b386296a025e474d5140678f75d6de9493ae55a5d709eeb9dd08149945e1" +checksum = "75030f3c4f45dafd7586dd6780965a8c7e8e285a5ecb86713e63a79c5b2766f3" dependencies = [ "cfg-if", ] [[package]] name = "enum_dispatch" -version = "0.3.12" +version = "0.3.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f33313078bb8d4d05a2733a94ac4c2d8a0df9a2b84424ebf4f33bfc224a890e" +checksum = "aa18ce2bc66555b3218614519ac839ddb759a7d6720732f979ef8d13be147ecd" dependencies = [ "once_cell", "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.86", +] + +[[package]] +name = "env_filter" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4f2c92ceda6ceec50f43169f9ee8424fe2db276791afde7b2cd8bc084cb376ab" +dependencies = [ + "log", ] [[package]] name = "env_logger" -version = "0.10.1" +version = "0.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95b3f3e67048839cb0d0781f445682a35113da7121f7c949db0e2be96a4fbece" +checksum = "4cd405aab171cb85d6735e5c8d9db038c17d3ca007a4d2c25f337935c3d90580" dependencies = [ "humantime", "is-terminal", @@ -7783,6 +7761,16 @@ dependencies = [ "termcolor", ] +[[package]] +name = "env_logger" +version = "0.11.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e13fa619b91fb2381732789fc5de83b45675e882f66623b7d8cb4f643017018d" +dependencies = [ + "env_filter", + "log", +] + [[package]] name = "environmental" version = "1.1.4" @@ -7806,9 +7794,9 @@ dependencies = [ [[package]] name = "errno" -version = "0.3.8" +version = "0.3.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a258e46cdc063eb8519c00b9fc845fc47bcfca4130e2f08e88665ceda8474245" +checksum = "534c5cf6194dfab3db3242765c03bbe257cf92f22b38f6bc0c58d59108a820ba" dependencies = [ "libc", "windows-sys 0.52.0", @@ -7929,20 +7917,9 @@ checksum = "0206175f82b8d6bf6652ff7d71a1e27fd2e4efde587fd368662814d6ec1d9ce0" [[package]] name = "event-listener" -version = "3.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d93877bcde0eb80ca09131a08d23f0a5c18a620b01db137dba666d18cd9b30c2" -dependencies = [ - "concurrent-queue", - "parking", - "pin-project-lite", -] - -[[package]] -name = "event-listener" -version = "4.0.3" +version = "5.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67b215c49b2b248c855fb73579eb1f4f26c38ffdc12973e20e07b91d78d5646e" +checksum = "6032be9bd27023a771701cc49f9f053c751055f71efb2e0ae5c15809093675ba" dependencies = [ "concurrent-queue", "parking", @@ -7951,11 +7928,11 @@ dependencies = [ [[package]] name = "event-listener-strategy" -version = "0.4.0" +version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "958e4d70b6d5e81971bebec42271ec641e7ff4e170a6fa605f2b8a8b65cb97d3" +checksum = "0f214dc438f977e6d4e3500aaa277f5ad94ca83fbbd9b1a15713ce2344ccc5a1" dependencies = [ - "event-listener 4.0.3", + "event-listener 5.3.1", "pin-project-lite", ] @@ -8033,13 +8010,12 @@ dependencies = [ [[package]] name = "exr" -version = "1.71.0" +version = "1.73.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "832a761f35ab3e6664babfbdc6cef35a4860e816ec3916dcfd0882954e98a8a8" +checksum = "f83197f59927b46c04a183a619b7c29df34e63e63c7869320862268c0ef687e0" dependencies = [ "bit_field", - "flume", - "half 2.2.1", + "half 2.4.1", "lebe", "miniz_oxide", "rayon-core", @@ -8053,7 +8029,7 @@ version = "0.1.0" dependencies = [ "anyhow", "atty", - "clap 4.4.14", + "clap 4.5.20", "codespan-reporting", "move-to-yul", "serde_json", @@ -8076,15 +8052,6 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4443176a9f2c162692bd3d352d745ef9413eec5782a80d8fd6f8a1ac692a07f7" -[[package]] -name = "fallible_collections" -version = "0.4.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a88c69768c0a15262df21899142bc6df9b9b823546d4b4b9a7bc2d6c448ec6fd" -dependencies = [ - "hashbrown 0.13.2", -] - [[package]] name = "fastrand" version = "1.9.0" @@ -8096,15 +8063,15 @@ dependencies = [ [[package]] name = "fastrand" -version = "2.0.1" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25cbce373ec4653f1a01a31e8a5e5ec0c622dc27ff9c4e6606eefef5cbbed4a5" +checksum = "e8c02a5121d4ea3eb16a80748c74f5549a5665e4c21333c6098f283870fbdea6" [[package]] name = "fdeflate" -version = "0.3.3" +version = "0.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "209098dd6dfc4445aa6111f0e98653ac323eaa4dfd212c9ca3931bf9955c31bd" +checksum = "07c6f4c64c1d33a3111c4466f7365ebdcc37c5bd1ea0d62aae2e3d722aacbedb" dependencies = [ "simd-adler32", ] @@ -8140,9 +8107,9 @@ dependencies = [ [[package]] name = "fiat-crypto" -version = "0.2.6" +version = "0.2.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1676f435fc1dadde4d03e43f5d62b259e1ce5f40bd4ffb21db2b42ebe59c1382" +checksum = "28dea519a9695b9977216879a3ebfddf92f1c08c05d984f8996aecd6ecdc811d" [[package]] name = "field_count" @@ -8171,14 +8138,14 @@ checksum = "31a7a908b8f32538a2143e59a6e4e2508988832d5d4d6f7c156b3cbc762643a5" [[package]] name = "filetime" -version = "0.2.23" +version = "0.2.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ee447700ac8aa0b2f2bd7bc4462ad686ba06baa6727ac149a2d6277f0d240fd" +checksum = "35c0522e981e68cbfa8c3f978441a5f34b30b96e146b33cd3359176b50fe8586" dependencies = [ "cfg-if", "libc", - "redox_syscall 0.4.1", - "windows-sys 0.52.0", + "libredox", + "windows-sys 0.59.0", ] [[package]] @@ -8193,17 +8160,11 @@ dependencies = [ "winapi 0.3.9", ] -[[package]] -name = "finl_unicode" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8fcfdc7a0362c9f4444381a9e697c79d435fe65b52a37466fc2c1184cee9edc6" - [[package]] name = "firestore" -version = "0.43.0" +version = "0.43.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "11f7f676812c6a51d8584aa52252e2d3a02417ee0b27966c7059fe4ef80945d5" +checksum = "483bce3ebe3bec625c4a3800a84966e966604e274ea9acbe7e6429477f915445" dependencies = [ "async-trait", "backoff", @@ -8211,7 +8172,7 @@ dependencies = [ "futures", "gcloud-sdk", "hex", - "hyper 1.4.1", + "hyper 1.5.0", "rand 0.8.5", "rsb_derive", "rvstruct", @@ -8224,13 +8185,13 @@ dependencies = [ [[package]] name = "fixed" -version = "1.25.1" +version = "1.28.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e29e5681dc8556fb9df1409e95eae050e12e8776394313da3546dcb8cf390c73" +checksum = "85c6e0b89bf864acd20590dbdbad56f69aeb898abfc9443008fd7bd48b2cc85a" dependencies = [ "az", "bytemuck", - "half 2.2.1", + "half 2.4.1", "typenum", ] @@ -8272,9 +8233,9 @@ checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80" [[package]] name = "flate2" -version = "1.0.28" +version = "1.0.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "46303f565772937ffe1d394a4fac6f411c6013172fadde9dcdb1e147a086940e" +checksum = "a1b589b4dc103969ad3cf85c950899926ec64300a1a46d76c03a6072957036f0" dependencies = [ "crc32fast", "miniz_oxide", @@ -8305,15 +8266,6 @@ dependencies = [ "num-traits", ] -[[package]] -name = "flume" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "55ac459de2512911e4b674ce33cf20befaba382d05b62b008afc1c8b57cbf181" -dependencies = [ - "spin 0.9.8", -] - [[package]] name = "fnv" version = "1.0.7" @@ -8347,7 +8299,7 @@ checksum = "1a5c6c585bc94aaf2c7b51dd4c2ba22680844aba4c687be581871a6f518c5742" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.86", ] [[package]] @@ -8397,9 +8349,9 @@ checksum = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c" [[package]] name = "futures" -version = "0.3.30" +version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "645c6916888f6cb6350d2550b80fb63e734897a8498abe35cfb732b6487804b0" +checksum = "65bc07b1a8bc7c85c5f2e110c476c7389b4554ba72af57d8445ea63a576b0876" dependencies = [ "futures-channel", "futures-core", @@ -8412,9 +8364,9 @@ dependencies = [ [[package]] name = "futures-channel" -version = "0.3.30" +version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eac8f7d7865dcb88bd4373ab671c8cf4508703796caa2b1985a9ca867b3fcb78" +checksum = "2dff15bf788c671c1934e366d07e30c1814a8ef514e1af724a602e8a2fbe1b10" dependencies = [ "futures-core", "futures-sink", @@ -8422,15 +8374,15 @@ dependencies = [ [[package]] name = "futures-core" -version = "0.3.30" +version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dfc6580bb841c5a68e9ef15c77ccc837b40a7504914d52e47b8b0e9bbda25a1d" +checksum = "05f29059c0c2090612e8d742178b0580d2dc940c837851ad723096f87af6663e" [[package]] name = "futures-executor" -version = "0.3.30" +version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a576fc72ae164fca6b9db127eaa9a9dda0d61316034f33a0a0d4eda41f02b01d" +checksum = "1e28d1d997f585e54aebc3f97d39e72338912123a67330d723fdbb564d646c9f" dependencies = [ "futures-core", "futures-task", @@ -8439,9 +8391,9 @@ dependencies = [ [[package]] name = "futures-io" -version = "0.3.30" +version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a44623e20b9681a318efdd71c299b6b222ed6f231972bfe2f224ebad6311f0c1" +checksum = "9e5c1b78ca4aae1ac06c48a526a655760685149f0d465d21f37abfe57ce075c6" [[package]] name = "futures-lite" @@ -8460,11 +8412,11 @@ dependencies = [ [[package]] name = "futures-lite" -version = "2.2.0" +version = "2.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "445ba825b27408685aaecefd65178908c36c6e96aaf6d8599419d46e624192ba" +checksum = "3f1fa2f9765705486b33fd2acf1577f8ec449c2ba1f318ae5447697b7c08d210" dependencies = [ - "fastrand 2.0.1", + "fastrand 2.1.1", "futures-core", "futures-io", "parking", @@ -8473,38 +8425,38 @@ dependencies = [ [[package]] name = "futures-macro" -version = "0.3.30" +version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87750cf4b7a4c0625b1529e4c543c2182106e4dedc60a2a6455e00d212c489ac" +checksum = "162ee34ebcb7c64a8abebc059ce0fee27c2262618d7b60ed8faf72fef13c3650" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.86", ] [[package]] name = "futures-sink" -version = "0.3.30" +version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9fb8e00e87438d937621c1c6269e53f536c14d3fbd6a042bb24879e57d474fb5" +checksum = "e575fab7d1e0dcb8d0c7bcf9a63ee213816ab51902e6d244a95819acacf1d4f7" [[package]] name = "futures-task" -version = "0.3.30" +version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38d84fa142264698cdce1a9f9172cf383a0c82de1bddcf3092901442c4097004" +checksum = "f90f7dce0722e95104fcb095585910c0977252f286e354b5e3bd38902cd99988" [[package]] name = "futures-timer" -version = "3.0.2" +version = "3.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e64b03909df88034c26dc1547e8970b91f98bdb65165d6a4e9110d94263dbb2c" +checksum = "f288b0a4f20f9a56b5d1da57e2227c661b7b16168e2f72365f57b63326e29b24" [[package]] name = "futures-util" -version = "0.3.30" +version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d6401deb83407ab3da39eba7e33987a73c3df0c82b4bb5813ee871c19c41d48" +checksum = "9fa08315bb612088cc391249efdc3bc77536f16c91f6cf495e6fbe85b20a4a81" dependencies = [ "futures-channel", "futures-core", @@ -8562,26 +8514,26 @@ checksum = "8f5f3913fa0bfe7ee1fd8248b6b9f42a5af4b9d65ec2dd2c3c26132b950ecfc2" [[package]] name = "gcloud-sdk" -version = "0.25.3" +version = "0.25.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "898e349fb0fabc16892de7858e5650b70a8044edeee13469cb2f7649040bf3c2" +checksum = "2a1130d4e37435a63bd9d968a33c11b64bf35a2013779a353e29cd3598989d39" dependencies = [ "async-trait", "bytes", "chrono", "futures", - "hyper 1.4.1", + "hyper 1.5.0", "jsonwebtoken 9.3.0", "once_cell", - "prost 0.13.1", - "prost-types 0.13.1", - "reqwest 0.12.5", + "prost 0.13.3", + "prost-types 0.13.3", + "reqwest 0.12.9", "secret-vault-value", "serde", "serde_json", "tokio", - "tonic 0.12.1", - "tower", + "tonic 0.12.3", + "tower 0.5.1", "tower-layer", "tower-util", "tracing", @@ -8597,10 +8549,10 @@ dependencies = [ "async-stream", "async-trait", "dyn-clone", - "hyper 0.14.28", + "hyper 0.14.31", "hyper-rustls 0.24.2", "log", - "reqwest 0.11.23", + "reqwest 0.11.27", "serde", "serde_json", "thiserror", @@ -8624,7 +8576,7 @@ dependencies = [ "aptos-network", "aptos-types", "bcs 0.1.4", - "clap 4.4.14", + "clap 4.5.20", "move-core-types", "rand 0.7.3", "serde", @@ -8689,9 +8641,9 @@ dependencies = [ [[package]] name = "getrandom" -version = "0.2.11" +version = "0.2.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fe9006bed769170c11f845cf00c7c1e9092aeb3f268e007c3e760ac68008070f" +checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7" dependencies = [ "cfg-if", "js-sys", @@ -8702,19 +8654,19 @@ dependencies = [ [[package]] name = "ghash" -version = "0.5.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d930750de5717d2dd0b8c0d42c076c0e884c81a73e6cab859bbd2339c71e3e40" +checksum = "f0d8a4362ccb29cb0b265253fb0a2728f592895ee6854fd9bc13f2ffda266ff1" dependencies = [ - "opaque-debug 0.3.0", + "opaque-debug 0.3.1", "polyval", ] [[package]] name = "gif" -version = "0.12.0" +version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "80792593675e051cf94a4b111980da2ba60d4a83e43e0048c5693baab3977045" +checksum = "3fb2d69b19215e18bb912fa30f7ce15846e301408695e44e0ef719f1da9e19f2" dependencies = [ "color_quant", "weezl", @@ -8722,9 +8674,9 @@ dependencies = [ [[package]] name = "gimli" -version = "0.28.1" +version = "0.31.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4271d37baee1b8c7e4b708028c57d816cf9d2434acb33a549475f78c181f6253" +checksum = "07e28edb80900c19c28f1072f2e8aeca7fa06b23cd4169cefe1af5aa3260783f" [[package]] name = "git2" @@ -8762,33 +8714,33 @@ checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b" [[package]] name = "globset" -version = "0.4.14" +version = "0.4.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57da3b9b5b85bd66f31093f8c408b90a74431672542466497dcbdfdc02034be1" +checksum = "15f1ce686646e7f1e19bf7d5533fe443a45dbfb990e00629110797578b42fb19" dependencies = [ "aho-corasick", - "bstr 1.9.0", + "bstr", "log", - "regex-automata 0.4.6", - "regex-syntax 0.8.2", + "regex-automata 0.4.8", + "regex-syntax 0.8.5", ] [[package]] name = "globwalk" -version = "0.8.1" +version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93e3af942408868f6934a7b85134a3230832b9977cf66125df2f9edcfce4ddcc" +checksum = "0bf760ebf69878d9fd8f110c89703d90ce35095324d1f1edcb595c63945ee757" dependencies = [ - "bitflags 1.3.2", + "bitflags 2.6.0", "ignore", "walkdir", ] [[package]] name = "gloo-timers" -version = "0.2.6" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b995a66bb87bebce9a0f4a95aed01daca4872c050bfcb21653361c03bc35e5c" +checksum = "bbb143cf96099802033e0d4f4963b19fd2e0b728bcf076cd9cf7f6634f092994" dependencies = [ "futures-channel", "futures-core", @@ -8811,14 +8763,14 @@ dependencies = [ [[package]] name = "goldenfile" -version = "1.6.0" +version = "1.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e4a67453a3b358bd8213aedafd4feed75eecab9fb04bed26ba6fdf94694be560" +checksum = "672ff1c2f0537cf3f92065ce8aa77e2fc3f2abae2c805eb67f40ceecfbdee428" dependencies = [ "scopeguard", "similar-asserts", "tempfile", - "yansi 1.0.0-rc.1", + "yansi", ] [[package]] @@ -8828,12 +8780,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "931bedb2264cb00f914b0a6a5c304e34865c34306632d3932e0951a073e4a67d" dependencies = [ "async-trait", - "base64 0.21.6", + "base64 0.21.7", "google-cloud-metadata", "google-cloud-token", "home", "jsonwebtoken 8.3.0", - "reqwest 0.11.23", + "reqwest 0.11.27", "serde", "serde_json", "thiserror", @@ -8850,12 +8802,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f8bdaaa4bc036e8318274d1b25f0f2265b3e95418b765fd1ea1c7ef938fd69bd" dependencies = [ "google-cloud-token", - "http 0.2.11", + "http 0.2.12", "thiserror", "tokio", "tokio-retry", "tonic 0.9.2", - "tower", + "tower 0.4.13", "tracing", ] @@ -8876,7 +8828,7 @@ version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "96e4ad0802d3f416f62e7ce01ac1460898ee0efc98f8b45cd4aab7611607012f" dependencies = [ - "reqwest 0.11.23", + "reqwest 0.11.27", "thiserror", "tokio", ] @@ -8896,7 +8848,7 @@ dependencies = [ "prost-types 0.11.9", "thiserror", "tokio", - "tokio-util 0.7.10", + "tokio-util 0.7.12", "tracing", ] @@ -8907,7 +8859,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "22c57ca1d971d7c6f852c02eda4e87e88b1247b6ed8be9fa5b2768c68b0f2ca5" dependencies = [ "async-stream", - "base64 0.21.6", + "base64 0.21.7", "bytes", "futures-util", "google-cloud-auth", @@ -8917,7 +8869,7 @@ dependencies = [ "once_cell", "percent-encoding", "regex", - "reqwest 0.11.23", + "reqwest 0.11.27", "ring 0.16.20", "rsa 0.6.1", "serde", @@ -8954,9 +8906,9 @@ dependencies = [ [[package]] name = "guppy" -version = "0.17.5" +version = "0.17.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34e99a7734579b834a076ef11789783c153c6eb5fb3520ed15bc41f483f0f317" +checksum = "bf47f1dcacf93614a4181e308b8341f5bf5d4f7ae2f67cc5a078df8e7023ea63" dependencies = [ "ahash 0.8.11", "camino", @@ -8967,7 +8919,7 @@ dependencies = [ "guppy-summaries", "guppy-workspace-hack", "indexmap 2.6.0", - "itertools 0.12.1", + "itertools 0.13.0", "nested", "once_cell", "pathdiff", @@ -9014,19 +8966,19 @@ dependencies = [ "futures-core", "futures-sink", "futures-util", - "http 0.2.11", + "http 0.2.12", "indexmap 2.6.0", "slab", "tokio", - "tokio-util 0.7.10", + "tokio-util 0.7.12", "tracing", ] [[package]] name = "h2" -version = "0.4.5" +version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa82e28a107a8cc405f0839610bdc9b15f1e25ec7d696aa5cf173edbcb1486ab" +checksum = "524e8ac6999421f49a846c2d4411f337e53497d8ec55d67753beffa43c5d9205" dependencies = [ "atomic-waker", "bytes", @@ -9037,22 +8989,23 @@ dependencies = [ "indexmap 2.6.0", "slab", "tokio", - "tokio-util 0.7.10", + "tokio-util 0.7.12", "tracing", ] [[package]] name = "half" -version = "1.8.2" +version = "1.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eabb4a44450da02c90444cf74558da904edde8fb4e9035a9a6a4e15445af0bd7" +checksum = "1b43ede17f21864e81be2fa654110bf1e793774238d86ef8555c37e6519c0403" [[package]] name = "half" -version = "2.2.1" +version = "2.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "02b4af3693f1b705df946e9fe5631932443781d0aabb423b62fcd4d73f6d2fd0" +checksum = "6dd08c532ae367adf81c312a4580bc67f1d0fe8bc9c460520283f4c0ff277888" dependencies = [ + "cfg-if", "crunchy", "num-traits", ] @@ -9106,9 +9059,9 @@ dependencies = [ [[package]] name = "hashbrown" -version = "0.14.3" +version = "0.14.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "290f1a1d9242c78d09ce40a5e87e7554ee637af1351968159f4952f028f75604" +checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1" dependencies = [ "ahash 0.8.11", "allocator-api2", @@ -9126,7 +9079,7 @@ version = "7.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "765c9198f173dd59ce26ff9f95ef0aafd0a0fe01fb9d72841bc5066a4c06511d" dependencies = [ - "base64 0.21.6", + "base64 0.21.7", "byteorder", "flate2", "nom", @@ -9139,10 +9092,10 @@ version = "0.3.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "06683b93020a07e3dbcf5f8c0f6d40080d725bea7936fc01ad345c01b97dc270" dependencies = [ - "base64 0.21.6", + "base64 0.21.7", "bytes", "headers-core 0.2.0", - "http 0.2.11", + "http 0.2.12", "httpdate", "mime", "sha1", @@ -9154,7 +9107,7 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "322106e6bd0cba2d5ead589ddb8150a13d7c4217cf80d7c4f682ca994ccc6aa9" dependencies = [ - "base64 0.21.6", + "base64 0.21.7", "bytes", "headers-core 0.3.0", "http 1.1.0", @@ -9169,7 +9122,7 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e7f66481bfee273957b1f20485a4ff3362987f85b2c236580d81b4eb7a326429" dependencies = [ - "http 0.2.11", + "http 0.2.12", ] [[package]] @@ -9217,6 +9170,12 @@ version = "0.3.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024" +[[package]] +name = "hermit-abi" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fbf6a919d6cf397374f7dfeeea91d974c7c0a7221d0d0f4f20d859d329e53fcc" + [[package]] name = "hex" version = "0.4.3" @@ -9331,9 +9290,9 @@ checksum = "62adaabb884c94955b19907d60019f4e145d091c75345379e70d1ee696f7854f" [[package]] name = "http" -version = "0.2.11" +version = "0.2.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8947b1a6fad4393052c7ba1f4cd97bed3e953a95c79c92ad9b051a04611d9fbb" +checksum = "601cbb57e577e2f5ef5be8e7b83f0f63994f25aa94d673e54a92d5c516d101f1" dependencies = [ "bytes", "fnv", @@ -9358,15 +9317,15 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7ceab25649e9960c0311ea418d17bee82c0dcec1bd053b5f9a66e265a693bed2" dependencies = [ "bytes", - "http 0.2.11", + "http 0.2.12", "pin-project-lite", ] [[package]] name = "http-body" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1cac85db508abc24a2e48553ba12a996e87244a0395ce011e62b37158745d643" +checksum = "1efedce1fb8e6913f23e0c92de8e62cd5b772a67e7b3946df930a62566c93184" dependencies = [ "bytes", "http 1.1.0", @@ -9381,7 +9340,7 @@ dependencies = [ "bytes", "futures-util", "http 1.1.0", - "http-body 1.0.0", + "http-body 1.0.1", "pin-project-lite", ] @@ -9393,9 +9352,9 @@ checksum = "add0ab9360ddbd88cfeb3bd9574a1d85cfdfa14db10b3e21d3700dbc4328758f" [[package]] name = "httparse" -version = "1.8.0" +version = "1.9.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d897f394bad6a705d5f4104762e116a75639e470d80901eed05a860a95cb1904" +checksum = "7d71d3574edd2771538b901e6549113b4006ece66150fb69c0fb6d9a2adae946" [[package]] name = "httpdate" @@ -9412,12 +9371,12 @@ dependencies = [ "assert-json-diff", "async-object-pool", "async-trait", - "base64 0.21.6", + "base64 0.21.7", "basic-cookies", "crossbeam-utils", "form_urlencoded", "futures-util", - "hyper 0.14.28", + "hyper 0.14.31", "isahc", "lazy_static", "levenshtein", @@ -9448,22 +9407,22 @@ checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" [[package]] name = "hyper" -version = "0.14.28" +version = "0.14.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf96e135eb83a2a8ddf766e426a841d8ddd7449d5f00d34ea02b41d2f19eef80" +checksum = "8c08302e8fa335b151b788c775ff56e7a03ae64ff85c548ee820fecb70356e85" dependencies = [ "bytes", "futures-channel", "futures-core", "futures-util", "h2 0.3.26", - "http 0.2.11", + "http 0.2.12", "http-body 0.4.6", "httparse", "httpdate", "itoa", "pin-project-lite", - "socket2 0.5.5", + "socket2", "tokio", "tower-service", "tracing", @@ -9472,16 +9431,16 @@ dependencies = [ [[package]] name = "hyper" -version = "1.4.1" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50dfd22e0e76d0f662d429a5f80fcaf3855009297eab6a0a9f8543834744ba05" +checksum = "bbbff0a806a4728c99295b254c8838933b5b082d75e3cb70c8dab21fdfbcfa9a" dependencies = [ "bytes", "futures-channel", "futures-util", - "h2 0.4.5", + "h2 0.4.6", "http 1.1.0", - "http-body 1.0.0", + "http-body 1.0.1", "httparse", "httpdate", "itoa", @@ -9497,8 +9456,8 @@ version = "0.23.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1788965e61b367cd03a62950836d5cd41560c3577d90e40e0819373194d1661c" dependencies = [ - "http 0.2.11", - "hyper 0.14.28", + "http 0.2.12", + "hyper 0.14.31", "log", "rustls 0.20.9", "rustls-native-certs 0.6.3", @@ -9513,10 +9472,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec3efd23720e2049821a693cbc7e65ea87c72f1c58ff2f9522ff332b1491e590" dependencies = [ "futures-util", - "http 0.2.11", - "hyper 0.14.28", + "http 0.2.12", + "hyper 0.14.31", "log", - "rustls 0.21.10", + "rustls 0.21.12", "rustls-native-certs 0.6.3", "tokio", "tokio-rustls 0.24.1", @@ -9524,16 +9483,16 @@ dependencies = [ [[package]] name = "hyper-rustls" -version = "0.27.2" +version = "0.27.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ee4be2c948921a1a5320b629c4193916ed787a7f7f293fd3f7f5a6c9de74155" +checksum = "08afdbb5c31130e3034af566421053ab03787c640246a446327f550d11bcb333" dependencies = [ "futures-util", "http 1.1.0", - "hyper 1.4.1", + "hyper 1.5.0", "hyper-util", - "rustls 0.23.7", - "rustls-native-certs 0.7.0", + "rustls 0.23.16", + "rustls-native-certs 0.8.0", "rustls-pki-types", "tokio", "tokio-rustls 0.26.0", @@ -9546,7 +9505,7 @@ version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bbb958482e8c7be4bc3cf272a766a2b0bf1a6755e7a6ae777f017a31d11b13b1" dependencies = [ - "hyper 0.14.28", + "hyper 0.14.31", "pin-project-lite", "tokio", "tokio-io-timeout", @@ -9558,7 +9517,7 @@ version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3203a961e5c83b6f5498933e78b6b263e208c197b63e9c6c53cc82ffd3f63793" dependencies = [ - "hyper 1.4.1", + "hyper 1.5.0", "hyper-util", "pin-project-lite", "tokio", @@ -9572,7 +9531,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d6183ddfa99b85da61a140bea0efc93fdf56ceaa041b37d553518030827f9905" dependencies = [ "bytes", - "hyper 0.14.28", + "hyper 0.14.31", "native-tls", "tokio", "tokio-native-tls", @@ -9580,20 +9539,19 @@ dependencies = [ [[package]] name = "hyper-util" -version = "0.1.6" +version = "0.1.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ab92f4f49ee4fb4f997c784b7a2e0fa70050211e0b6a287f898c3c9785ca956" +checksum = "df2dcfbe0677734ab2f3ffa7fa7bfd4706bfdc1ef393f2ee30184aed67e631b4" dependencies = [ "bytes", "futures-channel", "futures-util", "http 1.1.0", - "http-body 1.0.0", - "hyper 1.4.1", + "http-body 1.0.1", + "hyper 1.5.0", "pin-project-lite", - "socket2 0.5.5", + "socket2", "tokio", - "tower", "tower-service", "tracing", ] @@ -9606,16 +9564,16 @@ checksum = "0fafdf7b2b2de7c9784f76e02c0935e65a8117ec3b768644379983ab333ac98c" dependencies = [ "futures-util", "hex", - "hyper 0.14.28", - "pin-project 1.1.3", + "hyper 0.14.31", + "pin-project 1.1.7", "tokio", ] [[package]] name = "iana-time-zone" -version = "0.1.59" +version = "0.1.61" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6a67363e2aa4443928ce15e57ebae94fd8949958fd1223c4cfc0cd473ad7539" +checksum = "235e081f3925a06703c2d0117ea8b91f042756fd6e7a6e5d901e8ca1a996b220" dependencies = [ "android_system_properties", "core-foundation-sys", @@ -9640,17 +9598,6 @@ version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39" -[[package]] -name = "idna" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "418a0a6fab821475f634efe3ccc45c013f742efe03d853e8d3355d5cb850ecf8" -dependencies = [ - "matches", - "unicode-bidi", - "unicode-normalization", -] - [[package]] name = "idna" version = "0.3.0" @@ -9673,15 +9620,15 @@ dependencies = [ [[package]] name = "ignore" -version = "0.4.22" +version = "0.4.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b46810df39e66e925525d6e38ce1e7f6e1d208f72dc39757880fcb66e2c58af1" +checksum = "6d89fd380afde86567dfba715db065673989d6253f42b88179abd3eae47bda4b" dependencies = [ "crossbeam-deque", "globset", "log", "memchr", - "regex-automata 0.4.6", + "regex-automata 0.4.8", "same-file", "walkdir", "winapi-util", @@ -9703,9 +9650,9 @@ dependencies = [ [[package]] name = "image" -version = "0.24.7" +version = "0.24.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f3dfdbdd72063086ff443e297b61695500514b1e41095b6fb9a5ab48a70a711" +checksum = "5690139d2f55868e080017335e4b94cb7414274c74f1669c84fb5feba2c9f69d" dependencies = [ "bytemuck", "byteorder", @@ -9713,7 +9660,6 @@ dependencies = [ "exr", "gif", "jpeg-decoder", - "num-rational 0.4.1", "num-traits", "png", "qoi", @@ -9735,7 +9681,7 @@ version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ba6a270039626615617f3f36d15fc827041df3b78c439da2cadfa47455a77f2f" dependencies = [ - "parity-scale-codec 3.6.9", + "parity-scale-codec 3.6.12", ] [[package]] @@ -9836,9 +9782,9 @@ dependencies = [ [[package]] name = "indicatif" -version = "0.17.7" +version = "0.17.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb28741c9db9a713d93deb3bb9515c20788cef5815265bee4980e87bde7e0f25" +checksum = "763a5a8f45087d6bcea4222e7b72c291a054edf80e4ef6efd2a4979878c7bea3" dependencies = [ "console", "instant", @@ -9855,16 +9801,16 @@ checksum = "bfa799dd5ed20a7e349f3b4639aa80d74549c81716d9ec4f994c9b5815598306" [[package]] name = "inferno" -version = "0.11.19" +version = "0.11.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "321f0f839cd44a4686e9504b0a62b4d69a50b62072144c71c68f5873c167b8d9" +checksum = "232929e1d75fe899576a3d5c7416ad0d88dbfbb3c3d6aa00873a7408a50ddb88" dependencies = [ "ahash 0.8.11", - "clap 4.4.14", + "clap 4.5.20", "crossbeam-channel", "crossbeam-utils", - "dashmap", - "env_logger", + "dashmap 6.1.0", + "env_logger 0.11.5", "indexmap 2.6.0", "is-terminal", "itoa", @@ -9887,9 +9833,9 @@ dependencies = [ [[package]] name = "instant" -version = "0.1.12" +version = "0.1.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c" +checksum = "e0242819d153cba4b4b05a5a8f2a7e9bbf97b6055b2a002b395c96b5ff3c0222" dependencies = [ "cfg-if", "js-sys", @@ -9923,10 +9869,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6ab388864246d58a276e60e7569a833d9cc4cd75c66e5ca77c177dad38e59996" dependencies = [ "ahash 0.7.8", - "dashmap", + "dashmap 5.5.3", "hashbrown 0.12.3", "once_cell", - "parking_lot 0.12.1", + "parking_lot 0.12.3", ] [[package]] @@ -9951,9 +9897,9 @@ dependencies = [ [[package]] name = "ipnet" -version = "2.9.0" +version = "2.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f518f335dce6725a761382244631d86cf0ccb2863413590b31338feb467f9c3" +checksum = "ddc24109865250148c2e0f3d25d4f0f479571723792d3802153c60922a4fb708" [[package]] name = "iprange" @@ -9966,12 +9912,12 @@ dependencies = [ [[package]] name = "is-terminal" -version = "0.4.10" +version = "0.4.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0bad00257d07be169d870ab665980b06cdb366d792ad690bf2e76876dc503455" +checksum = "261f68e344040fbd0edea105bef17c66edf46f984ddb1115b775ce31be948f4b" dependencies = [ - "hermit-abi 0.3.9", - "rustix 0.38.28", + "hermit-abi 0.4.0", + "libc", "windows-sys 0.52.0", ] @@ -9981,6 +9927,12 @@ version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "06d198e9919d9822d5f7083ba8530e04de87841eaf21ead9af8f2304efd57c89" +[[package]] +name = "is_terminal_polyfill" +version = "1.70.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7943c866cc5cd64cbc25b2e01621d07fa8eb2a1a23160ee81ce38704e97b8ecf" + [[package]] name = "isahc" version = "1.7.2" @@ -9995,7 +9947,7 @@ dependencies = [ "encoding_rs", "event-listener 2.5.3", "futures-lite 1.13.0", - "http 0.2.11", + "http 0.2.12", "log", "mime", "once_cell", @@ -10046,9 +9998,9 @@ dependencies = [ [[package]] name = "itoa" -version = "1.0.10" +version = "1.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1a46d1a171d865aa5f83f92695765caa047a9b4cbae2cbf37dbd613a793fd4c" +checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b" [[package]] name = "jemalloc-sys" @@ -10072,18 +10024,18 @@ dependencies = [ [[package]] name = "jobserver" -version = "0.1.27" +version = "0.1.32" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c37f63953c4c63420ed5fd3d6d398c719489b9f872b9fa683262f8edd363c7d" +checksum = "48d1dbcbbeb6a7fec7e059840aa538bd62aaccf972c7346c4d9d2059312853d0" dependencies = [ "libc", ] [[package]] name = "jpeg-decoder" -version = "0.3.0" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc0000e42512c92e31c2252315bda326620a4e034105e900c98ec492fa077b3e" +checksum = "f5d4a7da358eff58addd2877a45865158f0d78c911d43a5784ceb7bbf52833b0" dependencies = [ "rayon", ] @@ -10139,7 +10091,7 @@ version = "8.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6971da4d9c3aa03c3d8f3ff0f4155b534aad021292003895a469716b2a230378" dependencies = [ - "base64 0.21.6", + "base64 0.21.7", "pem 1.1.1", "ring 0.16.20", "serde", @@ -10153,10 +10105,10 @@ version = "9.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b9ae10193d25051e74945f1ea2d0b42e03cc3b890f7e4cc5faa44997d808193f" dependencies = [ - "base64 0.21.6", + "base64 0.21.7", "js-sys", "pem 3.0.4", - "ring 0.17.7", + "ring 0.17.8", "serde", "serde_json", "simple_asn1 0.6.2", @@ -10203,9 +10155,9 @@ dependencies = [ [[package]] name = "keccak" -version = "0.1.4" +version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f6d5ed8676d904364de097082f4e7d240b571b67989ced0240f08b7f966f940" +checksum = "ecc2af9a1119c51f12a14607e783cb977bde58bc069ff0c3da1095e635d70654" dependencies = [ "cpufeatures", ] @@ -10234,16 +10186,16 @@ dependencies = [ "dirs-next", "either", "futures", - "http 0.2.11", + "http 0.2.12", "http-body 0.4.6", - "hyper 0.14.28", + "hyper 0.14.31", "hyper-rustls 0.23.2", "hyper-timeout 0.4.1", "jsonpath_lib", "k8s-openapi", "kube-core", "pem 1.1.1", - "pin-project 1.1.3", + "pin-project 1.1.7", "rustls 0.20.9", "rustls-pemfile 0.2.1", "serde", @@ -10252,7 +10204,7 @@ dependencies = [ "thiserror", "tokio", "tokio-util 0.6.10", - "tower", + "tower 0.4.13", "tower-http", "tracing", ] @@ -10265,7 +10217,7 @@ checksum = "c52b6ab05d160691083430f6f431707a4e05b64903f2ffa0095ee5efde759117" dependencies = [ "chrono", "form_urlencoded", - "http 0.2.11", + "http 0.2.12", "json-patch", "k8s-openapi", "once_cell", @@ -10298,33 +10250,33 @@ dependencies = [ [[package]] name = "lalrpop" -version = "0.19.12" +version = "0.20.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a1cbf952127589f2851ab2046af368fd20645491bb4b376f04b7f94d7a9837b" +checksum = "55cb077ad656299f160924eb2912aa147d7339ea7d69e1b5517326fdcec3c1ca" dependencies = [ "ascii-canvas", "bit-set", - "diff", "ena", - "is-terminal", - "itertools 0.10.5", + "itertools 0.11.0", "lalrpop-util", "petgraph 0.6.5", + "pico-args", "regex", - "regex-syntax 0.6.29", + "regex-syntax 0.8.5", "string_cache", "term", "tiny-keccak", "unicode-xid", + "walkdir", ] [[package]] name = "lalrpop-util" -version = "0.19.12" +version = "0.20.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3c48237b9604c5a4702de6b824e02006c3214327564636aef27c1028a8fa0ed" +checksum = "507460a910eb7b32ee961886ff48539633b788a36b65692b95f225b844c82553" dependencies = [ - "regex", + "regex-automata 0.4.8", ] [[package]] @@ -10351,11 +10303,11 @@ dependencies = [ [[package]] name = "lazy_static" -version = "1.4.0" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" +checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" dependencies = [ - "spin 0.5.2", + "spin 0.9.8", ] [[package]] @@ -10415,9 +10367,9 @@ checksum = "db13adb97ab515a3691f56e4dbab09283d0b86cb45abd991d8634a9d6f501760" [[package]] name = "libc" -version = "0.2.155" +version = "0.2.161" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97b3888a4aecf77e811145cadf6eef5901f4782c53886191b2f693f24761847c" +checksum = "8e9489c2807c139ffd9c1794f4af0ebe86a828db53ecdc7fea2111d0fed085d1" [[package]] name = "libfuzzer-sys" @@ -10446,25 +10398,25 @@ dependencies = [ [[package]] name = "libloading" -version = "0.8.1" +version = "0.8.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c571b676ddfc9a8c12f1f3d3085a7b163966a8fd8098a90640953ce5f6170161" +checksum = "4979f22fdb869068da03c9f7528f8297c6fd2606bc3a4affe42e6a823fdb8da4" dependencies = [ "cfg-if", - "windows-sys 0.48.0", + "windows-targets 0.52.6", ] [[package]] name = "libm" -version = "0.2.8" +version = "0.2.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ec2a862134d2a7d32d7983ddcdd1c4923530833c9f2ea1a44fc5fa473989058" +checksum = "8355be11b20d696c8f18f6cc018c4e372165b1fa8126cef092399c9951984ffa" [[package]] name = "libnghttp2-sys" -version = "0.1.9+1.58.0" +version = "0.1.10+1.61.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b57e858af2798e167e709b9d969325b6d8e9d50232fcbc494d7d54f976854a64" +checksum = "959c25552127d2e1fa72f0e52548ec04fc386e827ba71a7bd01db46a447dc135" dependencies = [ "cc", "libc", @@ -10472,13 +10424,13 @@ dependencies = [ [[package]] name = "libredox" -version = "0.0.1" +version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85c833ca1e66078851dba29046874e38f08b2c883700aa29a03ddd3b23814ee8" +checksum = "c0ff37bd590ca25063e35af745c343cb7a0271906fb7b37e4813e8f79f00268d" dependencies = [ "bitflags 2.6.0", "libc", - "redox_syscall 0.4.1", + "redox_syscall 0.5.7", ] [[package]] @@ -10572,9 +10524,9 @@ dependencies = [ [[package]] name = "libz-sys" -version = "1.1.13" +version = "1.1.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f526fdd09d99e19742883e43de41e1aa9e36db0c7ab7f935165d611c5cccc66" +checksum = "d2d16453e800a8cf6dd2fc3eb4bc99b786a9b90c663b8559a5b1a041bf89e472" dependencies = [ "cc", "libc", @@ -10596,21 +10548,15 @@ checksum = "f051f77a7c8e6957c0696eac88f26b0117e54f52d3fc682ab19397a8812846a4" [[package]] name = "linux-raw-sys" -version = "0.3.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519" - -[[package]] -name = "linux-raw-sys" -version = "0.4.12" +version = "0.4.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4cd1a83af159aa67994778be9070f0ae1bd732942279cabb14f86f986a21456" +checksum = "78b3ae25bc7c8c38cec158d1f2757ee79e9b3740fbc7ccf0e59e4b08d793fa89" [[package]] name = "lock_api" -version = "0.4.11" +version = "0.4.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c168f8615b12bc01f9c17e2eb0cc07dcae1940121185446edc3744920e8ef45" +checksum = "07af8b9cdd281b7915f413fa73f29ebd5d55d0d3f0155584dade1ff18cea1b17" dependencies = [ "autocfg", "scopeguard", @@ -10618,12 +10564,11 @@ dependencies = [ [[package]] name = "lodepng" -version = "3.9.2" +version = "3.10.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b00f56ff9bcd5721ab172b73eac8a7d4e9439f47a98581e666178dbe7df97e13" +checksum = "7b2dea7cda68e381418c985fd8f32a9c279a21ae8c715f2376adb20c27a0fad3" dependencies = [ "crc32fast", - "fallible_collections", "flate2", "libc", "rgb", @@ -10631,9 +10576,9 @@ dependencies = [ [[package]] name = "log" -version = "0.4.20" +version = "0.4.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f" +checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24" dependencies = [ "serde", "value-bag", @@ -10659,19 +10604,18 @@ dependencies = [ [[package]] name = "lz4" -version = "1.25.0" +version = "1.28.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d6eab492fe7f8651add23237ea56dbf11b3c4ff762ab83d40a47f11433421f91" +checksum = "4d1febb2b4a79ddd1980eede06a8f7902197960aa0383ffcfdd62fe723036725" dependencies = [ - "libc", "lz4-sys", ] [[package]] name = "lz4-sys" -version = "1.9.5" +version = "1.11.1+lz4-1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e9764018d143cc854c9f17f0b907de70f14393b1f502da6375dce70f00514eb3" +checksum = "6bd8c0d6c6ed0cd30b3652886bb8711dc4bb01d637a68105a3d5158039b418e6" dependencies = [ "cc", "libc", @@ -10707,12 +10651,6 @@ dependencies = [ "regex-automata 0.1.10", ] -[[package]] -name = "matches" -version = "0.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2532096657941c2fea9c289d370a250971c689d4f143798ff67113ec042024a5" - [[package]] name = "matchit" version = "0.7.3" @@ -10721,9 +10659,9 @@ checksum = "0e7465ac9959cc2b1404e8e2367b43684a6d13790fe23056cc8c6c5a6b7bcb94" [[package]] name = "matrixmultiply" -version = "0.3.8" +version = "0.3.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7574c1cf36da4798ab73da5b215bbf444f50718207754cb522201d78d1cd0ff2" +checksum = "9380b911e3e96d10c1f415da0876389aaf1b56759054eeb0de7df940c456ba1a" dependencies = [ "autocfg", "rawpointer", @@ -10756,12 +10694,12 @@ dependencies = [ [[package]] name = "memory-stats" -version = "1.1.0" +version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34f79cf9964c5c9545493acda1263f1912f8d2c56c8a2ffee2606cb960acaacc" +checksum = "c73f5c649995a115e1a0220b35e4df0a1294500477f97a91d0660fb5abeb574a" dependencies = [ "libc", - "winapi 0.3.9", + "windows-sys 0.52.0", ] [[package]] @@ -10804,9 +10742,9 @@ checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a" [[package]] name = "mime_guess" -version = "2.0.4" +version = "2.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4192263c238a5f0d0c6bfd21f336a313a4ce1c450542449ca191bb657b4642ef" +checksum = "f7c44f8e672c00fe5308fa235f821cb4198414e1c77935c1ab6948d3fd78550e" dependencies = [ "mime", "unicase", @@ -10820,7 +10758,7 @@ checksum = "c325dfab65f261f386debee8b0969da215b3fa0037e74c8a1234db7ba986d803" dependencies = [ "crossbeam-channel", "crossbeam-utils", - "dashmap", + "dashmap 5.5.3", "skeptic", "smallvec", "tagptr", @@ -10835,11 +10773,11 @@ checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" [[package]] name = "miniz_oxide" -version = "0.7.1" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7810e0be55b428ada41041c41f32c9f1a42817901b4ccf45fa3d4b6561e74c7" +checksum = "e2d80299ef12ff69b16a84bb182e3b9df68b5a91574d3d4fa6e41b65deec4df1" dependencies = [ - "adler", + "adler2", "simd-adler32", ] @@ -10924,7 +10862,7 @@ dependencies = [ "cfg-if", "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.86", ] [[package]] @@ -10947,7 +10885,7 @@ dependencies = [ "anyhow", "aptos-framework", "bcs 0.1.4", - "clap 4.4.14", + "clap 4.5.20", "move-binary-format", ] @@ -11068,7 +11006,7 @@ name = "move-bytecode-viewer" version = "0.1.0" dependencies = [ "anyhow", - "clap 4.4.14", + "clap 4.5.20", "crossterm 0.26.1", "move-binary-format", "move-bytecode-source-map", @@ -11082,7 +11020,7 @@ name = "move-cli" version = "0.1.0" dependencies = [ "anyhow", - "clap 4.4.14", + "clap 4.5.20", "codespan-reporting", "colored", "datatest-stable", @@ -11130,7 +11068,7 @@ version = "0.0.1" dependencies = [ "anyhow", "bcs 0.1.4", - "clap 4.4.14", + "clap 4.5.20", "codespan-reporting", "datatest-stable", "hex", @@ -11166,7 +11104,7 @@ dependencies = [ "abstract-domain-derive", "anyhow", "bcs 0.1.4", - "clap 4.4.14", + "clap 4.5.20", "codespan-reporting", "datatest-stable", "ethnum", @@ -11188,7 +11126,7 @@ dependencies = [ "move-stackless-bytecode", "move-stdlib", "move-symbol-pool", - "num 0.4.1", + "num 0.4.3", "once_cell", "petgraph 0.6.5", "strum 0.24.1", @@ -11219,9 +11157,9 @@ dependencies = [ "bcs 0.1.4", "bytes", "ethnum", - "hashbrown 0.14.3", + "hashbrown 0.14.5", "hex", - "num 0.4.1", + "num 0.4.3", "once_cell", "primitive-types 0.10.1", "proptest", @@ -11242,7 +11180,7 @@ version = "0.1.0" dependencies = [ "anyhow", "bcs 0.1.4", - "clap 4.4.14", + "clap 4.5.20", "codespan", "colored", "move-binary-format", @@ -11260,7 +11198,7 @@ version = "0.1.0" dependencies = [ "anyhow", "bcs 0.1.4", - "clap 4.4.14", + "clap 4.5.20", "codespan", "codespan-reporting", "datatest-stable", @@ -11279,7 +11217,7 @@ name = "move-disassembler" version = "0.1.0" dependencies = [ "anyhow", - "clap 4.4.14", + "clap 4.5.20", "colored", "move-binary-format", "move-bytecode-source-map", @@ -11295,7 +11233,7 @@ name = "move-docgen" version = "0.1.0" dependencies = [ "anyhow", - "clap 4.4.14", + "clap 4.5.20", "codespan", "codespan-reporting", "datatest-stable", @@ -11348,7 +11286,7 @@ name = "move-explain" version = "0.1.0" dependencies = [ "bcs 0.1.4", - "clap 4.4.14", + "clap 4.5.20", "move-command-line-common", "move-core-types", ] @@ -11359,7 +11297,7 @@ version = "0.1.0" dependencies = [ "anyhow", "bcs 0.1.4", - "clap 4.4.14", + "clap 4.5.20", "move-binary-format", "move-bytecode-source-map", "move-bytecode-verifier", @@ -11437,7 +11375,7 @@ dependencies = [ "move-ir-types", "move-prover-test-utils", "move-symbol-pool", - "num 0.4.1", + "num 0.4.3", "num-traits", "once_cell", "regex", @@ -11449,7 +11387,7 @@ name = "move-package" version = "0.1.0" dependencies = [ "anyhow", - "clap 4.4.14", + "clap 4.5.20", "colored", "datatest-stable", "evm-exec-utils", @@ -11488,7 +11426,7 @@ version = "0.1.0" dependencies = [ "anyhow", "atty", - "clap 4.4.14", + "clap 4.5.20", "codespan-reporting", "datatest-stable", "itertools 0.13.0", @@ -11531,7 +11469,7 @@ dependencies = [ "move-model", "move-prover-bytecode-pipeline", "move-stackless-bytecode", - "num 0.4.1", + "num 0.4.3", "once_cell", "pretty", "rand 0.7.3", @@ -11600,7 +11538,7 @@ dependencies = [ "move-core-types", "move-model", "move-stackless-bytecode-test-utils", - "num 0.4.1", + "num 0.4.3", "paste", "petgraph 0.6.5", "topological-sort", @@ -11683,7 +11621,7 @@ version = "0.1.0" dependencies = [ "anyhow", "atty", - "clap 4.4.14", + "clap 4.5.20", "codespan", "codespan-reporting", "datatest-stable", @@ -11714,7 +11652,7 @@ name = "move-transactional-test-runner" version = "0.1.0" dependencies = [ "anyhow", - "clap 4.4.14", + "clap 4.5.20", "datatest-stable", "difference", "move-binary-format", @@ -11746,7 +11684,7 @@ version = "0.1.0" dependencies = [ "anyhow", "better_any", - "clap 4.4.14", + "clap 4.5.20", "codespan-reporting", "colored", "datatest-stable", @@ -11820,7 +11758,7 @@ dependencies = [ "bytes", "claims", "fail", - "hashbrown 0.14.3", + "hashbrown 0.14.5", "hex", "lazy_static", "lru 0.7.8", @@ -11833,7 +11771,7 @@ dependencies = [ "move-vm-test-utils", "move-vm-types", "once_cell", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "proptest", "serde", "sha3 0.9.1", @@ -11873,9 +11811,9 @@ dependencies = [ "bytes", "claims", "crossbeam", - "dashmap", + "dashmap 5.5.3", "derivative", - "hashbrown 0.14.3", + "hashbrown 0.14.5", "itertools 0.13.0", "move-binary-format", "move-core-types", @@ -11897,7 +11835,7 @@ dependencies = [ "bytes", "encoding_rs", "futures-util", - "http 0.2.11", + "http 0.2.12", "httparse", "log", "memchr", @@ -11926,15 +11864,15 @@ dependencies = [ [[package]] name = "nalgebra" -version = "0.32.3" +version = "0.32.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "307ed9b18cc2423f29e83f84fd23a8e73628727990181f18641a8b5dc2ab1caa" +checksum = "7b5c17de023a86f59ed79891b2e5d5a94c705dbe904a5b5c9c952ea6221b03e4" dependencies = [ "approx", "matrixmultiply", "nalgebra-macros", - "num-complex 0.4.4", - "num-rational 0.4.1", + "num-complex 0.4.6", + "num-rational 0.4.2", "num-traits", "simba", "typenum", @@ -11942,13 +11880,13 @@ dependencies = [ [[package]] name = "nalgebra-macros" -version = "0.2.1" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91761aed67d03ad966ef783ae962ef9bbaca728d2dd7ceb7939ec110fffad998" +checksum = "254a5372af8fc138e36684761d3c0cdb758a4410e938babcff1c860ce14ddbfc" dependencies = [ "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.86", ] [[package]] @@ -11959,7 +11897,7 @@ checksum = "40a3eb6b7c682b65d1f631ec3176829d72ab450b3aacdd3f719bf220822e59ac" dependencies = [ "libc", "once_cell", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "thiserror", "widestring", "winapi 0.3.9", @@ -11967,11 +11905,10 @@ dependencies = [ [[package]] name = "native-tls" -version = "0.2.11" +version = "0.2.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07226173c32f2926027b63cce4bcd8076c3552846cbe7925f3aaffeac0a3b92e" +checksum = "a8614eb2c83d59d1c8cc974dd3f920198647674a0a035e1af1fa58707e317466" dependencies = [ - "lazy_static", "libc", "log", "openssl", @@ -12010,9 +11947,9 @@ checksum = "ca2b420f638f07fe83056b55ea190bb815f609ec5a35e7017884a10f78839c9e" [[package]] name = "new_debug_unreachable" -version = "1.0.4" +version = "1.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e4a24736216ec316047a1fc4252e27dabb04218aa4a3f37c6e7ddbf1f9782b54" +checksum = "650eef8c711430f1a879fdd01d4745a7deea475becfb90269c06775983bbf086" [[package]] name = "newtype-uuid" @@ -12036,24 +11973,25 @@ dependencies = [ [[package]] name = "nix" -version = "0.27.1" +version = "0.28.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2eb04e9c688eff1c89d72b407f168cf79bb9e867a9d3323ed6c01519eb9cc053" +checksum = "ab2156c4fce2f8df6c499cc1c763e4394b7482525bf2a9701c9d79d215f519e4" dependencies = [ "bitflags 2.6.0", "cfg-if", + "cfg_aliases 0.1.1", "libc", ] [[package]] name = "nix" -version = "0.28.0" +version = "0.29.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab2156c4fce2f8df6c499cc1c763e4394b7482525bf2a9701c9d79d215f519e4" +checksum = "71e2746dc3a24dd78b3cfcb7be93368c6de9963d30f43a6a73998a9cf4b17b46" dependencies = [ "bitflags 2.6.0", "cfg-if", - "cfg_aliases", + "cfg_aliases 0.2.1", "libc", ] @@ -12121,7 +12059,7 @@ version = "0.9.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fcc7c92f190c97f79b4a332f5e81dcf68c8420af2045c936c9be0bc9de6f63b5" dependencies = [ - "proc-macro-crate 3.1.0", + "proc-macro-crate 3.2.0", "proc-macro2", "quote", "syn 1.0.109", @@ -12162,15 +12100,15 @@ dependencies = [ [[package]] name = "num" -version = "0.4.1" +version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b05180d69e3da0e530ba2a1dae5110317e49e3b7f3d41be227dc5f92e49ee7af" +checksum = "35bd024e8b2ff75562e5f34e7f4905839deb4b22955ef5e73d2fea1b9813cb23" dependencies = [ - "num-bigint 0.4.4", - "num-complex 0.4.4", + "num-bigint 0.4.6", + "num-complex 0.4.6", "num-integer", "num-iter", - "num-rational 0.4.1", + "num-rational 0.4.2", "num-traits", ] @@ -12199,11 +12137,10 @@ dependencies = [ [[package]] name = "num-bigint" -version = "0.4.4" +version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "608e7659b5c3d7cba262d894801b9ec9d00de989e8a82bd4bef91d08da45cdc0" +checksum = "a5e44f723f1133c9deac646763579fdb3ac745e418f2a7af9cd0c431da1f20b9" dependencies = [ - "autocfg", "num-integer", "num-traits", ] @@ -12236,13 +12173,19 @@ dependencies = [ [[package]] name = "num-complex" -version = "0.4.4" +version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ba157ca0885411de85d6ca030ba7e2a83a28636056c7c699b07c8b6f7383214" +checksum = "73f88a1307638156682bada9d7604135552957b7818057dcef22705b4d509495" dependencies = [ "num-traits", ] +[[package]] +name = "num-conv" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9" + [[package]] name = "num-derive" version = "0.3.3" @@ -12260,25 +12203,24 @@ version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a652d9771a63711fd3c3deb670acfbe5c30a4072e664d7a3bf5a9e1056ac72c3" dependencies = [ - "arrayvec 0.7.4", + "arrayvec 0.7.6", "itoa", ] [[package]] name = "num-integer" -version = "0.1.45" +version = "0.1.46" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "225d3389fb3509a24c93f5c29eb6bde2586b98d9f016636dff58d7c6f7569cd9" +checksum = "7969661fd2958a5cb096e56c8e1ad0444ac2bbcd0061bd28660485a44879858f" dependencies = [ - "autocfg", "num-traits", ] [[package]] name = "num-iter" -version = "0.1.43" +version = "0.1.45" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d03e6c028c5dc5cac6e2dec0efda81fc887605bb3d884578bb6d6bf7514e252" +checksum = "1429034a0490724d0075ebb2bc9e875d6503c3cf69e235a8941aa757d83ef5bf" dependencies = [ "autocfg", "num-integer", @@ -12291,7 +12233,7 @@ version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "17bb261bf36fa7d83f4c294f834e91256769097b3cb505d44831e0a179ac647f" dependencies = [ - "num-bigint 0.4.4", + "num-bigint 0.4.6", "num-integer", "num-traits", ] @@ -12310,21 +12252,20 @@ dependencies = [ [[package]] name = "num-rational" -version = "0.4.1" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0638a1c9d0a3c0914158145bc76cff373a75a627e6ecbfb71cbe6f453a5a19b0" +checksum = "f83d14da390562dca69fc84082e73e548e1ad308d24accdedd2720017cb37824" dependencies = [ - "autocfg", - "num-bigint 0.4.4", + "num-bigint 0.4.6", "num-integer", "num-traits", ] [[package]] name = "num-traits" -version = "0.2.17" +version = "0.2.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "39e3200413f237f41ab11ad6d161bc7239c84dcb631773ccd7de3dfe4b5c267c" +checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" dependencies = [ "autocfg", "libm", @@ -12342,9 +12283,9 @@ dependencies = [ [[package]] name = "num_threads" -version = "0.1.6" +version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2819ce041d2ee131036f4fc9d6ae7ae125a3a40e97ba64d04fe799ad9dabbb44" +checksum = "5c7398b9c8b70908f6371f47ed36737907c87c52af34c268fed0bf0ceb92ead9" dependencies = [ "libc", ] @@ -12363,24 +12304,24 @@ checksum = "830b246a0e5f20af87141b25c173cd1b609bd7779a4617d6ec582abaf90870f3" [[package]] name = "object" -version = "0.32.2" +version = "0.36.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a6a622008b6e321afc04970976f62ee297fdbaa6f95318ca343e3eebb9648441" +checksum = "aedf0a2d09c573ed1d8d85b30c119153926a2b36dce0ab28322c09a117a4683e" dependencies = [ "memchr", ] [[package]] name = "once_cell" -version = "1.19.0" +version = "1.20.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" +checksum = "1261fe7e33c73b354eab43b1273a57c8f967d0391e80353e51f764ac02cf6775" [[package]] name = "oorandom" -version = "11.1.3" +version = "11.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ab1bc2a289d34bd04a330323ac98a1b4bc82c9d9fcb1e66b63caa84da26b575" +checksum = "b410bbe7e14ab526a0e86877eb47c6996a2bd7746f027ba551028c925390e4e9" [[package]] name = "opaque-debug" @@ -12390,15 +12331,15 @@ checksum = "2839e79665f131bdb5782e51f2c6c9599c133c6098982a54c794358bf432529c" [[package]] name = "opaque-debug" -version = "0.3.0" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "624a8340c38c1b80fd549087862da4ba43e08858af025b236e509b6649fc13d5" +checksum = "c08d65885ee38876c4f86fa503fb49d7b507c2b62552df7c70b2fce627e06381" [[package]] name = "openssl" -version = "0.10.62" +version = "0.10.68" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8cde4d2d9200ad5909f8dac647e29482e07c3a35de8a13fce7c9c7747ad9f671" +checksum = "6174bc48f102d208783c2c84bf931bb75927a617866870de8a4ea85597f871f5" dependencies = [ "bitflags 2.6.0", "cfg-if", @@ -12417,7 +12358,7 @@ checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.86", ] [[package]] @@ -12428,9 +12369,9 @@ checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" [[package]] name = "openssl-sys" -version = "0.9.98" +version = "0.9.104" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c1665caf8ab2dc9aef43d1c0023bd904633a6a05cb30b0ad59bec2ae986e57a7" +checksum = "45abf306cbf99debc8195b66b7346498d7b10c210de50418b5ccd7ceba08c741" dependencies = [ "cc", "libc", @@ -12539,7 +12480,7 @@ version = "2.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "373b1a4c1338d9cd3d1fa53b3a11bdab5ab6bd80a20f7f7becd76953ae2be909" dependencies = [ - "arrayvec 0.7.4", + "arrayvec 0.7.6", "bitvec 0.20.4", "byte-slice-cast", "impl-trait-for-tuples", @@ -12549,15 +12490,15 @@ dependencies = [ [[package]] name = "parity-scale-codec" -version = "3.6.9" +version = "3.6.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "881331e34fa842a2fb61cc2db9643a8fedc615e47cfcc52597d1af0db9a7e8fe" +checksum = "306800abfa29c7f16596b5970a588435e3d5b3149683d00c12b699cc19f895ee" dependencies = [ - "arrayvec 0.7.4", + "arrayvec 0.7.6", "bitvec 1.0.1", "byte-slice-cast", "impl-trait-for-tuples", - "parity-scale-codec-derive 3.6.9", + "parity-scale-codec-derive 3.6.12", "serde", ] @@ -12575,11 +12516,11 @@ dependencies = [ [[package]] name = "parity-scale-codec-derive" -version = "3.6.9" +version = "3.6.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be30eaf4b0a9fba5336683b38de57bb86d179a35862ba6bfcf57625d006bde5b" +checksum = "d830939c76d294956402033aee57a6da7b438f2294eb94864c37b0569053a42c" dependencies = [ - "proc-macro-crate 2.0.0", + "proc-macro-crate 3.2.0", "proc-macro2", "quote", "syn 1.0.109", @@ -12587,9 +12528,9 @@ dependencies = [ [[package]] name = "parking" -version = "2.2.0" +version = "2.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb813b8af86854136c6922af0598d719255ecb2179515e6e7730d468f05c9cae" +checksum = "f38d5652c16fde515bb1ecef450ab0f6a219d619a7274976324d5e377f7dceba" [[package]] name = "parking_lot" @@ -12604,12 +12545,12 @@ dependencies = [ [[package]] name = "parking_lot" -version = "0.12.1" +version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f" +checksum = "f1bf18183cf54e8d6059647fc3063646a1801cf30896933ec2311622cc4b9a27" dependencies = [ "lock_api", - "parking_lot_core 0.9.9", + "parking_lot_core 0.9.10", ] [[package]] @@ -12628,32 +12569,32 @@ dependencies = [ [[package]] name = "parking_lot_core" -version = "0.9.9" +version = "0.9.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c42a9226546d68acdd9c0a280d17ce19bfe27a46bf68784e4066115788d008e" +checksum = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8" dependencies = [ "cfg-if", "libc", - "redox_syscall 0.4.1", + "redox_syscall 0.5.7", "smallvec", - "windows-targets 0.48.5", + "windows-targets 0.52.6", ] [[package]] name = "parquet" -version = "52.1.0" +version = "52.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f22ba0d95db56dde8685e3fadcb915cdaadda31ab8abbe3ff7f0ad1ef333267" +checksum = "e977b9066b4d3b03555c22bdc442f3fadebd96a39111249113087d0edb2691cd" dependencies = [ "ahash 0.8.11", "bytes", "chrono", "futures", - "half 2.2.1", - "hashbrown 0.14.3", + "half 2.4.1", + "hashbrown 0.14.5", "lz4_flex", - "num 0.4.1", - "num-bigint 0.4.4", + "num 0.4.3", + "num-bigint 0.4.6", "paste", "seq-macro", "thrift", @@ -12663,21 +12604,21 @@ dependencies = [ [[package]] name = "parquet_derive" -version = "52.1.0" +version = "52.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cbfe02f8b63a15a78398db242f9b1d2dcc201319075ea6222c7108ffd48b23c0" +checksum = "6e57262f900bc3e93755be67e0fc4e2fcdae416b563472528e413c6e0a52ee81" dependencies = [ "parquet", "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.86", ] [[package]] name = "parse-zoneinfo" -version = "0.3.0" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c705f256449c60da65e11ff6626e0c16a0a0b96aaa348de61376b249bc340f41" +checksum = "1f2a05b18d44e2957b88f96ba460715e295bc1d7510468a2f3d3b44535d26c24" dependencies = [ "regex", ] @@ -12753,15 +12694,15 @@ dependencies = [ [[package]] name = "paste" -version = "1.0.14" +version = "1.0.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "de3145af08024dea9fa9914f381a17b8fc6034dfb00f3a84013f7ff43f29ed4c" +checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a" [[package]] name = "pathdiff" -version = "0.2.1" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8835116a5c179084a830efb3adc117ab007512b535bc1a21c991d3b32a6b44dd" +checksum = "d61c5ce1153ab5b689d0c074c4e7fc613e942dfb7dd9eea5ab202d2ad91fe361" dependencies = [ "camino", ] @@ -12851,9 +12792,9 @@ checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" [[package]] name = "pest" -version = "2.7.6" +version = "2.7.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f200d8d83c44a45b21764d1916299752ca035d15ecd46faca3e9a2a2bf6ad06" +checksum = "879952a81a83930934cbf1786752d6dedc3b1f29e8f8fb2ad1d0a36f377cf442" dependencies = [ "memchr", "thiserror", @@ -12862,9 +12803,9 @@ dependencies = [ [[package]] name = "pest_derive" -version = "2.7.6" +version = "2.7.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bcd6ab1236bbdb3a49027e920e693192ebfe8913f6d60e294de57463a493cfde" +checksum = "d214365f632b123a47fd913301e14c946c61d1c183ee245fa76eb752e59a02dd" dependencies = [ "pest", "pest_generator", @@ -12872,22 +12813,22 @@ dependencies = [ [[package]] name = "pest_generator" -version = "2.7.6" +version = "2.7.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a31940305ffc96863a735bef7c7994a00b325a7138fdbc5bda0f1a0476d3275" +checksum = "eb55586734301717aea2ac313f50b2eb8f60d2fc3dc01d190eefa2e625f60c4e" dependencies = [ "pest", "pest_meta", "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.86", ] [[package]] name = "pest_meta" -version = "2.7.6" +version = "2.7.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a7ff62f5259e53b78d1af898941cdcdccfae7385cf7d793a6e55de5d05bb4b7d" +checksum = "b75da2a70cf4d9cb76833c990ac9cd3923c9a8905a8929789ce347c84564d03d" dependencies = [ "once_cell", "pest", @@ -12961,6 +12902,12 @@ dependencies = [ "siphasher", ] +[[package]] +name = "pico-args" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5be167a7af36ee22fe3115051bc51f6e6c7054c9348e28deb4f49bd6f705a315" + [[package]] name = "pin-project" version = "0.4.30" @@ -12972,11 +12919,11 @@ dependencies = [ [[package]] name = "pin-project" -version = "1.1.3" +version = "1.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fda4ed1c6c173e3fc7a83629421152e01d7b1f9b7f65fb301e490e8cfc656422" +checksum = "be57f64e946e500c8ee36ef6331845d40a93055567ec57e8fae13efd33759b95" dependencies = [ - "pin-project-internal 1.1.3", + "pin-project-internal 1.1.7", ] [[package]] @@ -12992,20 +12939,20 @@ dependencies = [ [[package]] name = "pin-project-internal" -version = "1.1.3" +version = "1.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4359fd9c9171ec6e8c62926d6faaf553a8dc3f64e1507e76da7911b4f6a04405" +checksum = "3c0f5fad0874fc7abcd4d750e76917eaebbecaa2c20bde22e1dbeeba8beb758c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.86", ] [[package]] name = "pin-project-lite" -version = "0.2.13" +version = "0.2.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8afb450f006bf6385ca15ef45d71d2288452bc3683ce2e2cacc0d18e4be60b58" +checksum = "915a1e146535de9163f3987b8944ed8cf49a18bb0056bcebcdcece385cece4ff" [[package]] name = "pin-utils" @@ -13015,12 +12962,12 @@ checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" [[package]] name = "piper" -version = "0.2.1" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "668d31b1c4eba19242f2088b2bf3316b82ca31082a8335764db4e083db7485d4" +checksum = "96c8c490f422ef9a4efd2cb5b42b76c8613d7e7dfc1caf667b8a3350a5acc066" dependencies = [ "atomic-waker", - "fastrand 2.0.1", + "fastrand 2.1.1", "futures-io", ] @@ -13041,7 +12988,7 @@ version = "0.7.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c8ffb9f10fa047879315e6625af03c164b16962a5368d724ed16323b68ace47f" dependencies = [ - "der 0.7.8", + "der 0.7.9", "pkcs8 0.10.2", "spki 0.7.3", ] @@ -13063,27 +13010,21 @@ version = "0.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f950b2377845cebe5cf8b5165cb3cc1a5e0fa5cfa3e1f7f55707d8fd82e0a7b7" dependencies = [ - "der 0.7.8", + "der 0.7.9", "spki 0.7.3", ] [[package]] name = "pkg-config" -version = "0.3.28" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "69d3587f8a9e599cc7ec2c00e331f71c4e69a5f9a4b8a6efd5b07466b9736f9a" - -[[package]] -name = "platforms" -version = "3.3.0" +version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "626dec3cac7cc0e1577a2ec3fc496277ec2baa084bebad95bb6fdbfae235f84c" +checksum = "953ec861398dccce10c670dfeaf3ec4911ca479e9c02154b3a215178c5f566f2" [[package]] name = "plotters" -version = "0.3.5" +version = "0.3.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2c224ba00d7cadd4d5c660deaf2098e5e80e07846537c51f9cfa4be50c1fd45" +checksum = "5aeb6f403d7a4911efb1e33402027fc44f29b5bf6def3effcc22d7bb75f2b747" dependencies = [ "num-traits", "plotters-backend", @@ -13094,24 +13035,24 @@ dependencies = [ [[package]] name = "plotters-backend" -version = "0.3.5" +version = "0.3.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e76628b4d3a7581389a35d5b6e2139607ad7c75b17aed325f210aa91f4a9609" +checksum = "df42e13c12958a16b3f7f4386b9ab1f3e7933914ecea48da7139435263a4172a" [[package]] name = "plotters-svg" -version = "0.3.5" +version = "0.3.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38f6d39893cca0701371e3c27294f09797214b86f1fb951b89ade8ec04e2abab" +checksum = "51bae2ac328883f7acdfea3d66a7c35751187f870bc81f94563733a154d7a670" dependencies = [ "plotters-backend", ] [[package]] name = "png" -version = "0.17.10" +version = "0.17.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd75bf2d8dd3702b9707cdbc56a5b9ef42cec752eb8b3bafc01234558442aa64" +checksum = "52f9d46a34a05a6a57566bc2bfae066ef07585a6e3fa30fbbdff5936380623f0" dependencies = [ "bitflags 1.3.2", "crc32fast", @@ -13133,23 +13074,23 @@ dependencies = [ "headers 0.4.0", "http 1.1.0", "http-body-util", - "hyper 1.4.1", + "hyper 1.5.0", "hyper-util", "mime", "multer 3.1.0", "nix 0.28.0", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "percent-encoding", "pin-project-lite", "poem-derive", "quick-xml 0.32.0", "regex", "rfc7239", - "rustls-pemfile 2.1.1", + "rustls-pemfile 2.2.0", "serde", "serde_json", "serde_urlencoded", - "serde_yaml 0.9.30", + "serde_yaml 0.9.34+deprecated", "smallvec", "sync_wrapper 1.0.1", "tempfile", @@ -13158,7 +13099,7 @@ dependencies = [ "tokio", "tokio-rustls 0.25.0", "tokio-stream", - "tokio-util 0.7.10", + "tokio-util 0.7.12", "tracing", "wildmatch", ] @@ -13168,10 +13109,10 @@ name = "poem-derive" version = "3.0.0" source = "git+https://github.com/poem-web/poem.git?rev=809b2816d3504beeba140fef3fdfe9432d654c5b#809b2816d3504beeba140fef3fdfe9432d654c5b" dependencies = [ - "proc-macro-crate 3.1.0", + "proc-macro-crate 3.2.0", "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.86", ] [[package]] @@ -13193,7 +13134,7 @@ dependencies = [ "serde", "serde_json", "serde_urlencoded", - "serde_yaml 0.9.30", + "serde_yaml 0.9.34+deprecated", "thiserror", "tokio", "url", @@ -13204,15 +13145,15 @@ name = "poem-openapi-derive" version = "5.0.2" source = "git+https://github.com/poem-web/poem.git?rev=809b2816d3504beeba140fef3fdfe9432d654c5b#809b2816d3504beeba140fef3fdfe9432d654c5b" dependencies = [ - "darling 0.20.9", + "darling 0.20.10", "http 1.1.0", "indexmap 2.6.0", "mime", - "proc-macro-crate 3.1.0", + "proc-macro-crate 3.2.0", "proc-macro2", "quote", "regex", - "syn 2.0.48", + "syn 2.0.86", "thiserror", ] @@ -13234,27 +13175,28 @@ dependencies = [ [[package]] name = "polling" -version = "3.3.1" +version = "3.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf63fa624ab313c11656b4cda960bfc46c410187ad493c41f6ba2d8c1e991c9e" +checksum = "cc2790cd301dec6cd3b7a025e4815cf825724a51c98dccfe6a3e55f05ffb6511" dependencies = [ "cfg-if", "concurrent-queue", + "hermit-abi 0.4.0", "pin-project-lite", - "rustix 0.38.28", + "rustix 0.38.38", "tracing", - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] name = "polyval" -version = "0.6.1" +version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d52cff9d1d4dee5fe6d03729099f4a310a41179e0a10dbf542039873f2e826fb" +checksum = "9d1fe60d06143b2430aa532c94cfe9e29783047f06c0d7fd359a9a51b729fa25" dependencies = [ "cfg-if", "cpufeatures", - "opaque-debug 0.3.0", + "opaque-debug 0.3.1", "universal-hash", ] @@ -13280,9 +13222,9 @@ dependencies = [ [[package]] name = "portable-atomic" -version = "1.6.0" +version = "1.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7170ef9988bc169ba16dd36a7fa041e5c4cbeb6a35b76d4c03daded371eae7c0" +checksum = "cc9c68a3f6da06753e9335d63e27f6b9754dd1920d941135b7ea8224f141adb2" [[package]] name = "poseidon-ark" @@ -13309,11 +13251,11 @@ dependencies = [ [[package]] name = "postgres-protocol" -version = "0.6.6" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49b6c5ef183cd3ab4ba005f1ca64c21e8bd97ce4699cfea9e8d9a2c4958ca520" +checksum = "acda0ebdebc28befa84bee35e651e4c5f09073d668c7aed4cf7e23c3cda84b23" dependencies = [ - "base64 0.21.6", + "base64 0.22.1", "byteorder", "bytes", "fallible-iterator", @@ -13327,9 +13269,9 @@ dependencies = [ [[package]] name = "postgres-types" -version = "0.2.6" +version = "0.2.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d2234cdee9408b523530a9b6d2d6b373d1db34f6a8e51dc03ded1828d7fb67c" +checksum = "f66ea23a2d0e5734297357705193335e0a957696f34bed2f2faefacb2fec336f" dependencies = [ "bytes", "fallible-iterator", @@ -13356,7 +13298,7 @@ dependencies = [ "log", "nix 0.26.4", "once_cell", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "protobuf", "protobuf-codegen-pure", "smallvec", @@ -13367,9 +13309,12 @@ dependencies = [ [[package]] name = "ppv-lite86" -version = "0.2.17" +version = "0.2.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" +checksum = "77957b295656769bb8ad2b6a6b09d897d94f05c41b069aede1fcdaa675eaea04" +dependencies = [ + "zerocopy", +] [[package]] name = "pq-sys" @@ -13412,15 +13357,15 @@ dependencies = [ [[package]] name = "predicates-core" -version = "1.0.6" +version = "1.0.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b794032607612e7abeb4db69adb4e33590fa6cf1149e95fd7cb00e634b92f174" +checksum = "ae8177bee8e75d6846599c6b9ff679ed51e882816914eec639944d7c9aa11931" [[package]] name = "predicates-tree" -version = "1.0.9" +version = "1.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "368ba315fb8c5052ab692e68a0eefec6ec57b23a36959c14496f0b0df2c0cecf" +checksum = "41b740d195ed3166cd147c8047ec98db0e22ec019eb8eeb76d343b795304fb13" dependencies = [ "predicates-core", "termtree", @@ -13438,12 +13383,12 @@ dependencies = [ [[package]] name = "pretty_assertions" -version = "1.4.0" +version = "1.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af7cee1a6c8a5b9208b3cb1061f10c0cb689087b3d8ce85fb9d2dd7a29b6ba66" +checksum = "3ae130e2f271fbc2ac3a40fb1d07180839cdbbe443c7a27e1e3c13c5cac0116d" dependencies = [ "diff", - "yansi 0.5.1", + "yansi", ] [[package]] @@ -13520,20 +13465,11 @@ dependencies = [ [[package]] name = "proc-macro-crate" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e8366a6159044a37876a2b9817124296703c586a5c92e2c53751fa06d8d43e8" -dependencies = [ - "toml_edit 0.20.2", -] - -[[package]] -name = "proc-macro-crate" -version = "3.1.0" +version = "3.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d37c51ca738a55da99dc0c4a34860fd675453b8b36209178c2249bb13651284" +checksum = "8ecf48c7ca261d60b74ab1a7b20da18bede46776b2e55535cb958eb595c5fa7b" dependencies = [ - "toml_edit 0.21.1", + "toml_edit 0.22.22", ] [[package]] @@ -13574,9 +13510,9 @@ checksum = "bc881b2c22681370c6a780e47af9840ef841837bc98118431d4e1868bd0c1086" [[package]] name = "proc-macro2" -version = "1.0.76" +version = "1.0.89" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95fc56cda0b5c3325f5fbbd7ff9fda9e02bb00bb3dac51252d2f1bfa1cb8cc8c" +checksum = "f139b0662de085916d1fb67d2b4169d1addddda1919e696f3252b740b629986e" dependencies = [ "unicode-ident", ] @@ -13599,7 +13535,7 @@ dependencies = [ "bitflags 2.6.0", "canonical_json", "chrono", - "clap 4.4.14", + "clap 4.5.20", "diesel", "diesel-async", "diesel_migrations", @@ -13611,20 +13547,20 @@ dependencies = [ "google-cloud-pubsub", "google-cloud-storage", "hex", - "hyper 0.14.28", + "hyper 0.14.31", "itertools 0.12.1", "jemallocator", "kanal", "lazy_static", "native-tls", - "num 0.4.1", + "num 0.4.3", "num_cpus", "once_cell", "parquet", "parquet_derive", "postgres-native-tls", "prometheus", - "prost 0.12.3", + "prost 0.12.6", "rayon", "regex", "serde", @@ -13665,15 +13601,15 @@ checksum = "8bccbff07d5ed689c4087d20d7307a52ab6141edeedf487c3876a55b86cf63df" [[package]] name = "prometheus" -version = "0.13.3" +version = "0.13.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "449811d15fbdf5ceb5c1144416066429cf82316e2ec8ce0c1f6f8a02e7bbcf8c" +checksum = "3d33c28a30771f7f96db69893f78b857f7450d7e0237e9c8fc6427a81bae7ed1" dependencies = [ "cfg-if", "fnv", "lazy_static", "memchr", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "protobuf", "thiserror", ] @@ -13686,7 +13622,7 @@ checksum = "504ee9ff529add891127c4827eb481bd69dc0ebc72e9a682e187db4caa60c3ca" dependencies = [ "dtoa", "itoa", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "prometheus-client-derive-encode", ] @@ -13698,7 +13634,7 @@ checksum = "440f724eba9f6996b75d63681b0a92b06947f1457076d503a4d2e2c8f56442b8" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.86", ] [[package]] @@ -13707,7 +13643,7 @@ version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7ae2f6a3f14ff35c16b51ac796d1dc73c15ad6472c48836c6c467f6d52266648" dependencies = [ - "reqwest 0.11.23", + "reqwest 0.11.27", "serde", "serde_json", "time", @@ -13728,9 +13664,9 @@ dependencies = [ [[package]] name = "proptest" -version = "1.4.0" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "31b476131c3c86cb68032fdc5cb6d5a1045e3e42d96b69fa599fd77701e1f5bf" +checksum = "b4c2511913b88df1637da85cc8d96ec8e43a3f8bb8ccb71ee1ac240d6f3df58d" dependencies = [ "bit-set", "bit-vec", @@ -13740,7 +13676,7 @@ dependencies = [ "rand 0.8.5", "rand_chacha 0.3.1", "rand_xorshift", - "regex-syntax 0.8.2", + "regex-syntax 0.8.5", "rusty-fork", "tempfile", "unarray", @@ -13769,22 +13705,22 @@ dependencies = [ [[package]] name = "prost" -version = "0.12.3" +version = "0.12.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "146c289cda302b98a28d40c8b3b90498d6e526dd24ac2ecea73e4e491685b94a" +checksum = "deb1435c188b76130da55f17a466d252ff7b1418b2ad3e037d127b94e3411f29" dependencies = [ "bytes", - "prost-derive 0.12.3", + "prost-derive 0.12.6", ] [[package]] name = "prost" -version = "0.13.1" +version = "0.13.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e13db3d3fde688c61e2446b4d843bc27a7e8af269a69440c0308021dc92333cc" +checksum = "7b0487d90e047de87f984913713b85c601c05609aad5b0df4b4573fbf69aa13f" dependencies = [ "bytes", - "prost-derive 0.13.1", + "prost-derive 0.13.3", ] [[package]] @@ -13802,28 +13738,28 @@ dependencies = [ [[package]] name = "prost-derive" -version = "0.12.3" +version = "0.12.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "efb6c9a1dd1def8e2124d17e83a20af56f1570d6c2d2bd9e266ccb768df3840e" +checksum = "81bddcdb20abf9501610992b6759a4c888aef7d1a7247ef75e2404275ac24af1" dependencies = [ "anyhow", - "itertools 0.11.0", + "itertools 0.12.1", "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.86", ] [[package]] name = "prost-derive" -version = "0.13.1" +version = "0.13.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "18bec9b0adc4eba778b33684b7ba3e7137789434769ee3ce3930463ef904cfca" +checksum = "e9552f850d5f0964a4e4d0bf306459ac29323ddfbae05e35a7c0d35cb0803cc5" dependencies = [ "anyhow", "itertools 0.13.0", "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.86", ] [[package]] @@ -13837,20 +13773,20 @@ dependencies = [ [[package]] name = "prost-types" -version = "0.12.3" +version = "0.12.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "193898f59edcf43c26227dcd4c8427f00d99d61e95dcde58dabd49fa291d470e" +checksum = "9091c90b0a32608e984ff2fa4091273cbdd755d54935c51d520887f4a1dbd5b0" dependencies = [ - "prost 0.12.3", + "prost 0.12.6", ] [[package]] name = "prost-types" -version = "0.13.1" +version = "0.13.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cee5168b05f49d4b0ca581206eb14a7b22fafd963efe729ac48eb03266e25cc2" +checksum = "4759aa0d3a6232fb8dbdb97b61de2c20047c68aca932c7ed76da9d788508d670" dependencies = [ - "prost 0.13.1", + "prost 0.13.3", ] [[package]] @@ -13884,7 +13820,7 @@ version = "0.1.0" dependencies = [ "anyhow", "chrono", - "clap 4.4.14", + "clap 4.5.20", "codespan-reporting", "itertools 0.13.0", "log", @@ -13906,9 +13842,9 @@ checksum = "33cb294fe86a74cbcf50d4445b37da762029549ebeea341421c7c70370f86cac" [[package]] name = "public-suffix" -version = "0.1.1" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ca346b8ff0739660876c8d96a6f9de5cd9b4cd87500bb0ce92485318c674afe" +checksum = "68a59553bc595dc1514e7d713e6167cf1c4d68ef6fcc2d10ad834a97a1ca9bc4" [[package]] name = "publicsuffix" @@ -13922,11 +13858,11 @@ dependencies = [ [[package]] name = "pulldown-cmark" -version = "0.9.3" +version = "0.9.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77a1a2f1f0a7ecff9c31abbe177637be0e97a0aef46cf8738ece09327985d998" +checksum = "57206b407293d2bcd3af849ce869d52068623f19e1b5ff8e8778e3309439682b" dependencies = [ - "bitflags 1.3.2", + "bitflags 2.6.0", "memchr", "unicase", ] @@ -14009,28 +13945,29 @@ dependencies = [ [[package]] name = "quick_cache" -version = "0.5.1" +version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "347e1a588d1de074eeb3c00eadff93db4db65aeb62aee852b1efd0949fe65b6c" +checksum = "eb55a1aa7668676bb93926cd4e9cdfe60f03bb866553bcca9112554911b6d3dc" dependencies = [ "ahash 0.8.11", "equivalent", - "hashbrown 0.14.3", - "parking_lot 0.12.1", + "hashbrown 0.14.5", + "parking_lot 0.12.3", ] [[package]] name = "quinn" -version = "0.11.2" +version = "0.11.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e4ceeeeabace7857413798eb1ffa1e9c905a9946a57d81fb69b4b71c4d8eb3ad" +checksum = "8c7c5fdde3cdae7203427dc4f0a68fe0ed09833edc525a03456b153b79828684" dependencies = [ "bytes", "pin-project-lite", "quinn-proto", "quinn-udp", - "rustc-hash", - "rustls 0.23.7", + "rustc-hash 2.0.0", + "rustls 0.23.16", + "socket2", "thiserror", "tokio", "tracing", @@ -14038,15 +13975,15 @@ dependencies = [ [[package]] name = "quinn-proto" -version = "0.11.3" +version = "0.11.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ddf517c03a109db8100448a4be38d498df8a210a99fe0e1b9eaf39e78c640efe" +checksum = "fadfaed2cd7f389d0161bb73eeb07b7b78f8691047a6f3e73caaeae55310a4a6" dependencies = [ "bytes", "rand 0.8.5", - "ring 0.17.7", - "rustc-hash", - "rustls 0.23.7", + "ring 0.17.8", + "rustc-hash 2.0.0", + "rustls 0.23.16", "slab", "thiserror", "tinyvec", @@ -14055,21 +13992,23 @@ dependencies = [ [[package]] name = "quinn-udp" -version = "0.5.4" +version = "0.5.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8bffec3605b73c6f1754535084a85229fa8a30f86014e6c81aeec4abb68b0285" +checksum = "e346e016eacfff12233c243718197ca12f148c84e1e84268a896699b41c71780" dependencies = [ + "cfg_aliases 0.2.1", "libc", "once_cell", - "socket2 0.5.5", - "windows-sys 0.52.0", + "socket2", + "tracing", + "windows-sys 0.59.0", ] [[package]] name = "quote" -version = "1.0.35" +version = "1.0.37" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "291ec9ab5efd934aaf503a6466c5d5251535d108ee747472c3977cc5acc868ef" +checksum = "b5b9d34b8991d19d98081b46eacdd8eb58c6f2b201139f7c5f643cc155a633af" dependencies = [ "proc-macro2", ] @@ -14081,7 +14020,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "51de85fb3fb6524929c8a2eb85e6b6d363de4e8c48f9e2c2eac4944abc181c93" dependencies = [ "log", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "scheduled-thread-pool", ] @@ -14157,7 +14096,7 @@ version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" dependencies = [ - "getrandom 0.2.11", + "getrandom 0.2.15", ] [[package]] @@ -14214,9 +14153,9 @@ checksum = "60a357793950651c4ed0f3f52338f53b2f809f32d83a07f72909fa13e4c6c1e3" [[package]] name = "rayon" -version = "1.9.0" +version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e4963ed1bc86e4f3ee217022bd855b297cef07fb9eac5dfa1f788b220b49b3bd" +checksum = "b418a60154510ca1a002a752ca9714984e21e4241e804d32555251faf8b78ffa" dependencies = [ "either", "rayon-core", @@ -14250,7 +14189,7 @@ dependencies = [ "ryu", "sha1_smol", "tokio", - "tokio-util 0.7.10", + "tokio-util 0.7.12", "url", ] @@ -14275,54 +14214,54 @@ dependencies = [ [[package]] name = "redox_syscall" -version = "0.4.1" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4722d768eff46b75989dd134e5c353f0d6296e5aaa3132e776cbdb56be7731aa" +checksum = "9b6dfecf2c74bce2466cabf93f6664d6998a69eb21e39f4207930065b27b771f" dependencies = [ - "bitflags 1.3.2", + "bitflags 2.6.0", ] [[package]] name = "redox_users" -version = "0.4.4" +version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a18479200779601e498ada4e8c1e1f50e3ee19deb0259c25825a98b5603b2cb4" +checksum = "ba009ff324d1fc1b900bd1fdb31564febe58a8ccc8a6fdbb93b543d33b13ca43" dependencies = [ - "getrandom 0.2.11", + "getrandom 0.2.15", "libredox", "thiserror", ] [[package]] name = "ref-cast" -version = "1.0.22" +version = "1.0.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4846d4c50d1721b1a3bef8af76924eef20d5e723647333798c1b519b3a9473f" +checksum = "ccf0a6f84d5f1d581da8b41b47ec8600871962f2a528115b542b362d4b744931" dependencies = [ "ref-cast-impl", ] [[package]] name = "ref-cast-impl" -version = "1.0.22" +version = "1.0.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5fddb4f8d99b0a2ebafc65a87a69a7b9875e4b1ae1f00db265d300ef7f28bccc" +checksum = "bcc303e793d3734489387d205e9b186fac9c6cfacedd98cbb2e8a5943595f3e6" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.86", ] [[package]] name = "regex" -version = "1.10.4" +version = "1.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c117dbdfde9c8308975b6a18d71f3f385c89461f7b3fb054288ecf2a2058ba4c" +checksum = "b544ef1b4eac5dc2db33ea63606ae9ffcfac26c1416a2806ae0bf5f56b201191" dependencies = [ "aho-corasick", "memchr", - "regex-automata 0.4.6", - "regex-syntax 0.8.2", + "regex-automata 0.4.8", + "regex-syntax 0.8.5", ] [[package]] @@ -14336,13 +14275,13 @@ dependencies = [ [[package]] name = "regex-automata" -version = "0.4.6" +version = "0.4.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "86b83b8b9847f9bf95ef68afb0b8e6cdb80f498442f5179a29fad448fcc1eaea" +checksum = "368758f23274712b504848e9d5a6f010445cc8b87a7cdb4d7cbee666c1288da3" dependencies = [ "aho-corasick", "memchr", - "regex-syntax 0.8.2", + "regex-syntax 0.8.5", ] [[package]] @@ -14353,27 +14292,27 @@ checksum = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1" [[package]] name = "regex-syntax" -version = "0.8.2" +version = "0.8.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c08c74e62047bb2de4ff487b251e4a92e24f48745648451635cec7d591162d9f" +checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c" [[package]] name = "reqwest" -version = "0.11.23" +version = "0.11.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "37b1ae8d9ac08420c66222fb9096fc5de435c3c48542bc5336c51892cffafb41" +checksum = "dd67538700a17451e7cba03ac727fb961abb7607553461627b97de0b89cf4a62" dependencies = [ - "base64 0.21.6", + "base64 0.21.7", "bytes", - "cookie 0.16.2", + "cookie 0.17.0", "cookie_store", "encoding_rs", "futures-core", "futures-util", "h2 0.3.26", - "http 0.2.11", + "http 0.2.12", "http-body 0.4.6", - "hyper 0.14.28", + "hyper 0.14.31", "hyper-rustls 0.24.2", "hyper-tls", "ipnet", @@ -14385,31 +14324,32 @@ dependencies = [ "once_cell", "percent-encoding", "pin-project-lite", - "rustls 0.21.10", + "rustls 0.21.12", "rustls-pemfile 1.0.4", "serde", "serde_json", "serde_urlencoded", + "sync_wrapper 0.1.2", "system-configuration", "tokio", "tokio-native-tls", "tokio-rustls 0.24.1", - "tokio-util 0.7.10", + "tokio-util 0.7.12", "tower-service", "url", "wasm-bindgen", "wasm-bindgen-futures", - "wasm-streams 0.3.0", + "wasm-streams", "web-sys", - "webpki-roots 0.25.3", - "winreg 0.50.0", + "webpki-roots 0.25.4", + "winreg", ] [[package]] name = "reqwest" -version = "0.12.5" +version = "0.12.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c7d6d2a27d57148378eb5e111173f4276ad26340ecc5c49a4a2152167a2d6a37" +checksum = "a77c62af46e79de0a562e1a9849205ffcb7fc1238876e9bd743357570e04046f" dependencies = [ "async-compression", "base64 0.22.1", @@ -14417,10 +14357,10 @@ dependencies = [ "futures-core", "futures-util", "http 1.1.0", - "http-body 1.0.0", + "http-body 1.0.1", "http-body-util", - "hyper 1.4.1", - "hyper-rustls 0.27.2", + "hyper 1.5.0", + "hyper-rustls 0.27.3", "hyper-util", "ipnet", "js-sys", @@ -14431,9 +14371,9 @@ dependencies = [ "percent-encoding", "pin-project-lite", "quinn", - "rustls 0.23.7", - "rustls-native-certs 0.7.0", - "rustls-pemfile 2.1.1", + "rustls 0.23.16", + "rustls-native-certs 0.8.0", + "rustls-pemfile 2.2.0", "rustls-pki-types", "serde", "serde_json", @@ -14441,26 +14381,26 @@ dependencies = [ "sync_wrapper 1.0.1", "tokio", "tokio-rustls 0.26.0", - "tokio-util 0.7.10", + "tokio-util 0.7.12", "tower-service", "url", "wasm-bindgen", "wasm-bindgen-futures", - "wasm-streams 0.4.0", + "wasm-streams", "web-sys", - "winreg 0.52.0", + "windows-registry", ] [[package]] name = "reqwest-middleware" -version = "0.2.4" +version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "88a3e86aa6053e59030e7ce2d2a3b258dd08fc2d337d52f73f6cb480f5858690" +checksum = "5a735987236a8e238bf0296c7e351b999c188ccc11477f311b82b55c93984216" dependencies = [ "anyhow", "async-trait", - "http 0.2.11", - "reqwest 0.11.23", + "http 0.2.12", + "reqwest 0.11.27", "serde", "task-local-extensions", "thiserror", @@ -14476,11 +14416,11 @@ dependencies = [ "async-trait", "chrono", "futures", - "getrandom 0.2.11", - "http 0.2.11", - "hyper 0.14.28", + "getrandom 0.2.15", + "http 0.2.12", + "hyper 0.14.31", "parking_lot 0.11.2", - "reqwest 0.11.23", + "reqwest 0.11.27", "reqwest-middleware", "retry-policies", "task-local-extensions", @@ -14518,18 +14458,18 @@ dependencies = [ [[package]] name = "rfc7239" -version = "0.1.0" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "087317b3cf7eb481f13bd9025d729324b7cd068d6f470e2d76d049e191f5ba47" +checksum = "b106a85eeb5b0336d16d6a20eab857f92861d4fbb1eb9a239866fb98fb6a1063" dependencies = [ "uncased", ] [[package]] name = "rgb" -version = "0.8.37" +version = "0.8.50" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05aaa8004b64fd573fc9d002f4e632d51ad4f026c2b5ba95fcb6c2f32c2c47d8" +checksum = "57397d16646700483b67d2dd6511d79318f9d057fdbd21a4066aeac8b41d310a" dependencies = [ "bytemuck", ] @@ -14551,16 +14491,17 @@ dependencies = [ [[package]] name = "ring" -version = "0.17.7" +version = "0.17.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "688c63d65483050968b2a8937f7995f443e27041a0f7700aa59b0822aedebb74" +checksum = "c17fa4cb658e3583423e915b9f3acc01cceaee1860e33d59ebae66adc3a2dc0d" dependencies = [ "cc", - "getrandom 0.2.11", + "cfg-if", + "getrandom 0.2.15", "libc", "spin 0.9.8", "untrusted 0.9.0", - "windows-sys 0.48.0", + "windows-sys 0.52.0", ] [[package]] @@ -14710,9 +14651,9 @@ dependencies = [ [[package]] name = "rustc-demangle" -version = "0.1.23" +version = "0.1.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d626bb9dae77e28219937af045c257c28bfd3f69333c512553507f5f9798cb76" +checksum = "719b953e2095829ee67db738b3bfa9fa368c94900df327b3f07fe6e794d2fe1f" [[package]] name = "rustc-hash" @@ -14720,6 +14661,12 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" +[[package]] +name = "rustc-hash" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "583034fd73374156e66797ed8e5b0d5690409c9226b22d87cb7f19821c05d152" + [[package]] name = "rustc-hex" version = "2.1.0" @@ -14728,9 +14675,9 @@ checksum = "3e75f6a532d0fd9f7f13144f392b6ad56a32696bfcd9c78f797f16bbb6f072d6" [[package]] name = "rustc_version" -version = "0.4.0" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366" +checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92" dependencies = [ "semver", ] @@ -14751,28 +14698,14 @@ dependencies = [ [[package]] name = "rustix" -version = "0.37.27" +version = "0.38.38" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fea8ca367a3a01fe35e6943c400addf443c0f57670e6ec51196f71a4b8762dd2" -dependencies = [ - "bitflags 1.3.2", - "errno", - "io-lifetimes", - "libc", - "linux-raw-sys 0.3.8", - "windows-sys 0.48.0", -] - -[[package]] -name = "rustix" -version = "0.38.28" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72e572a5e8ca657d7366229cdde4bd14c4eb5499a9573d4d366fe1b599daa316" +checksum = "aa260229e6538e52293eeb577aabd09945a09d6d9cc0fc550ed7529056c2e32a" dependencies = [ "bitflags 2.6.0", "errno", "libc", - "linux-raw-sys 0.4.12", + "linux-raw-sys 0.4.14", "windows-sys 0.52.0", ] @@ -14790,12 +14723,12 @@ dependencies = [ [[package]] name = "rustls" -version = "0.21.10" +version = "0.21.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f9d5a6813c0759e4609cd494e8e725babae6a2ca7b62a5536a13daaec6fcb7ba" +checksum = "3f56a14d1f48b391359b22f731fd4bd7e43c97f3c50eee276f3aa09c94784d3e" dependencies = [ "log", - "ring 0.17.7", + "ring 0.17.8", "rustls-webpki 0.101.7", "sct", ] @@ -14807,24 +14740,24 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bf4ef73721ac7bcd79b2b315da7779d8fc09718c6b3d2d1b2d94850eb8c18432" dependencies = [ "log", - "ring 0.17.7", + "ring 0.17.8", "rustls-pki-types", - "rustls-webpki 0.102.2", + "rustls-webpki 0.102.8", "subtle", "zeroize", ] [[package]] name = "rustls" -version = "0.23.7" +version = "0.23.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ebbbdb961df0ad3f2652da8f3fdc4b36122f568f968f45ad3316f26c025c677b" +checksum = "eee87ff5d9b36712a58574e12e9f0ea80f915a5b0ac518d322b24a465617925e" dependencies = [ "log", "once_cell", - "ring 0.17.7", + "ring 0.17.8", "rustls-pki-types", - "rustls-webpki 0.102.2", + "rustls-webpki 0.102.8", "subtle", "zeroize", ] @@ -14843,12 +14776,25 @@ dependencies = [ [[package]] name = "rustls-native-certs" -version = "0.7.0" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e5bfb394eeed242e909609f56089eecfe5fda225042e8b171791b9c95f5931e5" +dependencies = [ + "openssl-probe", + "rustls-pemfile 2.2.0", + "rustls-pki-types", + "schannel", + "security-framework", +] + +[[package]] +name = "rustls-native-certs" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f1fb85efa936c42c6d5fc28d2629bb51e4b2f4b8a5211e297d599cc5a093792" +checksum = "fcaf18a4f2be7326cd874a5fa579fae794320a0f388d365dca7e480e55f83f8a" dependencies = [ "openssl-probe", - "rustls-pemfile 2.1.1", + "rustls-pemfile 2.2.0", "rustls-pki-types", "schannel", "security-framework", @@ -14869,24 +14815,23 @@ version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1c74cae0a4cf6ccbbf5f359f08efdf8ee7e1dc532573bf0db71968cb56b1448c" dependencies = [ - "base64 0.21.6", + "base64 0.21.7", ] [[package]] name = "rustls-pemfile" -version = "2.1.1" +version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f48172685e6ff52a556baa527774f61fcaa884f59daf3375c62a3f1cd2549dab" +checksum = "dce314e5fee3f39953d46bb63bb8a46d40c2f8fb7cc5a3b6cab2bde9721d6e50" dependencies = [ - "base64 0.21.6", "rustls-pki-types", ] [[package]] name = "rustls-pki-types" -version = "1.3.1" +version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ede67b28608b4c60685c7d54122d4400d90f62b40caee7700e700380a390fa8" +checksum = "16f1201b3c9a7ee8039bcadc17b7e605e2945b27eee7631788c1bd2b0643674b" [[package]] name = "rustls-webpki" @@ -14904,26 +14849,26 @@ version = "0.101.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8b6275d1ee7a1cd780b64aca7726599a1dbc893b1e64144529e55c3c2f745765" dependencies = [ - "ring 0.17.7", + "ring 0.17.8", "untrusted 0.9.0", ] [[package]] name = "rustls-webpki" -version = "0.102.2" +version = "0.102.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "faaa0a62740bedb9b2ef5afa303da42764c012f743917351dc9a237ea1663610" +checksum = "64ca1bc8749bd4cf37b5ce386cc146580777b4e8572c7b97baf22c83f444bee9" dependencies = [ - "ring 0.17.7", + "ring 0.17.8", "rustls-pki-types", "untrusted 0.9.0", ] [[package]] name = "rustversion" -version = "1.0.14" +version = "1.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ffc183a10b4478d04cbbbfc96d0873219d962dd5accaff2ffbd4ceb7df837f4" +checksum = "0e819f2bc632f285be6d7cd36e25940d45b2391dd6d9b939e79de557f7014248" [[package]] name = "rusty-fork" @@ -14959,15 +14904,15 @@ dependencies = [ [[package]] name = "ryu" -version = "1.0.16" +version = "1.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f98d2aa92eebf49b69786be48e4477826b256916e84a57ff2a4f21923b48eb4c" +checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f" [[package]] name = "safe_arch" -version = "0.7.1" +version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f398075ce1e6a179b46f51bd88d0598b92b00d3551f1a2d4ac49e771b56ac354" +checksum = "c3460605018fdc9612bce72735cba0d27efbcd9904780d44c7e3a9948f96148a" dependencies = [ "bytemuck", ] @@ -15013,11 +14958,11 @@ dependencies = [ [[package]] name = "schannel" -version = "0.1.23" +version = "0.1.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fbc91545643bcf3a0bbb6569265615222618bdf33ce4ffbbd13c4bbd4c093534" +checksum = "01227be5826fa0690321a2ba6c5cd57a19cf3f6a09e76973b58e61de6ab9d1c1" dependencies = [ - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] @@ -15026,17 +14971,16 @@ version = "0.2.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3cbc66816425a074528352f5789333ecff06ca41b36b0b0efdfbb29edc391a19" dependencies = [ - "parking_lot 0.12.1", + "parking_lot 0.12.3", ] [[package]] name = "scoped-futures" -version = "0.1.3" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1473e24c637950c9bd38763220bea91ec3e095a89f672bbd7a10d03e77ba467" +checksum = "1b24aae2d0636530f359e9d5ef0c04669d11c5e756699b27a6a6d845d8329091" dependencies = [ - "cfg-if", - "pin-utils", + "pin-project-lite", ] [[package]] @@ -15057,7 +15001,7 @@ version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "da046153aa2352493d6cb7da4b6e5c0c057d8a1d0a9aa8560baffdd945acd414" dependencies = [ - "ring 0.17.7", + "ring 0.17.8", "untrusted 0.9.0", ] @@ -15074,7 +15018,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d3e97a565f76233a6003f9f5c54be1d9c5bdfa3eccfb189469f11ec4901c47dc" dependencies = [ "base16ct", - "der 0.7.8", + "der 0.7.9", "generic-array 0.14.7", "pkcs8 0.10.2", "serdect", @@ -15084,12 +15028,12 @@ dependencies = [ [[package]] name = "secret-vault-value" -version = "0.3.8" +version = "0.3.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f5f8cfb86d2019f64a4cfb49e499f401f406fbec946c1ffeea9d0504284347de" +checksum = "bc32a777b53b3433b974c9c26b6d502a50037f8da94e46cb8ce2ced2cfdfaea0" dependencies = [ - "prost 0.12.3", - "prost-types 0.12.3", + "prost 0.13.3", + "prost-types 0.13.3", "serde", "serde_json", "zeroize", @@ -15097,11 +15041,11 @@ dependencies = [ [[package]] name = "security-framework" -version = "2.9.2" +version = "2.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05b64fb303737d99b81884b2c63433e9ae28abebe5eb5045dcdd175dc2ecf4de" +checksum = "897b2245f0b511c87893af39b033e5ca9cce68824c4d7e7630b5a1d339658d02" dependencies = [ - "bitflags 1.3.2", + "bitflags 2.6.0", "core-foundation", "core-foundation-sys", "libc", @@ -15110,9 +15054,9 @@ dependencies = [ [[package]] name = "security-framework-sys" -version = "2.9.1" +version = "2.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e932934257d3b408ed8f30db49d85ea163bfe74961f017f405b025af298f0c7a" +checksum = "ea4a292869320c0272d7bc55a5a6aafaff59b4f63404a003887b679a2e05b4b6" dependencies = [ "core-foundation-sys", "libc", @@ -15120,13 +15064,13 @@ dependencies = [ [[package]] name = "self-replace" -version = "1.3.7" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "525db198616b2bcd0f245daf7bfd8130222f7ee6af9ff9984c19a61bf1160c55" +checksum = "03ec815b5eab420ab893f63393878d89c90fdd94c0bcc44c07abb8ad95552fb7" dependencies = [ - "fastrand 1.9.0", + "fastrand 2.1.1", "tempfile", - "windows-sys 0.48.0", + "windows-sys 0.52.0", ] [[package]] @@ -15134,12 +15078,12 @@ name = "self_update" version = "0.39.0" source = "git+https://github.com/banool/self_update.git?rev=8306158ad0fd5b9d4766a3c6bf967e7ef0ea5c4b#8306158ad0fd5b9d4766a3c6bf967e7ef0ea5c4b" dependencies = [ - "hyper 0.14.28", - "indicatif 0.17.7", + "hyper 0.14.31", + "indicatif 0.17.8", "log", "quick-xml 0.23.1", "regex", - "reqwest 0.11.23", + "reqwest 0.11.27", "self-replace", "semver", "serde_json", @@ -15151,9 +15095,9 @@ dependencies = [ [[package]] name = "semver" -version = "1.0.21" +version = "1.0.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b97ed7a9823b74f99c7742f5336af7be5ecd3eeafcb1507d1fa93347b1d589b0" +checksum = "61697e0a1c7e512e84a621326239844a24d8207b4669b41bc18b32ea5cbf988b" dependencies = [ "serde", ] @@ -15166,9 +15110,9 @@ checksum = "a3f0bf26fd526d2a95683cd0f87bf103b8539e2ca1ef48ce002d67aad59aa0b4" [[package]] name = "serde" -version = "1.0.197" +version = "1.0.214" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3fb1c873e1b9b056a4dc4c0c198b24c3ffa059243875552b2bd0933b1aee4ce2" +checksum = "f55c3193aca71c12ad7890f1785d2b73e1b9f63a0bbc353c08ef26fe03fc56b5" dependencies = [ "serde_derive", ] @@ -15232,9 +15176,9 @@ dependencies = [ [[package]] name = "serde_bytes" -version = "0.11.14" +version = "0.11.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b8497c313fd43ab992087548117643f6fcd935cbf36f176ffda0aacf9591734" +checksum = "387cc504cb06bb40a96c8e04e951fe01854cf6bc921053c954e4a606d9675c6a" dependencies = [ "serde", ] @@ -15245,19 +15189,19 @@ version = "0.11.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2bef2ebfde456fb76bbcf9f59315333decc4fda0b2b44b420243c11e0f5ec1f5" dependencies = [ - "half 1.8.2", + "half 1.8.3", "serde", ] [[package]] name = "serde_derive" -version = "1.0.197" +version = "1.0.214" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7eb0b34b42edc17f6b7cac84a52a1c5f0e1bb2227e997ca9011ea3dd34e8610b" +checksum = "de523f781f095e28fa605cdce0f8307e451cc0fd14e2eb4cd2e98a355b147766" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.86", ] [[package]] @@ -15268,17 +15212,18 @@ checksum = "18d26a20a969b9e3fdf2fc2d9f21eda6c40e2de84c9408bb5d3b05d499aae711" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.86", ] [[package]] name = "serde_json" -version = "1.0.114" +version = "1.0.132" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c5f09b1bd632ef549eaa9f60a1f8de742bdbc698e6cee2095fc84dde5f549ae0" +checksum = "d726bfaff4b320266d395898905d0eba0345aae23b54aee3a737e260fd46db03" dependencies = [ "indexmap 2.6.0", "itoa", + "memchr", "ryu", "serde", ] @@ -15316,20 +15261,20 @@ dependencies = [ [[package]] name = "serde_repr" -version = "0.1.18" +version = "0.1.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b2e6b945e9d3df726b65d6ee24060aff8e3533d431f677a9695db04eff9dfdb" +checksum = "6c64451ba24fc7a6a2d60fc75dd9c83c90903b19028d4eff35e88fc1e86564e9" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.86", ] [[package]] name = "serde_spanned" -version = "0.6.5" +version = "0.6.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb3622f419d1296904700073ea6cc23ad690adbd66f13ea683df73298736f0c1" +checksum = "87607cb1398ed59d48732e575a4c28a7a8ebf2454b964fe3f224f2afc07909e1" dependencies = [ "serde", ] @@ -15348,16 +15293,17 @@ dependencies = [ [[package]] name = "serde_with" -version = "3.4.0" +version = "3.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "64cd236ccc1b7a29e7e2739f27c0b2dd199804abc4290e32f59f3b68d6405c23" +checksum = "8e28bdad6db2b8340e449f7108f020b3b092e8583a9e3fb82713e1d4e71fe817" dependencies = [ - "base64 0.21.6", + "base64 0.22.1", "chrono", "hex", "indexmap 1.9.3", "indexmap 2.6.0", "serde", + "serde_derive", "serde_json", "serde_with_macros", "time", @@ -15365,14 +15311,14 @@ dependencies = [ [[package]] name = "serde_with_macros" -version = "3.4.0" +version = "3.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93634eb5f75a2323b16de4748022ac4297f9e76b6dced2be287a099f41b5e788" +checksum = "9d846214a9854ef724f3da161b426242d8de7c1fc7de2f89bb1efcb154dca79d" dependencies = [ - "darling 0.20.9", + "darling 0.20.10", "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.86", ] [[package]] @@ -15389,9 +15335,9 @@ dependencies = [ [[package]] name = "serde_yaml" -version = "0.9.30" +version = "0.9.34+deprecated" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1bf28c79a99f70ee1f1d83d10c875d2e70618417fda01ad1785e027579d9d38" +checksum = "6a8b1a1a2ebf674015cc02edccce75287f1a0130d394307b36743c2f5d504b47" dependencies = [ "indexmap 2.6.0", "itoa", @@ -15429,7 +15375,7 @@ dependencies = [ "aptos-system-utils 0.1.0 (git+https://github.com/aptos-labs/aptos-core.git?rev=202bdccff2b2d333a385ae86a4fcf23e89da9f62)", "async-trait", "backtrace", - "clap 4.4.14", + "clap 4.5.20", "prometheus", "serde", "serde_yaml 0.8.26", @@ -15463,9 +15409,9 @@ dependencies = [ [[package]] name = "sha1_smol" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae1a47186c03a32177042e55dbc5fd5aee900b8e0069a8d70fba96a9375cd012" +checksum = "bbfa15b3dddfee50a0fff136974b3e1bde555604ba463834a7eb7deb6417705d" [[package]] name = "sha2" @@ -15477,7 +15423,7 @@ dependencies = [ "cfg-if", "cpufeatures", "digest 0.9.0", - "opaque-debug 0.3.0", + "opaque-debug 0.3.1", ] [[package]] @@ -15526,7 +15472,7 @@ dependencies = [ "block-buffer 0.9.0", "digest 0.9.0", "keccak", - "opaque-debug 0.3.0", + "opaque-debug 0.3.1", ] [[package]] @@ -15585,9 +15531,9 @@ dependencies = [ [[package]] name = "signal-hook-mio" -version = "0.2.3" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29ad2e15f37ec9a6cc544097b78a1ec90001e9f71b81338ca39f430adaca99af" +checksum = "34db1a06d485c9142248b7a054f034b349b212551f3dfd19c94d45a754a217cd" dependencies = [ "libc", "mio 0.8.11", @@ -15596,9 +15542,9 @@ dependencies = [ [[package]] name = "signal-hook-registry" -version = "1.4.1" +version = "1.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d8229b473baa5980ac72ef434c4415e70c4b5e71b423043adb4ba059f89c99a1" +checksum = "a9e9e0b4211b72e7b8b6e85c807d36c212bdb33ea8587f7569562a84df5465b1" dependencies = [ "libc", ] @@ -15626,7 +15572,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "061507c94fc6ab4ba1c9a0305018408e312e17c041eb63bef8aa726fa33aceae" dependencies = [ "approx", - "num-complex 0.4.4", + "num-complex 0.4.6", "num-traits", "paste", "wide", @@ -15640,19 +15586,19 @@ checksum = "d66dc143e6b11c1eddc06d5c423cfc97062865baf299914ab64caa38182078fe" [[package]] name = "similar" -version = "2.4.0" +version = "2.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32fea41aca09ee824cc9724996433064c89f7777e60762749a4170a14abbfa21" +checksum = "1de1d4f81173b03af4c0cbed3c898f6bff5b870e4a7f5d6f4057d62a7a4b686e" dependencies = [ - "bstr 0.2.17", + "bstr", "unicode-segmentation", ] [[package]] name = "similar-asserts" -version = "1.5.0" +version = "1.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e041bb827d1bfca18f213411d51b665309f1afb37a04a5d1464530e13779fc0f" +checksum = "cfe85670573cd6f0fa97940f26e7e6601213c3b0555246c24234131f88c5709e" dependencies = [ "console", "similar", @@ -15675,7 +15621,7 @@ version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "adc4e5204eb1910f40f9cfa375f6f05b68c3abac4b6fd879c8ff5e7ae8a0a085" dependencies = [ - "num-bigint 0.4.4", + "num-bigint 0.4.6", "num-traits", "thiserror", "time", @@ -15734,9 +15680,9 @@ dependencies = [ [[package]] name = "slug" -version = "0.1.5" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3bd94acec9c8da640005f8e135a39fc0372e74535e6b368b7a04b875f784c8c4" +checksum = "882a80f72ee45de3cc9a5afeb2da0331d58df69e4e7d8eeb5d3c7784ae67e724" dependencies = [ "deunicode", "wasm-bindgen", @@ -15755,15 +15701,15 @@ dependencies = [ [[package]] name = "smallbitvec" -version = "2.5.1" +version = "2.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75ce4f9dc4a41b4c3476cc925f1efb11b66df373a8fde5d4b8915fa91b5d995e" +checksum = "fcc3fc564a4b53fd1e8589628efafe57602d91bde78be18186b5f61e8faea470" [[package]] name = "smallvec" -version = "1.13.1" +version = "1.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6ecd384b10a64542d77071bd64bd7b231f4ed5940fba55e98c3de13824cf3d7" +checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" [[package]] name = "smawk" @@ -15819,14 +15765,14 @@ dependencies = [ "digest 0.9.0", "futures", "hex", - "hyper 0.14.28", + "hyper 0.14.31", "itertools 0.13.0", "move-core-types", "num_cpus", "once_cell", "rand 0.7.3", "regex", - "reqwest 0.11.23", + "reqwest 0.11.27", "serde", "serde_json", "serde_yaml 0.8.26", @@ -15872,22 +15818,12 @@ dependencies = [ [[package]] name = "socket2" -version = "0.4.10" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f7916fc008ca5542385b89a3d3ce689953c143e9304a9bf8beec1de48994c0d" +checksum = "ce305eb0b4296696835b71df73eb912e0f1ffd2556a501fcede6e0c50349191c" dependencies = [ "libc", - "winapi 0.3.9", -] - -[[package]] -name = "socket2" -version = "0.5.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b5fac59a5cb5dd637972e5fca70daf0523c9067fcdc4842f053dae04a18f8e9" -dependencies = [ - "libc", - "windows-sys 0.48.0", + "windows-sys 0.52.0", ] [[package]] @@ -15901,9 +15837,6 @@ name = "spin" version = "0.9.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67" -dependencies = [ - "lock_api", -] [[package]] name = "spki" @@ -15922,7 +15855,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d91ed6c858b01f942cd56b37a94b3e0a1798290327d1236e4d9cf4eaca44d29d" dependencies = [ "base64ct", - "der 0.7.8", + "der 0.7.9", ] [[package]] @@ -15961,20 +15894,20 @@ checksum = "f91138e76242f575eb1d3b38b4f1362f10d3a43f47d182a5b359af488a02293b" dependencies = [ "new_debug_unreachable", "once_cell", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "phf_shared 0.10.0", "precomputed-hash", ] [[package]] name = "stringprep" -version = "0.1.4" +version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb41d74e231a107a1b4ee36bd1214b11285b77768d2e3824aedafa988fd36ee6" +checksum = "7b4df3d392d81bd458a8a621b8bffbd2302a12ffe288a9d931670948749463b1" dependencies = [ - "finl_unicode", "unicode-bidi", "unicode-normalization", + "unicode-properties", ] [[package]] @@ -16057,9 +15990,9 @@ dependencies = [ [[package]] name = "strum" -version = "0.26.2" +version = "0.26.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d8cec3501a5194c432b2b7976db6b7d10ec95c253208b45f83f7136aa985e29" +checksum = "8fec0f0aef304996cf250b31b5a10dee7980c85da9d759361292b8bca5a18f06" [[package]] name = "strum_macros" @@ -16084,7 +16017,7 @@ dependencies = [ "proc-macro2", "quote", "rustversion", - "syn 2.0.48", + "syn 2.0.86", ] [[package]] @@ -16097,14 +16030,14 @@ dependencies = [ "proc-macro2", "quote", "rustversion", - "syn 2.0.48", + "syn 2.0.86", ] [[package]] name = "subtle" -version = "2.5.0" +version = "2.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81cdd64d312baedb58e21336b31bc043b77e01cc99033ce76ef539f78e965ebc" +checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" [[package]] name = "subtle-ng" @@ -16154,9 +16087,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.48" +version = "2.0.86" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f3531638e407dfc0814761abb7c00a5b54992b849452a0646b7f65c9f770f3f" +checksum = "e89275301d38033efb81a6e60e3497e734dfcc62571f2854bf4b16690398824c" dependencies = [ "proc-macro2", "quote", @@ -16228,9 +16161,9 @@ checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" [[package]] name = "tar" -version = "0.4.40" +version = "0.4.42" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b16afcea1f22891c49a00c751c7b63b2233284064f11a200fc624137c51e2ddb" +checksum = "4ff6c40d3aedb5e06b57c6f669ad17ab063dd1e63d977c6a88e7f4dfa4f04020" dependencies = [ "filetime", "libc", @@ -16239,15 +16172,15 @@ dependencies = [ [[package]] name = "target-lexicon" -version = "0.12.13" +version = "0.12.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "69758bda2e78f098e4ccb393021a0963bb3442eac05f135c30f61b7370bbafae" +checksum = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1" [[package]] name = "target-spec" -version = "3.1.0" +version = "3.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "36a8e795b1824524d13cdf04f73cf8b4f244ce86c96b4d2a83a6ca1a753d2752" +checksum = "4c5743abbf7bc7d5296ae61368b50cd218ac09432281cb5d48b97308d5c27909" dependencies = [ "cfg-expr", "guppy-workspace-hack", @@ -16256,6 +16189,12 @@ dependencies = [ "unicode-ident", ] +[[package]] +name = "target-triple" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "42a4d50cdb458045afc8131fd91b64904da29548bcb63c7236e0844936c13078" + [[package]] name = "task-local-extensions" version = "0.1.4" @@ -16267,22 +16206,22 @@ dependencies = [ [[package]] name = "tempfile" -version = "3.9.0" +version = "3.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01ce4141aa927a6d1bd34a041795abd0db1cccba5d5f24b009f694bdf3a1f3fa" +checksum = "f0f2c9fc62d0beef6951ccffd757e241266a2c833136efbe35af6cd2567dca5b" dependencies = [ "cfg-if", - "fastrand 2.0.1", - "redox_syscall 0.4.1", - "rustix 0.38.28", - "windows-sys 0.52.0", + "fastrand 2.1.1", + "once_cell", + "rustix 0.38.38", + "windows-sys 0.59.0", ] [[package]] name = "tera" -version = "1.19.1" +version = "1.20.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "970dff17c11e884a4a09bc76e3a17ef71e01bb13447a11e85226e254fe6d10b8" +checksum = "ab9d851b45e865f178319da0abdbfe6acbc4328759ff18dafc3a41c16b4cd2ee" dependencies = [ "chrono", "chrono-tz", @@ -16322,12 +16261,12 @@ dependencies = [ [[package]] name = "terminal_size" -version = "0.3.0" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21bebf2b7c9e0a515f6e0f8c51dc0f8e4696391e6f1ff30379559f8365fb0df7" +checksum = "4f599bd7ca042cfdf8f4512b277c02ba102247820f9d9d4a9f521f496751a6ef" dependencies = [ - "rustix 0.38.28", - "windows-sys 0.48.0", + "rustix 0.38.38", + "windows-sys 0.59.0", ] [[package]] @@ -16354,7 +16293,7 @@ dependencies = [ "cfg-if", "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.86", ] [[package]] @@ -16365,7 +16304,7 @@ checksum = "5c89e72a01ed4c579669add59014b9a524d609c0c88c6a585ce37485879f6ffb" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.86", "test-case-core", ] @@ -16373,9 +16312,9 @@ dependencies = [ name = "test-generation" version = "0.1.0" dependencies = [ - "clap 4.4.14", + "clap 4.5.20", "crossbeam-channel", - "getrandom 0.2.11", + "getrandom 0.2.15", "hex", "itertools 0.13.0", "module-generation", @@ -16398,7 +16337,7 @@ name = "testdiff" version = "0.1.0" dependencies = [ "anyhow", - "clap 4.4.14", + "clap 4.5.20", "once_cell", "regex", "walkdir", @@ -16436,35 +16375,35 @@ dependencies = [ [[package]] name = "textwrap" -version = "0.16.0" +version = "0.16.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "222a222a5bfe1bba4a77b45ec488a741b3cb8872e5e499451fd7d0129c9c7c3d" +checksum = "23d434d3f8967a09480fb04132ebe0a3e088c173e6d0ee7897abbdf4eab0f8b9" [[package]] name = "thiserror" -version = "1.0.65" +version = "1.0.66" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d11abd9594d9b38965ef50805c5e469ca9cc6f197f883f717e0269a3057b3d5" +checksum = "5d171f59dbaa811dbbb1aee1e73db92ec2b122911a48e1390dfe327a821ddede" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.65" +version = "1.0.66" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae71770322cbd277e69d762a16c444af02aa0575ac0d174f0b9562d3b37f8602" +checksum = "b08be0f17bd307950653ce45db00cd31200d82b624b36e181337d9c7d92765b5" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.86", ] [[package]] name = "thread_local" -version = "1.1.7" +version = "1.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3fdd6f064ccff2d6567adcb3873ca630700f00b5ad3f060c25b5dcfd9a4ce152" +checksum = "8b9ef9bad013ada3808854ceac7b46812a6465ba368859a37e2100283d2d719c" dependencies = [ "cfg-if", "once_cell", @@ -16492,9 +16431,9 @@ dependencies = [ [[package]] name = "tiff" -version = "0.9.0" +version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d172b0f4d3fba17ba89811858b9d3d97f928aece846475bbda076ca46736211" +checksum = "ba1310fcea54c6a9a4fd1aad794ecc02c31682f6bfbecdf460bf19533eed1e3e" dependencies = [ "flate2", "jpeg-decoder", @@ -16503,13 +16442,14 @@ dependencies = [ [[package]] name = "time" -version = "0.3.31" +version = "0.3.36" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f657ba42c3f86e7680e53c8cd3af8abbe56b5491790b46e22e19c0d57463583e" +checksum = "5dfd88e563464686c916c7e46e623e520ddc6d79fa6641390f2e3fa86e83e885" dependencies = [ "deranged", "itoa", "libc", + "num-conv", "num_threads", "powerfmt", "serde", @@ -16525,10 +16465,11 @@ checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3" [[package]] name = "time-macros" -version = "0.2.16" +version = "0.2.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26197e33420244aeb70c3e8c78376ca46571bc4e701e4791c2cd9f57dcb3a43f" +checksum = "3f252a68540fde3a3877aeea552b832b40ab9a69e318efd078774a01ddee1ccf" dependencies = [ + "num-conv", "time-core", ] @@ -16543,7 +16484,7 @@ dependencies = [ "once_cell", "pbkdf2", "rand 0.7.3", - "rustc-hash", + "rustc-hash 1.1.0", "sha2 0.9.9", "thiserror", "unicode-normalization", @@ -16572,9 +16513,9 @@ dependencies = [ [[package]] name = "tinyvec" -version = "1.6.0" +version = "1.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87cc5ceb3875bb20c2890005a4e226a4651264a5c75edb2421b52861a0a0cb50" +checksum = "445e881f4f6d382d5f27c034e25eb92edd7c784ceab92a0937db7f2e9471b938" dependencies = [ "tinyvec_macros", ] @@ -16587,18 +16528,18 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.40.0" +version = "1.41.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2b070231665d27ad9ec9b8df639893f46727666c6767db40317fbe920a5d998" +checksum = "145f3413504347a2be84393cc8a7d2fb4d863b375909ea59f2158261aa258bbb" dependencies = [ "backtrace", "bytes", "libc", "mio 1.0.2", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "pin-project-lite", "signal-hook-registry", - "socket2 0.5.5", + "socket2", "tokio-macros", "tracing", "windows-sys 0.52.0", @@ -16622,7 +16563,7 @@ checksum = "693d596312e88961bc67d7f1f97af8a70227d9f90c31bba5806eec004978d752" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.86", ] [[package]] @@ -16637,9 +16578,9 @@ dependencies = [ [[package]] name = "tokio-postgres" -version = "0.7.10" +version = "0.7.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d340244b32d920260ae7448cb72b6e238bddc3d4f7603394e7dd46ed8e48f5b8" +checksum = "3b5d3742945bc7d7f210693b0c58ae542c6fd47b17adbbda0885f3dcb34a6bdb" dependencies = [ "async-trait", "byteorder", @@ -16648,16 +16589,16 @@ dependencies = [ "futures-channel", "futures-util", "log", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "percent-encoding", "phf", "pin-project-lite", "postgres-protocol", "postgres-types", "rand 0.8.5", - "socket2 0.5.5", + "socket2", "tokio", - "tokio-util 0.7.10", + "tokio-util 0.7.12", "whoami", ] @@ -16667,7 +16608,7 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7f57eb36ecbe0fc510036adff84824dd3c24bb781e21bfa67b69d556aa85214f" dependencies = [ - "pin-project 1.1.3", + "pin-project 1.1.7", "rand 0.8.5", "tokio", ] @@ -16689,7 +16630,7 @@ version = "0.24.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c28327cf380ac148141087fbfb9de9d7bd4e84ab5d2c28fbc911d753de8a7081" dependencies = [ - "rustls 0.21.10", + "rustls 0.21.12", "tokio", ] @@ -16710,7 +16651,7 @@ version = "0.26.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0c7bc40d0e5a97695bb96e27995cd3a08538541b0a846f65bba7a359f36700d4" dependencies = [ - "rustls 0.23.7", + "rustls 0.23.16", "rustls-pki-types", "tokio", ] @@ -16727,9 +16668,9 @@ dependencies = [ [[package]] name = "tokio-stream" -version = "0.1.14" +version = "0.1.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "397c988d37662c7dda6d2208364a706264bf3d6138b11d436cbac0ad38832842" +checksum = "4f4e6ce100d0eb49a2734f8c0812bcd324cf357d21810932c5df6b96ef2b86f1" dependencies = [ "futures-core", "pin-project-lite", @@ -16738,9 +16679,9 @@ dependencies = [ [[package]] name = "tokio-test" -version = "0.4.3" +version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e89b3cbabd3ae862100094ae433e1def582cf86451b4e9bf83aa7ac1d8a7d719" +checksum = "2468baabc3311435b55dd935f702f42cd1b8abb7e754fb7dfb16bd36aa88f9f7" dependencies = [ "async-stream", "bytes", @@ -16751,9 +16692,9 @@ dependencies = [ [[package]] name = "tokio-tungstenite" -version = "0.20.1" +version = "0.21.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "212d5dcb2a1ce06d81107c3d0ffa3121fe974b73f068c8282cb1c32328113b6c" +checksum = "c83b561d025642014097b66e6c1bb422783339e0909e4429cde4749d1990bc38" dependencies = [ "futures-util", "log", @@ -16777,9 +16718,9 @@ dependencies = [ [[package]] name = "tokio-util" -version = "0.7.10" +version = "0.7.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5419f34732d9eb6ee4c3578b7989078579b7f039cbbb9ca2c4da015749371e15" +checksum = "61e7c3654c13bcd040d4a03abee2c75b1d14a37b423cf5a813ceae1cc903ec6a" dependencies = [ "bytes", "futures-core", @@ -16787,7 +16728,6 @@ dependencies = [ "futures-sink", "pin-project-lite", "tokio", - "tracing", ] [[package]] @@ -16813,47 +16753,50 @@ dependencies = [ ] [[package]] -name = "toml_datetime" -version = "0.6.6" +name = "toml" +version = "0.8.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4badfd56924ae69bcc9039335b2e017639ce3f9b001c393c1b2d1ef846ce2cbf" +checksum = "a1ed1f98e3fdc28d6d910e6737ae6ab1a93bf1985935a1193e68f93eeb68d24e" dependencies = [ "serde", + "serde_spanned", + "toml_datetime", + "toml_edit 0.22.22", ] [[package]] -name = "toml_edit" -version = "0.19.15" +name = "toml_datetime" +version = "0.6.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b5bb770da30e5cbfde35a2d7b9b8a2c4b8ef89548a7a6aeab5c9a576e3e7421" +checksum = "0dd7358ecb8fc2f8d014bf86f6f638ce72ba252a2c3a2572f2a795f1d23efb41" dependencies = [ - "indexmap 2.6.0", "serde", - "serde_spanned", - "toml_datetime", - "winnow", ] [[package]] name = "toml_edit" -version = "0.20.2" +version = "0.19.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "396e4d48bbb2b7554c944bde63101b5ae446cff6ec4a24227428f15eb72ef338" +checksum = "1b5bb770da30e5cbfde35a2d7b9b8a2c4b8ef89548a7a6aeab5c9a576e3e7421" dependencies = [ "indexmap 2.6.0", + "serde", + "serde_spanned", "toml_datetime", - "winnow", + "winnow 0.5.40", ] [[package]] name = "toml_edit" -version = "0.21.1" +version = "0.22.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a8534fd7f78b5405e860340ad6575217ce99f38d4d5c8f2442cb5ecb50090e1" +checksum = "4ae48d6208a266e853d946088ed816055e556cc6028c5e8e2b84d9fa5dd7c7f5" dependencies = [ "indexmap 2.6.0", + "serde", + "serde_spanned", "toml_datetime", - "winnow", + "winnow 0.6.20", ] [[package]] @@ -16865,24 +16808,24 @@ dependencies = [ "async-stream", "async-trait", "axum 0.6.20", - "base64 0.21.6", + "base64 0.21.7", "bytes", "flate2", "futures-core", "futures-util", "h2 0.3.26", - "http 0.2.11", + "http 0.2.12", "http-body 0.4.6", - "hyper 0.14.28", + "hyper 0.14.31", "hyper-timeout 0.4.1", "percent-encoding", - "pin-project 1.1.3", + "pin-project 1.1.7", "prost 0.11.9", "rustls-pemfile 1.0.4", "tokio", "tokio-rustls 0.24.1", "tokio-stream", - "tower", + "tower 0.4.13", "tower-layer", "tower-service", "tracing", @@ -16901,21 +16844,21 @@ dependencies = [ "bytes", "flate2", "h2 0.3.26", - "http 0.2.11", + "http 0.2.12", "http-body 0.4.6", - "hyper 0.14.28", + "hyper 0.14.31", "hyper-timeout 0.4.1", "percent-encoding", - "pin-project 1.1.3", - "prost 0.12.3", - "rustls-native-certs 0.7.0", - "rustls-pemfile 2.1.1", - "strum 0.26.2", + "pin-project 1.1.7", + "prost 0.12.6", + "rustls-native-certs 0.7.3", + "rustls-pemfile 2.2.0", + "strum 0.26.3", "strum_macros 0.26.4", "tokio", "tokio-rustls 0.26.0", "tokio-stream", - "tower", + "tower 0.4.13", "tower-layer", "tower-service", "tracing", @@ -16924,32 +16867,32 @@ dependencies = [ [[package]] name = "tonic" -version = "0.12.1" +version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38659f4a91aba8598d27821589f5db7dddd94601e7a01b1e485a50e5484c7401" +checksum = "877c5b330756d856ffcc4553ab34a5684481ade925ecc54bcd1bf02b1d0d4d52" dependencies = [ "async-stream", "async-trait", - "axum 0.7.5", + "axum 0.7.7", "base64 0.22.1", "bytes", - "h2 0.4.5", + "h2 0.4.6", "http 1.1.0", - "http-body 1.0.0", + "http-body 1.0.1", "http-body-util", - "hyper 1.4.1", + "hyper 1.5.0", "hyper-timeout 0.5.1", "hyper-util", "percent-encoding", - "pin-project 1.1.3", - "prost 0.13.1", - "rustls-native-certs 0.7.0", - "rustls-pemfile 2.1.1", - "socket2 0.5.5", + "pin-project 1.1.7", + "prost 0.13.3", + "rustls-native-certs 0.8.0", + "rustls-pemfile 2.2.0", + "socket2", "tokio", "tokio-rustls 0.26.0", "tokio-stream", - "tower", + "tower 0.4.13", "tower-layer", "tower-service", "tracing", @@ -16961,8 +16904,8 @@ version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "548c227bd5c0fae5925812c4ec6c66ffcfced23ea370cb823f4d18f0fc1cb6a7" dependencies = [ - "prost 0.12.3", - "prost-types 0.12.3", + "prost 0.12.6", + "prost-types 0.12.6", "tokio", "tokio-stream", "tonic 0.11.0", @@ -16983,12 +16926,28 @@ dependencies = [ "futures-core", "futures-util", "indexmap 1.9.3", - "pin-project 1.1.3", + "pin-project 1.1.7", "pin-project-lite", "rand 0.8.5", "slab", "tokio", - "tokio-util 0.7.10", + "tokio-util 0.7.12", + "tower-layer", + "tower-service", + "tracing", +] + +[[package]] +name = "tower" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2873938d487c3cfb9aed7546dc9f2711d867c9f90c46b889989a2cb84eba6b4f" +dependencies = [ + "futures-core", + "futures-util", + "pin-project-lite", + "sync_wrapper 0.1.2", + "tokio", "tower-layer", "tower-service", "tracing", @@ -17005,7 +16964,7 @@ dependencies = [ "bytes", "futures-core", "futures-util", - "http 0.2.11", + "http 0.2.12", "http-body 0.4.6", "http-range-header", "pin-project-lite", @@ -17016,15 +16975,15 @@ dependencies = [ [[package]] name = "tower-layer" -version = "0.3.2" +version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c20c8dbed6283a09604c3e69b4b7eeb54e298b8a600d4d5ecb5ad39de609f1d0" +checksum = "121c2a6cda46980bb0fcd1647ffaf6cd3fc79a013de288782836f6df9c48780e" [[package]] name = "tower-service" -version = "0.3.2" +version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6bc1c9ce2b5135ac7f93c72918fc37feb872bdc6a5533a8b85eb4b86bfdae52" +checksum = "8df9b6e13f2d32c91b9bd719c00d1958837bc7dec474d94952798cc8e69eeec3" [[package]] name = "tower-util" @@ -17058,7 +17017,7 @@ checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.86", ] [[package]] @@ -17077,7 +17036,7 @@ version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "97d095ae15e245a057c8e8451bab9b3ee1e1f68e9ba2b4fbc18d0ac5237835f2" dependencies = [ - "pin-project 1.1.3", + "pin-project 1.1.7", "tracing", ] @@ -17164,9 +17123,9 @@ dependencies = [ [[package]] name = "triomphe" -version = "0.1.11" +version = "0.1.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "859eb650cfee7434994602c3a68b25d77ad9e68c8a6cd491616ef86661382eb3" +checksum = "ef8f7726da4807b58ea5c96fdc122f80702030edc33b35aff9190a51148ccc85" dependencies = [ "serde", "stable_deref_trait", @@ -17180,17 +17139,17 @@ checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" [[package]] name = "trybuild" -version = "1.0.88" +version = "1.0.101" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76de4f783e610194f6c98bfd53f9fc52bb2e0d02c947621e8a0f4ecc799b2880" +checksum = "8dcd332a5496c026f1e14b7f3d2b7bd98e509660c04239c58b0ba38a12daded4" dependencies = [ - "basic-toml", "glob", - "once_cell", "serde", "serde_derive", "serde_json", + "target-triple", "termcolor", + "toml 0.8.19", ] [[package]] @@ -17215,7 +17174,7 @@ dependencies = [ "proc-macro2", "quote", "serde_derive_internals", - "syn 2.0.48", + "syn 2.0.86", ] [[package]] @@ -17233,14 +17192,14 @@ dependencies = [ [[package]] name = "tungstenite" -version = "0.20.1" +version = "0.21.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e3dac10fd62eaf6617d3a904ae222845979aec67c615d1c842b4002c7666fb9" +checksum = "9ef1a641ea34f399a848dea702823bbecfb4c486f911735368f1f137cb8257e1" dependencies = [ "byteorder", "bytes", "data-encoding", - "http 0.2.11", + "http 1.1.0", "httparse", "log", "rand 0.8.5", @@ -17274,9 +17233,9 @@ checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825" [[package]] name = "typeshare" -version = "1.0.1" +version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f44d1a2f454cb35fbe05b218c410792697e76bd868f48d3a418f2cd1a7d527d6" +checksum = "19be0f411120091e76e13e5a0186d8e2bcc3e7e244afdb70152197f1a8486ceb" dependencies = [ "chrono", "serde", @@ -17286,12 +17245,12 @@ dependencies = [ [[package]] name = "typeshare-annotation" -version = "1.0.2" +version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc670d0e358428857cc3b4bf504c691e572fccaec9542ff09212d3f13d74b7a9" +checksum = "a615d6c2764852a2e88a4f16e9ce1ea49bb776b5872956309e170d63a042a34f" dependencies = [ "quote", - "syn 1.0.109", + "syn 2.0.86", ] [[package]] @@ -17317,18 +17276,18 @@ dependencies = [ [[package]] name = "tzdb_data" -version = "0.1.1" +version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "629555d2921f3f0dc0de98699415a8b2b61dfcd3a0b082a327f7ed748bbb2b76" +checksum = "654c1ec546942ce0594e8d220e6b8e3899e0a0a8fe70ddd54d32a376dfefe3f8" dependencies = [ "tz-rs", ] [[package]] name = "ucd-trie" -version = "0.1.6" +version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed646292ffc8188ef8ea4d1e0e0150fb15a5c2e12ad9b8fc191ae7a8a7f3c4b9" +checksum = "2896d95c02a80c6d6a5d6e953d479f5ddf2dfdb6a244441010e373ac0fb88971" [[package]] name = "uint" @@ -17350,9 +17309,9 @@ checksum = "eaea85b334db583fe3274d12b4cd1880032beab409c0d774be044d4480ab9a94" [[package]] name = "uncased" -version = "0.9.9" +version = "0.9.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b9bc53168a4be7402ab86c3aad243a84dd7381d09be0eddc81280c1da95ca68" +checksum = "e1b88fcfe09e89d3866a5c11019378088af2d24c3fbd4f0543f96b479ec90697" dependencies = [ "version_check", ] @@ -17415,24 +17374,21 @@ dependencies = [ [[package]] name = "unicase" -version = "2.7.0" +version = "2.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7d2d4dafb69621809a81864c9c1b864479e1235c0dd4e199924b9742439ed89" -dependencies = [ - "version_check", -] +checksum = "7e51b68083f157f853b6379db119d1c1be0e6e4dec98101079dec41f6f5cf6df" [[package]] name = "unicode-bidi" -version = "0.3.14" +version = "0.3.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f2528f27a9eb2b21e69c95319b30bd0efd85d09c379741b0f78ea1d86be2416" +checksum = "5ab17db44d7388991a428b2ee655ce0c212e862eff1768a455c58f9aad6e7893" [[package]] name = "unicode-ident" -version = "1.0.12" +version = "1.0.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" +checksum = "e91b56cd4cadaeb79bbf1a5645f6b4f8dc5bde8834ad5894a8db35fda9efa1fe" [[package]] name = "unicode-linebreak" @@ -17442,30 +17398,36 @@ checksum = "3b09c83c3c29d37506a3e260c08c03743a6bb66a9cd432c6934ab501a190571f" [[package]] name = "unicode-normalization" -version = "0.1.22" +version = "0.1.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c5713f0fc4b5db668a2ac63cdb7bb4469d8c9fed047b1d0292cc7b0ce2ba921" +checksum = "5033c97c4262335cded6d6fc3e5c18ab755e1a3dc96376350f3d8e9f009ad956" dependencies = [ "tinyvec", ] +[[package]] +name = "unicode-properties" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e70f2a8b45122e719eb623c01822704c4e0907e7e426a05927e1a1cfff5b75d0" + [[package]] name = "unicode-segmentation" -version = "1.10.1" +version = "1.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1dd624098567895118886609431a7c3b8f516e41d30e0643f03d94592a147e36" +checksum = "f6ccf251212114b54433ec949fd6a7841275f9ada20dddd2f29e9ceea4501493" [[package]] name = "unicode-width" -version = "0.1.11" +version = "0.1.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e51733f11c9c4f72aa0c160008246859e340b00807569a0da0e7a1079b27ba85" +checksum = "7dd6e30e90baa6f72411720665d41d89b9a3d039dc45b8faea1ddd07f617f6af" [[package]] name = "unicode-xid" -version = "0.2.4" +version = "0.2.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f962df74c8c05a667b5ee8bcf162993134c104e96440b663c8daa176dc772d8c" +checksum = "ebc1c04c71510c7f702b52b7c350734c9ff1295c464a03335b00bb84fc54f853" [[package]] name = "universal-hash" @@ -17479,9 +17441,9 @@ dependencies = [ [[package]] name = "unsafe-libyaml" -version = "0.2.10" +version = "0.2.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab4c90930b95a82d00dc9e9ac071b4991924390d46cbd0dfe566148667605e4b" +checksum = "673aac59facbab8a9007c7f6108d11f63b603f7cabff99fabf650fea5c32b861" [[package]] name = "untrusted" @@ -17532,16 +17494,15 @@ checksum = "daf8dba3b7eb870caf1ddeed7bc9d2a049f3cfdfae7cb521b087cc33ae4c49da" [[package]] name = "utcnow" -version = "0.2.4" +version = "0.2.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b10d49a98e3bbd9b73084a7b15f96c5b2136d5a2e2799b99d19a2774d8519d1f" +checksum = "efb0d3098213b3f48185495cf55494b3201824dae380b9d7e408fedcd793ffcd" dependencies = [ - "autocfg", "const_fn", "errno", "js-sys", "libc", - "rustix 0.38.28", + "rustix 0.38.38", "wasi 0.11.0+wasi-snapshot-preview1", "wasm-bindgen", "winapi 0.3.9", @@ -17555,9 +17516,9 @@ checksum = "09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9" [[package]] name = "utf8parse" -version = "0.2.1" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a" +checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" [[package]] name = "uuid" @@ -17565,7 +17526,7 @@ version = "1.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f8c5f0a0af699448548ad1a2fbf920fb4bee257eae39953ba95cb84891a0446a" dependencies = [ - "getrandom 0.2.11", + "getrandom 0.2.15", "serde", ] @@ -17577,9 +17538,9 @@ checksum = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d" [[package]] name = "value-bag" -version = "1.5.0" +version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd65ff0de3304a013e6dfeb7324e1cd389a8a000e582e3c9c9fae82ced778e26" +checksum = "3ef4c4aa54d5d05a279399bfa921ec387b7aba77caf7a682ae8d86785b8fdad2" [[package]] name = "variant_count" @@ -17611,9 +17572,9 @@ checksum = "579a42fc0b8e0c63b76519a339be31bed574929511fa53c1a3acae26eb258f29" [[package]] name = "version_check" -version = "0.9.4" +version = "0.9.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" +checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" [[package]] name = "vte" @@ -17646,15 +17607,15 @@ dependencies = [ [[package]] name = "waker-fn" -version = "1.1.1" +version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3c4517f54858c779bbcbf228f4fca63d121bf85fbecb2dc578cdf4a39395690" +checksum = "317211a0dc0ceedd78fb2ca9a44aed3d7b9b26f81870d485c07122b4350673b7" [[package]] name = "walkdir" -version = "2.4.0" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d71d857dc86794ca4c280d616f7da00d2dbfd8cd788846559a6813e6aa4b54ee" +checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b" dependencies = [ "same-file", "winapi-util", @@ -17671,32 +17632,31 @@ dependencies = [ [[package]] name = "warp" -version = "0.3.6" +version = "0.3.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c1e92e22e03ff1230c03a1a8ee37d2f89cd489e2e541b7550d6afad96faed169" +checksum = "4378d202ff965b011c64817db11d5829506d3404edeadb61f190d111da3f231c" dependencies = [ "bytes", "futures-channel", "futures-util", "headers 0.3.9", - "http 0.2.11", - "hyper 0.14.28", + "http 0.2.12", + "hyper 0.14.31", "log", "mime", "mime_guess", "multer 2.1.0", "percent-encoding", - "pin-project 1.1.3", - "rustls-pemfile 1.0.4", + "pin-project 1.1.7", + "rustls-pemfile 2.2.0", "scoped-tls", "serde", "serde_json", "serde_urlencoded", "tokio", - "tokio-rustls 0.24.1", - "tokio-stream", + "tokio-rustls 0.25.0", "tokio-tungstenite", - "tokio-util 0.7.10", + "tokio-util 0.7.12", "tower-service", "tracing", ] @@ -17707,9 +17667,9 @@ version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "948552bbb7a5fb4ba3169fd09b6c1ab53c1b2fdd82603295df550f7a1ec644c0" dependencies = [ - "hyper 0.14.28", + "hyper 0.14.31", "once_cell", - "reqwest 0.11.23", + "reqwest 0.11.27", "thiserror", "unicase", "warp", @@ -17755,7 +17715,7 @@ dependencies = [ "once_cell", "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.86", "wasm-bindgen-shared", ] @@ -17789,7 +17749,7 @@ checksum = "26c6ab57572f7a24a4985830b120de1594465e5d500f24afe89e16b4e833ef68" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.86", "wasm-bindgen-backend", "wasm-bindgen-shared", ] @@ -17802,22 +17762,9 @@ checksum = "65fc09f10666a9f147042251e0dda9c18f166ff7de300607007e96bdebc1068d" [[package]] name = "wasm-streams" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4609d447824375f43e1ffbc051b50ad8f4b3ae8219680c94452ea05eb240ac7" -dependencies = [ - "futures-util", - "js-sys", - "wasm-bindgen", - "wasm-bindgen-futures", - "web-sys", -] - -[[package]] -name = "wasm-streams" -version = "0.4.0" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b65dc4c90b63b118468cf747d8bf3566c1913ef60be765b5730ead9e0a3ba129" +checksum = "15053d8d85c7eccdbefef60f06769760a563c7f0a9d6902a13d35c7800b0ad65" dependencies = [ "futures-util", "js-sys", @@ -17843,9 +17790,9 @@ dependencies = [ [[package]] name = "web-sys" -version = "0.3.66" +version = "0.3.72" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50c24a44ec86bb68fbecd1b3efed7e85ea5621b39b35ef2766b66cd984f8010f" +checksum = "f6488b90108c040df0fe62fa815cbdee25124641df01814dd7282749234c6112" dependencies = [ "js-sys", "wasm-bindgen", @@ -17857,7 +17804,7 @@ version = "0.22.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ed63aea5ce73d0ff405984102c42de94fc55a6b75765d621c65262469b3c9b53" dependencies = [ - "ring 0.17.7", + "ring 0.17.8", "untrusted 0.9.0", ] @@ -17872,15 +17819,15 @@ dependencies = [ [[package]] name = "webpki-roots" -version = "0.25.3" +version = "0.25.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1778a42e8b3b90bff8d0f5032bf22250792889a5cdc752aa0020c84abe3aaf10" +checksum = "5f20c57d8d7db6d3b86154206ae5d8fba62dd39573114de97c2cb0578251f8e1" [[package]] name = "weezl" -version = "0.1.7" +version = "0.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9193164d4de03a926d909d3bc7c30543cecb35400c02114792c2cae20d5e2dbb" +checksum = "53a85b86a771b1c87058196170769dd264f66c0782acf1ae6cc51bfd64b39082" [[package]] name = "which" @@ -17891,25 +17838,25 @@ dependencies = [ "either", "home", "once_cell", - "rustix 0.38.28", + "rustix 0.38.38", ] [[package]] name = "whoami" -version = "1.5.0" +version = "1.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fec781d48b41f8163426ed18e8fc2864c12937df9ce54c88ede7bd47270893e" +checksum = "372d5b87f58ec45c384ba03563b03544dc5fadc3983e434b286913f5b4a9bb6d" dependencies = [ - "redox_syscall 0.4.1", + "redox_syscall 0.5.7", "wasite", "web-sys", ] [[package]] name = "wide" -version = "0.7.13" +version = "0.7.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c68938b57b33da363195412cfc5fc37c9ed49aa9cfe2156fde64b8d2c9498242" +checksum = "b828f995bf1e9622031f8009f8481a85406ce1f4d4588ff746d872043e855690" dependencies = [ "bytemuck", "safe_arch", @@ -17923,9 +17870,9 @@ checksum = "17882f045410753661207383517a6f62ec3dbeb6a4ed2acce01f0728238d1983" [[package]] name = "wildmatch" -version = "2.3.0" +version = "2.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "495ec47bf3c1345005f40724f0269362c8556cbc43aed0526ed44cae1d35fceb" +checksum = "68ce1ab1f8c62655ebe1350f589c61e505cf94d385bc6a12899442d9081e71fd" [[package]] name = "winapi" @@ -17951,11 +17898,11 @@ checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" [[package]] name = "winapi-util" -version = "0.1.6" +version = "0.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f29e6f9198ba0d26b4c9f07dbe6f9ed633e1f3d5b8b414090084349e46a52596" +checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb" dependencies = [ - "winapi 0.3.9", + "windows-sys 0.59.0", ] [[package]] @@ -17970,7 +17917,37 @@ version = "0.52.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9" dependencies = [ - "windows-targets 0.52.0", + "windows-targets 0.52.6", +] + +[[package]] +name = "windows-registry" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e400001bb720a623c1c69032f8e3e4cf09984deec740f007dd2b03ec864804b0" +dependencies = [ + "windows-result", + "windows-strings", + "windows-targets 0.52.6", +] + +[[package]] +name = "windows-result" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d1043d8214f791817bab27572aaa8af63732e11bf84aa21a45a78d6c317ae0e" +dependencies = [ + "windows-targets 0.52.6", +] + +[[package]] +name = "windows-strings" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4cd9b125c486025df0eabcb585e62173c6c9eddcec5d117d3b6e8c30e2ee4d10" +dependencies = [ + "windows-result", + "windows-targets 0.52.6", ] [[package]] @@ -17997,7 +17974,16 @@ version = "0.52.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" dependencies = [ - "windows-targets 0.52.0", + "windows-targets 0.52.6", +] + +[[package]] +name = "windows-sys" +version = "0.59.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b" +dependencies = [ + "windows-targets 0.52.6", ] [[package]] @@ -18032,17 +18018,18 @@ dependencies = [ [[package]] name = "windows-targets" -version = "0.52.0" +version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a18201040b24831fbb9e4eb208f8892e1f50a37feb53cc7ff887feb8f50e7cd" +checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973" dependencies = [ - "windows_aarch64_gnullvm 0.52.0", - "windows_aarch64_msvc 0.52.0", - "windows_i686_gnu 0.52.0", - "windows_i686_msvc 0.52.0", - "windows_x86_64_gnu 0.52.0", - "windows_x86_64_gnullvm 0.52.0", - "windows_x86_64_msvc 0.52.0", + "windows_aarch64_gnullvm 0.52.6", + "windows_aarch64_msvc 0.52.6", + "windows_i686_gnu 0.52.6", + "windows_i686_gnullvm", + "windows_i686_msvc 0.52.6", + "windows_x86_64_gnu 0.52.6", + "windows_x86_64_gnullvm 0.52.6", + "windows_x86_64_msvc 0.52.6", ] [[package]] @@ -18059,9 +18046,9 @@ checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" [[package]] name = "windows_aarch64_gnullvm" -version = "0.52.0" +version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb7764e35d4db8a7921e09562a0304bf2f93e0a51bfccee0bd0bb0b666b015ea" +checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3" [[package]] name = "windows_aarch64_msvc" @@ -18077,9 +18064,9 @@ checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" [[package]] name = "windows_aarch64_msvc" -version = "0.52.0" +version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbaa0368d4f1d2aaefc55b6fcfee13f41544ddf36801e793edbbfd7d7df075ef" +checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469" [[package]] name = "windows_i686_gnu" @@ -18095,9 +18082,15 @@ checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" [[package]] name = "windows_i686_gnu" -version = "0.52.0" +version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a28637cb1fa3560a16915793afb20081aba2c92ee8af57b4d5f28e4b3e7df313" +checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b" + +[[package]] +name = "windows_i686_gnullvm" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66" [[package]] name = "windows_i686_msvc" @@ -18113,9 +18106,9 @@ checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" [[package]] name = "windows_i686_msvc" -version = "0.52.0" +version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ffe5e8e31046ce6230cc7215707b816e339ff4d4d67c65dffa206fd0f7aa7b9a" +checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66" [[package]] name = "windows_x86_64_gnu" @@ -18131,9 +18124,9 @@ checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" [[package]] name = "windows_x86_64_gnu" -version = "0.52.0" +version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d6fa32db2bc4a2f5abeacf2b69f7992cd09dca97498da74a151a3132c26befd" +checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78" [[package]] name = "windows_x86_64_gnullvm" @@ -18149,9 +18142,9 @@ checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" [[package]] name = "windows_x86_64_gnullvm" -version = "0.52.0" +version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a657e1e9d3f514745a572a6846d3c7aa7dbe1658c056ed9c3344c4109a6949e" +checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" [[package]] name = "windows_x86_64_msvc" @@ -18167,34 +18160,33 @@ checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" [[package]] name = "windows_x86_64_msvc" -version = "0.52.0" +version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dff9641d1cd4be8d1a070daf9e3773c5f67e78b4d9d42263020c057706765c04" +checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" [[package]] name = "winnow" -version = "0.5.33" +version = "0.5.40" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b7520bbdec7211caa7c4e682eb1fbe07abe20cee6756b6e00f537c82c11816aa" +checksum = "f593a95398737aeed53e489c785df13f3618e41dbcd6718c6addbf1395aa6876" dependencies = [ "memchr", ] [[package]] -name = "winreg" -version = "0.50.0" +name = "winnow" +version = "0.6.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "524e57b2c537c0f9b1e69f1965311ec12182b4122e45035b1508cd24d2adadb1" +checksum = "36c1fec1a2bb5866f07c25f68c26e565c4c200aebb96d7e55710c19d3e8ac49b" dependencies = [ - "cfg-if", - "windows-sys 0.48.0", + "memchr", ] [[package]] name = "winreg" -version = "0.52.0" +version = "0.50.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a277a57398d4bfa075df44f501a17cfdf8542d224f0d36095a2adc7aee4ef0a5" +checksum = "524e57b2c537c0f9b1e69f1965311ec12182b4122e45035b1508cd24d2adadb1" dependencies = [ "cfg-if", "windows-sys 0.48.0", @@ -18227,13 +18219,13 @@ dependencies = [ [[package]] name = "xattr" -version = "1.2.0" +version = "1.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "914566e6413e7fa959cc394fb30e563ba80f3541fbd40816d4c05a0fc3f2a0f1" +checksum = "8da84f1a25939b27f6820d92aed108f83ff920fdf11a7b19366c27c4cda81d4f" dependencies = [ "libc", - "linux-raw-sys 0.4.12", - "rustix 0.38.28", + "linux-raw-sys 0.4.14", + "rustix 0.38.38", ] [[package]] @@ -18247,15 +18239,9 @@ dependencies = [ [[package]] name = "yansi" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09041cd90cf85f7f8b2df60c646f853b7f535ce68f85244eb6731cf89fa498ec" - -[[package]] -name = "yansi" -version = "1.0.0-rc.1" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1367295b8f788d371ce2dbc842c7b709c73ee1364d30351dd300ec2203b12377" +checksum = "cfe53a6657fd280eaa890a3bc59152892ffa3e30101319d168b781ed6529b049" [[package]] name = "yup-oauth2" @@ -18265,10 +18251,10 @@ checksum = "b61da40aeb0907a65f7fb5c1de83c5a224d6a9ebb83bf918588a2bb744d636b8" dependencies = [ "anyhow", "async-trait", - "base64 0.21.6", + "base64 0.21.7", "futures", - "http 0.2.11", - "hyper 0.14.28", + "http 0.2.12", + "hyper 0.14.31", "hyper-rustls 0.24.2", "itertools 0.12.1", "log", @@ -18297,29 +18283,30 @@ dependencies = [ [[package]] name = "zerocopy" -version = "0.7.32" +version = "0.7.35" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "74d4d3961e53fa4c9a25a8637fc2bfaf2595b3d3ae34875568a5cf64787716be" +checksum = "1b9b4fd18abc82b8136838da5d50bae7bdea537c574d8dc1a34ed098d6c166f0" dependencies = [ + "byteorder", "zerocopy-derive", ] [[package]] name = "zerocopy-derive" -version = "0.7.32" +version = "0.7.35" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ce1b18ccd8e73a9321186f97e46f9f04b778851177567b1975109d26a08d2a6" +checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.86", ] [[package]] name = "zeroize" -version = "1.7.0" +version = "1.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "525b4ec142c6b68a2d10f01f7bbf6755599ca3f81ea53b8431b7dd348f5fdb2d" +checksum = "ced3678a2879b30306d323f4542626697a464a97c0a07c9aebf7ebca65cd4dde" dependencies = [ "zeroize_derive", ] @@ -18332,7 +18319,7 @@ checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.86", ] [[package]] @@ -18350,9 +18337,9 @@ dependencies = [ [[package]] name = "zipsign-api" -version = "0.1.1" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2ba5aa1827d6b1a35a29b3413ec69ce5f796e4d897e3e5b38f461bef41d225ea" +checksum = "6413a546ada9dbcd0b9a3e0b0880581279e35047bce9797e523b3408e1df607c" dependencies = [ "ed25519-dalek 2.1.1", "thiserror", @@ -18360,27 +18347,27 @@ dependencies = [ [[package]] name = "zstd" -version = "0.13.0" +version = "0.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bffb3309596d527cfcba7dfc6ed6052f1d39dfbd7c867aa2e865e4a449c10110" +checksum = "fcf2b778a664581e31e389454a7072dab1647606d44f7feea22cd5abb9c9f3f9" dependencies = [ "zstd-safe", ] [[package]] name = "zstd-safe" -version = "7.0.0" +version = "7.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43747c7422e2924c11144d5229878b98180ef8b06cca4ab5af37afc8a8d8ea3e" +checksum = "54a3ab4db68cea366acc5c897c7b4d4d1b8994a9cd6e6f841f8964566a419059" dependencies = [ "zstd-sys", ] [[package]] name = "zstd-sys" -version = "2.0.9+zstd.1.5.5" +version = "2.0.13+zstd.1.5.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e16efa8a874a0481a574084d34cc26fdb3b99627480f785888deb6386506656" +checksum = "38ff0f21cfee8f97d94cef41359e0c89aa6113028ab0291aa8ca0038995a95aa" dependencies = [ "cc", "pkg-config", diff --git a/Cargo.toml b/Cargo.toml index c9b687d313c277..b35e48cb311a0f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -288,7 +288,7 @@ homepage = "https://aptoslabs.com" license = "Apache-2.0" publish = false repository = "https://github.com/aptos-labs/aptos-core" -rust-version = "1.78.0" +rust-version = "1.80.1" [workspace.dependencies] # Internal crate dependencies. @@ -658,7 +658,7 @@ mockall = "0.11.4" more-asserts = "0.3.0" named-lock = "0.2.0" native-tls = "0.2.10" -neptune = { version = "13.0.0", default_features = false } +neptune = { version = "13.0.0", default-features = false } ntest = "0.9.3" num = "0.4.0" num-bigint = { version = "0.3.2", features = ["rand"] } @@ -740,7 +740,7 @@ ring = { version = "0.16.20", features = ["std"] } ripemd = "0.1.1" rocksdb = { version = "0.22.0", features = ["lz4"] } rsa = { version = "0.9.6" } -rstack-self = { version = "0.3.0", features = ["dw"], default_features = false } +rstack-self = { version = "0.3.0", features = ["dw"], default-features = false } rstest = "0.15.0" rusty-fork = "0.3.0" rustversion = "1.0.14" @@ -788,7 +788,7 @@ textwrap = "0.15.0" thiserror = "1.0.37" threadpool = "1.8.1" thread_local = "1.1.7" -time = { version = "0.3.24", features = ["serde"] } +time = { version = "0.3.25", features = ["serde"] } tiny-bip39 = "0.8.2" tiny-keccak = { version = "2.0.2", features = ["keccak", "sha3"] } toml_edit = "0.14.3" @@ -823,7 +823,7 @@ uint = "0.9.4" ureq = { version = "1.5.4", features = [ "json", "native-tls", -], default_features = false } +], default-features = false } url = { version = "2.4.0", features = ["serde"] } uuid = { version = "1.0.0", features = ["v4", "serde"] } variant_count = "1.1.0" diff --git a/aptos-move/aptos-aggregator/src/resolver.rs b/aptos-move/aptos-aggregator/src/resolver.rs index 0f522753392a1f..dbefb8b2c0338f 100644 --- a/aptos-move/aptos-aggregator/src/resolver.rs +++ b/aptos-move/aptos-aggregator/src/resolver.rs @@ -175,6 +175,7 @@ pub trait TDelayedFieldView { /// 1. The resource is read during the transaction execution. /// 2. The resource is not present in write set of the VM Change Set. /// 3. The resource has a delayed field in it that is part of delayed field change set. + /// /// We get the keys of these resources and metadata to include them in the write set /// of the transaction output after value exchange. fn get_reads_needing_exchange( @@ -190,7 +191,8 @@ pub trait TDelayedFieldView { /// 1. At least one of the resource in the group is read during the transaction execution. /// 2. The resource group is not present in the write set of the VM Change Set. /// 3. At least one of the resources in the group has a delayed field in it that is part. - /// of delayed field change set. + /// of delayed field change set. + /// /// We get the keys of these resource groups and metadata to include them in the write set /// of the transaction output after value exchange. For each such resource group, this function /// outputs:(resource key, (metadata, resource group size)) diff --git a/aptos-move/aptos-e2e-comparison-testing/src/lib.rs b/aptos-move/aptos-e2e-comparison-testing/src/lib.rs index 83dbfb1af36134..70d5d28c6d8e0d 100644 --- a/aptos-move/aptos-e2e-comparison-testing/src/lib.rs +++ b/aptos-move/aptos-e2e-comparison-testing/src/lib.rs @@ -483,7 +483,7 @@ fn dump_and_compile_from_package_metadata( File::create(module_path.clone()).expect("Error encountered while creating file!"); }; let source_str = unzip_metadata_str(&module.source).unwrap(); - std::fs::write(&module_path.clone(), source_str).unwrap(); + std::fs::write(module_path.clone(), source_str).unwrap(); } // step 2: unzip, parse the manifest file diff --git a/aptos-move/aptos-gas-profiling/src/flamegraph.rs b/aptos-move/aptos-gas-profiling/src/flamegraph.rs index 1c08054d73a2c7..0700ce3624f6c0 100644 --- a/aptos-move/aptos-gas-profiling/src/flamegraph.rs +++ b/aptos-move/aptos-gas-profiling/src/flamegraph.rs @@ -154,7 +154,7 @@ impl ExecutionAndIOCosts { } } - self.lines.push(&self.path(), frame_cost); + self.lines.push(self.path(), frame_cost); self.path.pop(); } diff --git a/aptos-move/aptos-sdk-builder/src/main.rs b/aptos-move/aptos-sdk-builder/src/main.rs index 8597e7769ca6cd..147aa655ab26f0 100644 --- a/aptos-move/aptos-sdk-builder/src/main.rs +++ b/aptos-move/aptos-sdk-builder/src/main.rs @@ -40,7 +40,7 @@ struct Options { /// * Rust crates may contain a version number, e.g. "test:1.2.0". /// * In Java, this is expected to be a package name, e.g. "com.test" to create Java files in `com/test`. /// * In Go, this is expected to be of the format "go_module/path/go_package_name", - /// and `aptos_types` is assumed to be in "go_module/path/aptos_types". + /// and `aptos_types` is assumed to be in "go_module/path/aptos_types". #[clap(long)] module_name: Option, diff --git a/aptos-move/aptos-sdk-builder/src/rust.rs b/aptos-move/aptos-sdk-builder/src/rust.rs index cc01736cb3748f..ebac0de0514c5d 100644 --- a/aptos-move/aptos-sdk-builder/src/rust.rs +++ b/aptos-move/aptos-sdk-builder/src/rust.rs @@ -42,6 +42,7 @@ pub fn output(out: &mut dyn Write, abis: &[EntryABI], local_types: bool) -> Resu writeln!(emitter.out, "#![allow(clippy::too_many_arguments)]")?; writeln!(emitter.out, "#![allow(clippy::arc_with_non_send_sync)]")?; writeln!(emitter.out, "#![allow(clippy::get_first)]")?; + writeln!(emitter.out, "#![allow(clippy::doc_lazy_continuation)]")?; emitter.output_script_call_enum_with_imports(abis)?; diff --git a/aptos-move/aptos-vm-types/src/change_set.rs b/aptos-move/aptos-vm-types/src/change_set.rs index 5f6029dd2f984a..f49aaf5ac14a64 100644 --- a/aptos-move/aptos-vm-types/src/change_set.rs +++ b/aptos-move/aptos-vm-types/src/change_set.rs @@ -214,6 +214,7 @@ impl VMChangeSet { /// serialized changes. The conversion fails if: /// - deltas are not materialized. /// - resource group writes are not (combined &) converted to resource writes. + /// /// In addition, the caller can include changes to published modules. pub fn try_combine_into_storage_change_set( self, diff --git a/aptos-move/aptos-vm-types/src/module_and_script_storage/state_view_adapter.rs b/aptos-move/aptos-vm-types/src/module_and_script_storage/state_view_adapter.rs index c4aa089e287300..372e82183ad4d0 100644 --- a/aptos-move/aptos-vm-types/src/module_and_script_storage/state_view_adapter.rs +++ b/aptos-move/aptos-vm-types/src/module_and_script_storage/state_view_adapter.rs @@ -41,6 +41,7 @@ impl<'s, S: StateView> ModuleBytesStorage for StateViewAdapter<'s, S> { /// A (not thread-safe) implementation of code storage on top of a state view. It is never built /// directly by clients - only via [AsAptosCodeStorage] trait. Can be used to resolve both modules /// and cached scripts. +#[allow(clippy::duplicated_attributes)] #[derive(Delegate)] #[delegate( WithRuntimeEnvironment, diff --git a/aptos-move/aptos-vm-types/src/resolver.rs b/aptos-move/aptos-vm-types/src/resolver.rs index 8f2fb475bb5ec9..9e909064da745c 100644 --- a/aptos-move/aptos-vm-types/src/resolver.rs +++ b/aptos-move/aptos-vm-types/src/resolver.rs @@ -119,7 +119,7 @@ pub trait TResourceGroupView { /// Needed for backwards compatibility with the additional safety mechanism for resource /// groups, where the violation of the following invariant causes transaction failure: /// - if a resource is modified or deleted it must already exist within a group, - /// and if it is created, it must not previously exist. + /// and if it is created, it must not previously exist. /// /// For normal resources, this is asserted, but for resource groups the behavior (that /// we maintain) is for the transaction to fail with INVARIANT_VIOLATION_ERROR. diff --git a/aptos-move/aptos-vm/src/aptos_vm.rs b/aptos-move/aptos-vm/src/aptos_vm.rs index 798b1eadbb2c82..4d3bcb6de9846f 100644 --- a/aptos-move/aptos-vm/src/aptos_vm.rs +++ b/aptos-move/aptos-vm/src/aptos_vm.rs @@ -2851,7 +2851,8 @@ impl VMValidator for AptosVM { /// transaction /// 2. The script to be executed is under given specific configuration. /// 3. Invokes `Account.prologue`, which checks properties such as the transaction has the - /// right sequence number and the sender has enough balance to pay for the gas. + /// right sequence number and the sender has enough balance to pay for the gas. + /// /// TBD: /// 1. Transaction arguments matches the main function's type signature. /// We don't check this item for now and would execute the check at execution time. diff --git a/aptos-move/aptos-vm/src/move_vm_ext/session/mod.rs b/aptos-move/aptos-vm/src/move_vm_ext/session/mod.rs index e20b94c89c68ce..d3416e98cf1eed 100644 --- a/aptos-move/aptos-vm/src/move_vm_ext/session/mod.rs +++ b/aptos-move/aptos-vm/src/move_vm_ext/session/mod.rs @@ -255,6 +255,7 @@ impl<'r, 'l> SessionExt<'r, 'l> { /// * Remove resource group data from the deltas /// * Attempt to read the existing resource group data or create a new empty container /// * Apply the deltas to the resource group data + /// /// The process for translating Move deltas of resource groups to resources is /// * Add -- insert element in container /// * If entry exists, Unreachable diff --git a/aptos-move/aptos-vm/src/transaction_validation.rs b/aptos-move/aptos-vm/src/transaction_validation.rs index 38f255524917fb..856fc9b41d60ea 100644 --- a/aptos-move/aptos-vm/src/transaction_validation.rs +++ b/aptos-move/aptos-vm/src/transaction_validation.rs @@ -229,7 +229,7 @@ pub(crate) fn run_script_prologue( /// 1. The multisig tx exists /// 2. It has received enough approvals to meet the signature threshold of the multisig account /// 3. If only the payload hash was stored on chain, the provided payload in execution should -/// match that hash. +/// match that hash. pub(crate) fn run_multisig_prologue( session: &mut SessionExt, module_storage: &impl AptosModuleStorage, diff --git a/aptos-move/block-executor/src/lib.rs b/aptos-move/block-executor/src/lib.rs index d7bfdc4a0c5cfa..1b1e35466e4201 100644 --- a/aptos-move/block-executor/src/lib.rs +++ b/aptos-move/block-executor/src/lib.rs @@ -73,9 +73,9 @@ in E is either currently being executed or (its last incarnation) has completed. Each thread repeats the following (loop in 'executor.rs'): - Check done: if V and E are empty and no other thread is performing a task, -then return. + then return. - Find next task: Perform the task with the smallest transaction index tx in V -and E: + and E: 1. Execution task: Execute the next incarnation of tx. If a value marked as ESTIMATE is read, abort execution and add tx back to E. Otherwise: (a) If there is a write to a memory location to which the previous finished @@ -91,6 +91,7 @@ and E: currently in E or being executed and add them to V. (c) Create an execution task for transaction tx with an incremented incarnation number, and add it to E. + When a transaction tx_k reads an ESTIMATE marker written by tx_j (with j < k), we say that tx_k encounters a dependency (we treat tx_k as tx_j's dependency because its read depends on a value that tx_j is estimated to write). diff --git a/aptos-move/block-executor/src/scheduler.rs b/aptos-move/block-executor/src/scheduler.rs index 0d27eb94ba8f50..2a23844fc664d4 100644 --- a/aptos-move/block-executor/src/scheduler.rs +++ b/aptos-move/block-executor/src/scheduler.rs @@ -864,9 +864,9 @@ impl Scheduler { /// Grab an index to try and validate next (by fetch-and-incrementing validation_idx). /// - If the index is out of bounds, return None (and invoke a check of whether - /// all txns can be committed). + /// all txns can be committed). /// - If the transaction is ready for validation (EXECUTED state), return the version - /// to the caller. + /// to the caller. /// - Otherwise, return None. fn try_validate_next_version( &self, @@ -904,10 +904,10 @@ impl Scheduler { /// Grab an index to try and execute next (by fetch-and-incrementing execution_idx). /// - If the index is out of bounds, return None (and invoke a check of whether - /// all txns can be committed). + /// all txns can be committed). /// - If the transaction is ready for execution (Ready state), attempt - /// to create the next incarnation (should happen exactly once), and if successful, - /// return the version to the caller for the corresponding ExecutionTask. + /// to create the next incarnation (should happen exactly once), and if successful, + /// return the version to the caller for the corresponding ExecutionTask. /// - Otherwise, return None. fn try_execute_next_version(&self) -> Option<(TxnIndex, Incarnation, ExecutionTaskType)> { let idx_to_execute = self.execution_idx.fetch_add(1, Ordering::SeqCst); diff --git a/aptos-move/e2e-move-tests/src/tests/string_args.rs b/aptos-move/e2e-move-tests/src/tests/string_args.rs index bc399062b87c36..32dc5a34916d05 100644 --- a/aptos-move/e2e-move-tests/src/tests/string_args.rs +++ b/aptos-move/e2e-move-tests/src/tests/string_args.rs @@ -287,7 +287,7 @@ fn string_args_good() { "hello".as_bytes(), ], ]; - let u64_vec_max = vec![std::u64::MAX, std::u64::MAX, std::u64::MAX]; + let u64_vec_max = vec![u64::MAX, u64::MAX, u64::MAX]; let u64_long = vec![0xABCDEFu64; 100]; let i = 0u64; let j = 0u64; @@ -625,7 +625,7 @@ fn string_args_generic_instantiation() { ], ]; let u8_vec = vec![0xFFu8; 100]; - let u64_vec = vec![std::u64::MAX, std::u64::MAX, std::u64::MAX]; + let u64_vec = vec![u64::MAX, u64::MAX, u64::MAX]; let val1 = long_addr; let val2 = "hi there! hello".as_bytes(); let i = 0u64; diff --git a/aptos-move/e2e-testsuite/src/tests/verify_txn.rs b/aptos-move/e2e-testsuite/src/tests/verify_txn.rs index d1a4868d366052..5d7b66383bf293 100644 --- a/aptos-move/e2e-testsuite/src/tests/verify_txn.rs +++ b/aptos-move/e2e-testsuite/src/tests/verify_txn.rs @@ -493,12 +493,12 @@ fn verify_chain_id() { #[test] fn verify_max_sequence_number() { let mut executor = FakeExecutor::from_head_genesis(); - let sender = executor.create_raw_account_data(900_000, std::u64::MAX); + let sender = executor.create_raw_account_data(900_000, u64::MAX); executor.add_account_data(&sender); let private_key = &sender.account().privkey; let txn = transaction_test_helpers::get_test_signed_transaction( *sender.address(), - std::u64::MAX, /* sequence_number */ + u64::MAX, /* sequence_number */ private_key, private_key.public_key(), None, /* script */ diff --git a/aptos-move/framework/cached-packages/src/aptos_framework_sdk_builder.rs b/aptos-move/framework/cached-packages/src/aptos_framework_sdk_builder.rs index e2a32c0640bf5e..5e02e4bcf9083b 100644 --- a/aptos-move/framework/cached-packages/src/aptos_framework_sdk_builder.rs +++ b/aptos-move/framework/cached-packages/src/aptos_framework_sdk_builder.rs @@ -15,6 +15,7 @@ #![allow(clippy::too_many_arguments)] #![allow(clippy::arc_with_non_send_sync)] #![allow(clippy::get_first)] +#![allow(clippy::doc_lazy_continuation)] use aptos_types::{ account_address::AccountAddress, transaction::{EntryFunction, TransactionPayload}, diff --git a/aptos-move/framework/cached-packages/src/aptos_token_objects_sdk_builder.rs b/aptos-move/framework/cached-packages/src/aptos_token_objects_sdk_builder.rs index 92b35f81cebc99..a8e82674046470 100644 --- a/aptos-move/framework/cached-packages/src/aptos_token_objects_sdk_builder.rs +++ b/aptos-move/framework/cached-packages/src/aptos_token_objects_sdk_builder.rs @@ -15,6 +15,7 @@ #![allow(clippy::too_many_arguments)] #![allow(clippy::arc_with_non_send_sync)] #![allow(clippy::get_first)] +#![allow(clippy::doc_lazy_continuation)] use aptos_types::{ account_address::AccountAddress, transaction::{EntryFunction, TransactionPayload}, diff --git a/aptos-move/framework/cached-packages/src/aptos_token_sdk_builder.rs b/aptos-move/framework/cached-packages/src/aptos_token_sdk_builder.rs index 62b706dd415ccc..57635cb5c6cc4c 100644 --- a/aptos-move/framework/cached-packages/src/aptos_token_sdk_builder.rs +++ b/aptos-move/framework/cached-packages/src/aptos_token_sdk_builder.rs @@ -15,6 +15,7 @@ #![allow(clippy::too_many_arguments)] #![allow(clippy::arc_with_non_send_sync)] #![allow(clippy::get_first)] +#![allow(clippy::doc_lazy_continuation)] use aptos_types::{ account_address::AccountAddress, transaction::{EntryFunction, TransactionPayload}, diff --git a/aptos-move/framework/src/built_package.rs b/aptos-move/framework/src/built_package.rs index 3f120349a6f040..d6c6c8503ce726 100644 --- a/aptos-move/framework/src/built_package.rs +++ b/aptos-move/framework/src/built_package.rs @@ -296,11 +296,7 @@ impl BuiltPackage { // If enabled generate docs. if options.with_docs { - let docgen = if let Some(opts) = options.docgen_options.clone() { - opts - } else { - DocgenOptions::default() - }; + let docgen = options.docgen_options.clone().unwrap_or_default(); let dep_paths = package .deps_compiled_units .iter() diff --git a/aptos-move/framework/src/natives/cryptography/ristretto255.rs b/aptos-move/framework/src/natives/cryptography/ristretto255.rs index 93d3d888843af5..43b6e7fa93ee06 100644 --- a/aptos-move/framework/src/natives/cryptography/ristretto255.rs +++ b/aptos-move/framework/src/natives/cryptography/ristretto255.rs @@ -26,6 +26,7 @@ pub(crate) const COMPRESSED_POINT_NUM_BYTES: usize = 32; /// employed in curve25519 is: /// 1. Strauss, when n <= 190, see /// 2. Pippinger, when n > 190, which roughly requires O(n / log_2 n) scalar multiplications +/// /// For simplicity, we estimate the complexity as O(n / log_2 n) pub fn multi_scalar_mul_gas( size: usize, diff --git a/aptos-node/src/lib.rs b/aptos-node/src/lib.rs index abf6e340e6c4d3..a15b834e7d2c4e 100644 --- a/aptos-node/src/lib.rs +++ b/aptos-node/src/lib.rs @@ -217,6 +217,7 @@ pub fn start( start_and_report_ports(config, log_file, create_global_rayon_pool, None, None) } +#[allow(unexpected_cfgs)] /// Start an Aptos node pub fn start_and_report_ports( config: NodeConfig, diff --git a/config/src/config/consensus_config.rs b/config/src/config/consensus_config.rs index 93a3fc15c59cd1..c601a55b9a0516 100644 --- a/config/src/config/consensus_config.rs +++ b/config/src/config/consensus_config.rs @@ -472,6 +472,7 @@ impl ConfigSanitizer for ConsensusConfig { } } +#[allow(unexpected_cfgs)] /// Returns true iff consensus-only-perf-test is enabled fn is_consensus_only_perf_test_enabled() -> bool { cfg_if! { diff --git a/config/src/config/override_node_config.rs b/config/src/config/override_node_config.rs index c8648c00d5acdf..b74601dcc7311b 100644 --- a/config/src/config/override_node_config.rs +++ b/config/src/config/override_node_config.rs @@ -219,7 +219,7 @@ mod test { config.full_node_networks.push(Default::default()); let diff_yaml = override_config.get_yaml().unwrap(); - let default_node_config = serde_yaml::to_value(&NetworkConfig::default()).unwrap(); + let default_node_config = serde_yaml::to_value(NetworkConfig::default()).unwrap(); let mut expected_yaml: serde_yaml::Value = serde_yaml::Value::Null; expected_yaml["full_node_networks"] = serde_yaml::Value::Sequence(vec![default_node_config.clone(), default_node_config]); @@ -238,7 +238,7 @@ mod test { // Note, the diff will include the entire vector, not just the non-equal elements let diff_yaml = override_config.get_yaml().unwrap(); - let default_node_config = serde_yaml::to_value(&NetworkConfig::default()).unwrap(); + let default_node_config = serde_yaml::to_value(NetworkConfig::default()).unwrap(); let mut expected_yaml: serde_yaml::Value = serde_yaml::Value::Null; expected_yaml["full_node_networks"] = serde_yaml::Value::Sequence(vec![default_node_config.clone(), default_node_config]); diff --git a/config/src/utils.rs b/config/src/utils.rs index 65b5dd443a7913..56f59bb051d70f 100644 --- a/config/src/utils.rs +++ b/config/src/utils.rs @@ -87,11 +87,7 @@ fn get_random_port() -> u16 { fn try_bind(port: Option) -> ::std::io::Result { // Use the provided port or 0 to request a random available port from the OS - let port = if let Some(provided_port) = port { - provided_port - } else { - 0 - }; + let port = port.unwrap_or_default(); let listener = TcpListener::bind(("localhost", port))?; let addr = listener.local_addr()?; diff --git a/consensus/consensus-types/src/block_data.rs b/consensus/consensus-types/src/block_data.rs index 9135153fab2ab6..24b3aefbbb5b8d 100644 --- a/consensus/consensus-types/src/block_data.rs +++ b/consensus/consensus-types/src/block_data.rs @@ -245,7 +245,7 @@ impl BlockData { } pub fn new_genesis(timestamp_usecs: u64, quorum_cert: QuorumCert) -> Self { - assume!(quorum_cert.certified_block().epoch() < u64::max_value()); // unlikely to be false in this universe + assume!(quorum_cert.certified_block().epoch() < u64::MAX); // unlikely to be false in this universe Self { epoch: quorum_cert.certified_block().epoch() + 1, round: 0, @@ -262,7 +262,7 @@ impl BlockData { ) -> Self { // We want all the NIL blocks to agree on the timestamps even though they're generated // independently by different validators, hence we're using the timestamp of a parent + 1. - assume!(quorum_cert.certified_block().timestamp_usecs() < u64::max_value()); // unlikely to be false in this universe + assume!(quorum_cert.certified_block().timestamp_usecs() < u64::MAX); // unlikely to be false in this universe let timestamp_usecs = quorum_cert.certified_block().timestamp_usecs(); Self { diff --git a/consensus/consensus-types/src/common.rs b/consensus/consensus-types/src/common.rs index 869a40c683cc4c..b5d0d5a1fe8368 100644 --- a/consensus/consensus-types/src/common.rs +++ b/consensus/consensus-types/src/common.rs @@ -25,7 +25,6 @@ use std::{ collections::HashSet, fmt::{self, Write}, sync::Arc, - u64, }; use tokio::sync::oneshot; diff --git a/consensus/src/block_storage/sync_manager.rs b/consensus/src/block_storage/sync_manager.rs index 07b20edf8a9229..7361eb503b50f1 100644 --- a/consensus/src/block_storage/sync_manager.rs +++ b/consensus/src/block_storage/sync_manager.rs @@ -248,7 +248,7 @@ impl BlockStore { /// It works as follows: /// 1. request the gap blocks from the peer (from highest_ledger_info to highest_ordered_cert) /// 2. We persist the gap blocks to storage before start sync to ensure we could restart if we - /// crash in the middle of the sync. + /// crash in the middle of the sync. /// 3. We prune the old tree and replace with a new tree built with the 3-chain. async fn sync_to_highest_quorum_cert( &self, @@ -312,7 +312,7 @@ impl BlockStore { + 1; // although unlikely, we might wrap num_blocks around on a 32-bit machine - assert!(num_blocks < std::usize::MAX as u64); + assert!(num_blocks < usize::MAX as u64); BLOCKS_FETCHED_FROM_NETWORK_WHILE_FAST_FORWARD_SYNC.inc_by(num_blocks); let mut blocks = retriever diff --git a/consensus/src/liveness/proposal_generator.rs b/consensus/src/liveness/proposal_generator.rs index 47bdea4c9ce959..4a022568f0618f 100644 --- a/consensus/src/liveness/proposal_generator.rs +++ b/consensus/src/liveness/proposal_generator.rs @@ -230,6 +230,7 @@ impl PipelineBackpressureConfig { /// round. /// ProposalGenerator is the one choosing the branch to extend: /// - round is given by the caller (typically determined by RoundState). +/// /// The transactions for the proposed block are delivered by PayloadClient. /// /// PayloadClient should be aware of the pending transactions in the branch that it is extending, @@ -341,10 +342,10 @@ impl ProposalGenerator { /// Errors returned by the PayloadClient implementation are propagated to the caller. /// The logic for choosing the branch to extend is as follows: /// 1. The function gets the highest head of a one-chain from block tree. - /// The new proposal must extend hqc to ensure optimistic responsiveness. + /// The new proposal must extend hqc to ensure optimistic responsiveness. /// 2. The round is provided by the caller. /// 3. In case a given round is not greater than the calculated parent, return an OldRound - /// error. + /// error. pub async fn generate_proposal( &self, round: Round, diff --git a/consensus/src/liveness/round_state.rs b/consensus/src/liveness/round_state.rs index bef7b31b44fe37..0ed4caa281d65d 100644 --- a/consensus/src/liveness/round_state.rs +++ b/consensus/src/liveness/round_state.rs @@ -104,7 +104,7 @@ impl ExponentialTimeInterval { "max_exponent for RoundStateTimeInterval should be <32" ); assert!( - exponent_base.powf(max_exponent as f64).ceil() < f64::from(std::u32::MAX), + exponent_base.powf(max_exponent as f64).ceil() < f64::from(u32::MAX), "Maximum interval multiplier should be less then u32::Max" ); ExponentialTimeInterval { diff --git a/consensus/src/round_manager.rs b/consensus/src/round_manager.rs index 5a090d426c5476..470df1e4711a3c 100644 --- a/consensus/src/round_manager.rs +++ b/consensus/src/round_manager.rs @@ -754,8 +754,9 @@ impl RoundManager { /// can be aggregated to a TimeoutCertificate. /// The timeout vote message can be one of the following three options: /// 1) In case a validator has previously voted in this round, it repeats the same vote and sign - /// a timeout. + /// a timeout. /// 2) Otherwise vote for a NIL block and sign a timeout. + /// /// Note this function returns Err even if messages are broadcasted successfully because timeout /// is considered as error. It only returns Ok(()) when the timeout is stale. pub async fn process_local_timeout(&mut self, round: Round) -> anyhow::Result<()> { @@ -875,7 +876,7 @@ impl RoundManager { /// 2. Execute and add it to a block store. /// 3. Try to vote for it following the safety rules. /// 4. In case a validator chooses to vote, send the vote to the representatives at the next - /// round. + /// round. async fn process_proposal(&mut self, proposal: Block) -> anyhow::Result<()> { let author = proposal .author() @@ -1329,7 +1330,7 @@ impl RoundManager { /// Upon new vote: /// 1. Ensures we're processing the vote from the same round as local round /// 2. Filter out votes for rounds that should not be processed by this validator (to avoid - /// potential attacks). + /// potential attacks). /// 2. Add the vote to the pending votes and check whether it finishes a QC. /// 3. Once the QC/TC successfully formed, notify the RoundState. pub async fn process_vote_msg(&mut self, vote_msg: VoteMsg) -> anyhow::Result<()> { diff --git a/consensus/src/transaction_shuffler/sender_aware.rs b/consensus/src/transaction_shuffler/sender_aware.rs index 1f1a4ffeabc8d2..dc9e82155c1549 100644 --- a/consensus/src/transaction_shuffler/sender_aware.rs +++ b/consensus/src/transaction_shuffler/sender_aware.rs @@ -16,8 +16,8 @@ use std::collections::{HashMap, VecDeque}; /// invariant in terms of ordering /// 1. Relative ordering of all transactions from the same before and after shuffling is same /// 2. Relative ordering of all transactions across different senders will also be maintained if they are -/// non-conflicting. In other words, if the input block has only one transaction per sender, the output -/// ordering will remain unchanged. +/// non-conflicting. In other words, if the input block has only one transaction per sender, the output +/// ordering will remain unchanged. /// /// The shuffling algorithm is O(n) and following is the pseudo code for it. /// loop: diff --git a/consensus/src/util/mock_time_service.rs b/consensus/src/util/mock_time_service.rs index 9f9a665cac48b8..b05522554ade50 100644 --- a/consensus/src/util/mock_time_service.rs +++ b/consensus/src/util/mock_time_service.rs @@ -88,7 +88,7 @@ impl SimulatedTimeService { now: Duration::from_secs(0), pending: vec![], time_limit: Duration::from_secs(0), - max: Duration::from_secs(std::u64::MAX), + max: Duration::from_secs(u64::MAX), })), } } @@ -100,7 +100,7 @@ impl SimulatedTimeService { now: Duration::from_secs(0), pending: vec![], time_limit, - max: Duration::from_secs(std::u64::MAX), + max: Duration::from_secs(u64::MAX), })), } } diff --git a/crates/aptos-api-tester/src/utils.rs b/crates/aptos-api-tester/src/utils.rs index 44c08a0b4cb6c1..9d1fc3306125f7 100644 --- a/crates/aptos-api-tester/src/utils.rs +++ b/crates/aptos-api-tester/src/utils.rs @@ -21,6 +21,7 @@ use std::{env, fmt::Display, num::ParseIntError, str::FromStr}; // Test failure #[derive(Debug)] +#[allow(dead_code)] pub enum TestFailure { // Variant for failed checks, e.g. wrong balance Fail(&'static str), diff --git a/crates/aptos-crypto-derive/src/lib.rs b/crates/aptos-crypto-derive/src/lib.rs index 6db0d92e526a62..b4edac8e5ebc9f 100644 --- a/crates/aptos-crypto-derive/src/lib.rs +++ b/crates/aptos-crypto-derive/src/lib.rs @@ -96,8 +96,6 @@ //! } //! ``` -#![forbid(unsafe_code)] - extern crate proc_macro; mod hasher; diff --git a/crates/aptos-dkg/src/pvss/test_utils.rs b/crates/aptos-dkg/src/pvss/test_utils.rs index 0a8a87b168af44..800dae77d2ae69 100644 --- a/crates/aptos-dkg/src/pvss/test_utils.rs +++ b/crates/aptos-dkg/src/pvss/test_utils.rs @@ -37,6 +37,7 @@ pub struct DealingArgs { /// - a vector of `n` encryption PKs /// - a vector of `n` input secrets, denoted by `iss` /// - the aggregated dealt secret key from `\sum_i iss[i]` +/// /// Useful in tests and benchmarks when wanting to quickly deal & verify a transcript. pub fn setup_dealing( sc: &T::SecretSharingConfig, diff --git a/crates/aptos-infallible/src/math.rs b/crates/aptos-infallible/src/math.rs index e38cc65f4d7a8a..43331fe489465e 100644 --- a/crates/aptos-infallible/src/math.rs +++ b/crates/aptos-infallible/src/math.rs @@ -36,7 +36,7 @@ /// assert_eq!(checked!(10_u32 - (1_u32 + 1_u32)).unwrap(), 8); /// assert_eq!(checked!(10_u32 + (1_u32 + 1_u32)).unwrap(), 12); /// -/// let max = u32::max_value(); +/// let max = u32::MAX; /// assert!(checked!(max + 1_u32).is_err()); /// assert!(checked!(0_u32 - 1_u32).is_err()); /// diff --git a/crates/aptos-infallible/src/nonzero.rs b/crates/aptos-infallible/src/nonzero.rs index 52f5647d5041c0..1f676d562e3fc0 100644 --- a/crates/aptos-infallible/src/nonzero.rs +++ b/crates/aptos-infallible/src/nonzero.rs @@ -19,7 +19,7 @@ mod tests { #[test] fn test_nonzero() { assert_eq!(1, NonZeroUsize!(1).get()); - assert_eq!(std::usize::MAX, NonZeroUsize!(std::usize::MAX).get()); + assert_eq!(usize::MAX, NonZeroUsize!(usize::MAX).get()); } #[test] diff --git a/crates/aptos-logger/src/aptos_logger.rs b/crates/aptos-logger/src/aptos_logger.rs index cdeb02974339fd..e8c2303de4c313 100644 --- a/crates/aptos-logger/src/aptos_logger.rs +++ b/crates/aptos-logger/src/aptos_logger.rs @@ -157,6 +157,7 @@ impl Serialize for LogEntry { } } +#[allow(unexpected_cfgs)] impl LogEntry { fn new(event: &Event, thread_name: Option<&str>, enable_backtrace: bool) -> Self { use crate::{Value, Visitor}; diff --git a/crates/aptos-rate-limiter/src/rate_limit.rs b/crates/aptos-rate-limiter/src/rate_limit.rs index be880eadafd590..846a70877ab78b 100644 --- a/crates/aptos-rate-limiter/src/rate_limit.rs +++ b/crates/aptos-rate-limiter/src/rate_limit.rs @@ -107,8 +107,8 @@ impl TokenBucketRateLimiter { log_info: String::new(), buckets: RwLock::new(HashMap::new()), new_bucket_start_percentage: 100, - default_bucket_size: std::usize::MAX, - default_fill_rate: std::usize::MAX, + default_bucket_size: usize::MAX, + default_fill_rate: usize::MAX, enabled: false, metrics: None, } @@ -240,9 +240,9 @@ impl Bucket { label, log_info: String::new(), key: String::new(), - tokens: std::usize::MAX, - size: std::usize::MAX, - rate: std::usize::MAX, + tokens: usize::MAX, + size: usize::MAX, + rate: usize::MAX, last_refresh_time: Instant::now(), enabled: false, allowed_in_period: 0, diff --git a/crates/aptos-telemetry-service/src/peer_location.rs b/crates/aptos-telemetry-service/src/peer_location.rs index 37ccf8622b0ec5..b83533ef65c438 100644 --- a/crates/aptos-telemetry-service/src/peer_location.rs +++ b/crates/aptos-telemetry-service/src/peer_location.rs @@ -12,6 +12,7 @@ use std::{collections::HashMap, env, str::FromStr, sync::Arc, time::Duration}; const ANALYTICS_PROJECT_ID: &str = "analytics-test-345723"; +#[allow(dead_code)] #[derive(Clone, Debug)] pub struct PeerLocation { pub peer_id: PeerId, diff --git a/crates/aptos-telemetry-service/src/tests/test_context.rs b/crates/aptos-telemetry-service/src/tests/test_context.rs index 896204c9dab6bc..2ffd934cc09ae8 100644 --- a/crates/aptos-telemetry-service/src/tests/test_context.rs +++ b/crates/aptos-telemetry-service/src/tests/test_context.rs @@ -56,6 +56,7 @@ pub async fn new_test_context() -> TestContext { ) } +#[allow(dead_code)] #[derive(Clone)] pub struct TestContext { pub config: TelemetryServiceConfig, diff --git a/crates/aptos-time-service/src/lib.rs b/crates/aptos-time-service/src/lib.rs index d457334f2278f7..c1c3b8fad2e3cb 100644 --- a/crates/aptos-time-service/src/lib.rs +++ b/crates/aptos-time-service/src/lib.rs @@ -3,6 +3,7 @@ // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] +#![allow(unexpected_cfgs)] //! Abstract time service diff --git a/crates/aptos-time-service/src/mock.rs b/crates/aptos-time-service/src/mock.rs index 26510b6b71eef3..ba8547133d7e76 100644 --- a/crates/aptos-time-service/src/mock.rs +++ b/crates/aptos-time-service/src/mock.rs @@ -19,7 +19,7 @@ use std::{ #[inline] #[allow(clippy::arithmetic_side_effects)] fn duration_max() -> Duration { - Duration::new(std::u64::MAX, 1_000_000_000 - 1) + Duration::new(u64::MAX, 1_000_000_000 - 1) } /// Each waiter in the pending queue has a unique index to distinguish waiters diff --git a/crates/aptos/src/node/analyze/analyze_validators.rs b/crates/aptos/src/node/analyze/analyze_validators.rs index abfd7e64f4a11c..6be33cb4a1a5a4 100644 --- a/crates/aptos/src/node/analyze/analyze_validators.rs +++ b/crates/aptos/src/node/analyze/analyze_validators.rs @@ -311,7 +311,7 @@ impl AnalyzeValidators { pub fn fetch_epoch(epoch: u64, aptos_db: &dyn DbReader) -> Result> { let batch = 100; - let mut cursor = u64::max_value(); + let mut cursor = u64::MAX; let mut result: Vec = vec![]; let ledger_version = aptos_db.get_latest_ledger_info()?.ledger_info().version(); diff --git a/crates/short-hex-str/src/lib.rs b/crates/short-hex-str/src/lib.rs index 14f40644856f4d..c6a3d848a2265b 100644 --- a/crates/short-hex-str/src/lib.rs +++ b/crates/short-hex-str/src/lib.rs @@ -126,7 +126,7 @@ impl AsShortHexStr for [u8; 32] { mod test { use super::*; use proptest::prelude::*; - use std::{str, u8}; + use std::str; #[test] fn test_hex_encode() { diff --git a/crates/transaction-emitter-lib/src/emitter/account_minter.rs b/crates/transaction-emitter-lib/src/emitter/account_minter.rs index 274f340a4bd70d..f0ee967689c3ca 100644 --- a/crates/transaction-emitter-lib/src/emitter/account_minter.rs +++ b/crates/transaction-emitter-lib/src/emitter/account_minter.rs @@ -213,11 +213,12 @@ impl<'t> AccountMinter<'t> { /// workflow of create accounts: /// 1. Use given source_account as the money source - /// 1a. Optionally, and if it is root account, mint balance to that account + /// 1a. Optionally, and if it is root account, mint balance to that account /// 2. load tc account to create seed accounts, one seed account for each endpoint /// 3. mint coins from faucet to new created seed accounts /// 4. split number of requested accounts into equally size of groups /// 5. each seed account take responsibility to create one size of group requested accounts and mint coins to them + /// /// example: /// requested totally 100 new accounts with 10 endpoints /// will create 10 seed accounts, each seed account create 10 new accounts diff --git a/docker/builder/docker-bake-rust-all.hcl b/docker/builder/docker-bake-rust-all.hcl index b190d3136a086d..cdb5d98904f7a6 100644 --- a/docker/builder/docker-bake-rust-all.hcl +++ b/docker/builder/docker-bake-rust-all.hcl @@ -78,8 +78,8 @@ target "builder-base" { target = "builder-base" context = "." contexts = { - # Run `docker buildx imagetools inspect rust:1.78.0-bullseye` to find the latest multi-platform hash - rust = "docker-image://rust:1.78.0-bullseye@sha256:c8f85185bd2e482d88e1b8a90705435309ca9d54ccc3bcccf24a32378b8ff1a8" + # Run `docker buildx imagetools inspect rust:1.80.1-bullseye` to find the latest multi-platform hash + rust = "docker-image://rust:1.80.1-bullseye@sha256:f6f599d3f027a97fb60cb87854199fcde390e25cee216712c3f9eede545b052e" } args = { PROFILE = "${PROFILE}" diff --git a/ecosystem/indexer-grpc/indexer-grpc-cache-worker/src/worker.rs b/ecosystem/indexer-grpc/indexer-grpc-cache-worker/src/worker.rs index 22b6e2d0d07f93..acb774b8e34c84 100644 --- a/ecosystem/indexer-grpc/indexer-grpc-cache-worker/src/worker.rs +++ b/ecosystem/indexer-grpc/indexer-grpc-cache-worker/src/worker.rs @@ -104,6 +104,7 @@ impl Worker { /// * If metadata is not present and cache is not empty, crash. /// * If metadata is present, start from file store version. /// 4. Process the streaming response. + /// /// TODO: Use the ! return type when it is stable. /// TODO: Rewrite logic to actually conform to this description pub async fn run(&mut self) -> Result<()> { diff --git a/ecosystem/indexer-grpc/indexer-grpc-data-service/src/service.rs b/ecosystem/indexer-grpc/indexer-grpc-data-service/src/service.rs index f2faf424086314..b44bfecb2a5cc5 100644 --- a/ecosystem/indexer-grpc/indexer-grpc-data-service/src/service.rs +++ b/ecosystem/indexer-grpc/indexer-grpc-data-service/src/service.rs @@ -272,15 +272,7 @@ async fn get_data_with_tasks( None => MAX_FETCH_TASKS_PER_REQUEST, Some(transactions_count) => { let num_tasks = transactions_count / TRANSACTIONS_PER_STORAGE_BLOCK; - if num_tasks >= MAX_FETCH_TASKS_PER_REQUEST { - // Limit the max tasks to MAX_FETCH_TASKS_PER_REQUEST - MAX_FETCH_TASKS_PER_REQUEST - } else if num_tasks < 1 { - // Limit the min tasks to 1 - 1 - } else { - num_tasks - } + num_tasks.clamp(1, MAX_FETCH_TASKS_PER_REQUEST) }, }, Err(_) => { diff --git a/ecosystem/indexer-grpc/indexer-grpc-file-store/src/processor.rs b/ecosystem/indexer-grpc/indexer-grpc-file-store/src/processor.rs index e9e18d0fb6440f..bf1ad50d2b4908 100644 --- a/ecosystem/indexer-grpc/indexer-grpc-file-store/src/processor.rs +++ b/ecosystem/indexer-grpc/indexer-grpc-file-store/src/processor.rs @@ -107,9 +107,9 @@ impl Processor { /// 1. Check chain id at the beginning and every step after /// 2. Get the batch start version from file store metadata /// 3. Start loop - /// 3.1 Check head from cache, decide whether we need to parallel process or just wait - /// 3.2 If we're ready to process, create max of 10 threads and fetch / upload data - /// 3.3 Update file store metadata at the end of a batch + /// 3.1 Check head from cache, decide whether we need to parallel process or just wait + /// 3.2 If we're ready to process, create max of 10 threads and fetch / upload data + /// 3.3 Update file store metadata at the end of a batch pub async fn run(&mut self) -> Result<()> { let chain_id = self.chain_id; diff --git a/ecosystem/indexer-grpc/indexer-grpc-table-info/src/internal_indexer_db_service.rs b/ecosystem/indexer-grpc/indexer-grpc-table-info/src/internal_indexer_db_service.rs index 1806cf6231e7ca..a557474e6f3830 100644 --- a/ecosystem/indexer-grpc/indexer-grpc-table-info/src/internal_indexer_db_service.rs +++ b/ecosystem/indexer-grpc/indexer-grpc-table-info/src/internal_indexer_db_service.rs @@ -182,7 +182,7 @@ impl InternalIndexerDBService { end_version: Option, ) -> Result<()> { let mut start_version = self.get_start_version(node_config).await?; - while start_version <= end_version.unwrap_or(std::u64::MAX) { + while start_version <= end_version.unwrap_or(u64::MAX) { let next_version = self.db_indexer.process_a_batch(start_version)?; if next_version == start_version { tokio::time::sleep(std::time::Duration::from_millis(100)).await; diff --git a/ecosystem/indexer-grpc/indexer-grpc-table-info/src/table_info_service.rs b/ecosystem/indexer-grpc/indexer-grpc-table-info/src/table_info_service.rs index f5c939b883094e..e28629ae762b4d 100644 --- a/ecosystem/indexer-grpc/indexer-grpc-table-info/src/table_info_service.rs +++ b/ecosystem/indexer-grpc/indexer-grpc-table-info/src/table_info_service.rs @@ -392,6 +392,7 @@ impl TableInfoService { /// Uploads the snapshot to GCS if found. /// 1. If current epoch is backuped, it will skip the backup. /// 2. If the chain id in the backup metadata does not match with the current network, it will panic. + /// /// Not thread safe. /// TODO(larry): improve the error handling. async fn backup_snapshot_if_present( diff --git a/ecosystem/node-checker/fn-check-client/src/get_pfns.rs b/ecosystem/node-checker/fn-check-client/src/get_pfns.rs index 0d43726562fbd8..293a42e3e9fb71 100644 --- a/ecosystem/node-checker/fn-check-client/src/get_pfns.rs +++ b/ecosystem/node-checker/fn-check-client/src/get_pfns.rs @@ -69,6 +69,7 @@ impl GetPublicFullNodes { } /// This struct defines the format we expect each entry in the JSON to be. +#[allow(dead_code)] #[derive(Debug, Deserialize)] pub struct Entry { /// The account address of the node operator. diff --git a/execution/executor-benchmark/src/account_generator.rs b/execution/executor-benchmark/src/account_generator.rs index 4e7defd846868b..1ead42178bcca3 100644 --- a/execution/executor-benchmark/src/account_generator.rs +++ b/execution/executor-benchmark/src/account_generator.rs @@ -14,7 +14,7 @@ pub struct AccountGenerator { impl AccountGenerator { const MAX_ACCOUNT_GEN_PER_RNG: u64 = 40000; - const SEED_ACCOUNTS_ROOT_SEED: u64 = u64::max_value(); + const SEED_ACCOUNTS_ROOT_SEED: u64 = u64::MAX; const USER_ACCOUNTS_ROOT_SEED: u64 = 0; pub fn new_for_seed_accounts() -> Self { diff --git a/keyless/pepper/common/src/vuf/slip_10.rs b/keyless/pepper/common/src/vuf/slip_10.rs index 9616f5050033a7..65def266187b63 100644 --- a/keyless/pepper/common/src/vuf/slip_10.rs +++ b/keyless/pepper/common/src/vuf/slip_10.rs @@ -1,6 +1,8 @@ // Copyright (c) Aptos Foundation // SPDX-License-Identifier: Apache-2.0 +#![allow(unexpected_cfgs)] + pub extern crate derivation_path; pub extern crate ed25519_dalek; diff --git a/mempool/src/core_mempool/transaction_store.rs b/mempool/src/core_mempool/transaction_store.rs index 6bf63be986a646..b33bb87e5b35e6 100644 --- a/mempool/src/core_mempool/transaction_store.rs +++ b/mempool/src/core_mempool/transaction_store.rs @@ -401,8 +401,8 @@ impl TransactionStore { /// Check if a transaction would be ready for broadcast in mempool upon insertion (without inserting it). /// Two ways this can happen: /// 1. txn sequence number == curr_sequence_number - /// (this handles both cases where, (1) txn is first possible txn for an account and (2) the - /// previous txn is committed). + /// (this handles both cases where, (1) txn is first possible txn for an account and (2) the + /// previous txn is committed). /// 2. The txn before this is ready for broadcast but not yet committed. fn check_txn_ready(&self, txn: &MempoolTransaction, curr_sequence_number: u64) -> bool { let tx_sequence_number = txn.sequence_info.transaction_sequence_number; diff --git a/mempool/src/shared_mempool/coordinator.rs b/mempool/src/shared_mempool/coordinator.rs index 2ddfd088e1917b..d9c14a823552f0 100644 --- a/mempool/src/shared_mempool/coordinator.rs +++ b/mempool/src/shared_mempool/coordinator.rs @@ -344,6 +344,7 @@ async fn process_received_txns( /// Handles all network messages. /// - Network messages follow a simple Request/Response framework to accept new transactions +/// /// TODO: Move to RPC off of DirectSend async fn handle_network_event( bounded_executor: &BoundedExecutor, diff --git a/mempool/src/tests/core_mempool_test.rs b/mempool/src/tests/core_mempool_test.rs index 9b22e515b1d4e2..4483222f94bba4 100644 --- a/mempool/src/tests/core_mempool_test.rs +++ b/mempool/src/tests/core_mempool_test.rs @@ -152,8 +152,8 @@ fn test_ignore_same_transaction_submitted_to_mempool() { fn test_fail_for_same_gas_amount_and_not_same_expiration_time() { let (mut mempool, _) = setup_mempool(); let _ = add_txns_to_mempool(&mut mempool, vec![TestTransaction::new(0, 0, 0)]); - let txn = TestTransaction::new(0, 0, 0) - .make_signed_transaction_with_expiration_time(u64::max_value() - 1000); + let txn = + TestTransaction::new(0, 0, 0).make_signed_transaction_with_expiration_time(u64::MAX - 1000); let ret = add_signed_txn(&mut mempool, txn); assert!(ret.is_err()) } diff --git a/mempool/src/tests/test_framework.rs b/mempool/src/tests/test_framework.rs index efc1a64a125941..c2a6ef5b400680 100644 --- a/mempool/src/tests/test_framework.rs +++ b/mempool/src/tests/test_framework.rs @@ -62,6 +62,7 @@ use tokio_stream::StreamExt; /// /// TODO: Add ability to mock StateSync updates to remove transactions /// TODO: Add ability to reject transactions via Consensus +#[allow(dead_code)] pub struct MempoolNode { /// The [`CoreMempool`] storage of the node pub mempool: Arc>, diff --git a/network/framework/src/peer_manager/mod.rs b/network/framework/src/peer_manager/mod.rs index 4ee50778121fbb..4f4c3c60dc626c 100644 --- a/network/framework/src/peer_manager/mod.rs +++ b/network/framework/src/peer_manager/mod.rs @@ -9,7 +9,7 @@ //! //! The PeerManager is implemented as a number of actors: //! * A main event loop actor which is responsible for handling requests and sending -//! notification about new/lost Peers to the rest of the network stack. +//! notification about new/lost Peers to the rest of the network stack. //! * An actor responsible for dialing and listening for new connections. use crate::{ constants, diff --git a/network/netcore/src/framing.rs b/network/netcore/src/framing.rs index 4364e6bf38e101..82737670fc03ef 100644 --- a/network/netcore/src/framing.rs +++ b/network/netcore/src/framing.rs @@ -34,7 +34,7 @@ where } /// Write the contents of `buf` to `stream` prefixed with a u16 length. -/// The length of `buf` must be less than or equal to u16::max_value(). +/// The length of `buf` must be less than or equal to u16::MAX. /// /// Caller is responsible for flushing the write to `stream`. pub async fn write_u16frame<'stream, 'buf, 'c, TSocket>( @@ -152,7 +152,7 @@ mod test { fn write_large_u16frame() { let (mut a, _b) = MemorySocket::new_pair(); - let buf = vec![0; (u16::max_value() as usize) * 2]; + let buf = vec![0; (u16::MAX as usize) * 2]; let result = block_on(write_u16frame(&mut a, &buf)); assert!(result.is_err()); diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 30329882ad8219..9721e183bd4ea4 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,5 +1,5 @@ [toolchain] -channel = "1.78.0" +channel = "1.80.1" # Note: we don't specify cargofmt in our toolchain because we rely on # the nightly version of cargofmt and verify formatting in CI/CD. diff --git a/secure/net/src/lib.rs b/secure/net/src/lib.rs index 5a9ee8726a56fc..f96949721c17c5 100644 --- a/secure/net/src/lib.rs +++ b/secure/net/src/lib.rs @@ -458,7 +458,7 @@ impl NetworkStream { /// Blocking write until able to successfully send an entire message pub fn write(&mut self, data: &[u8]) -> Result<(), Error> { - let u32_max = u32::max_value() as usize; + let u32_max = u32::MAX as usize; if u32_max <= data.len() { return Err(Error::DataTooLarge(data.len())); } diff --git a/secure/storage/src/on_disk.rs b/secure/storage/src/on_disk.rs index dfbb921a6f07fd..d2db600e24ba71 100644 --- a/secure/storage/src/on_disk.rs +++ b/secure/storage/src/on_disk.rs @@ -88,7 +88,7 @@ impl KVStorage for OnDiskStorage { let mut data = self.read()?; data.insert( key.to_string(), - serde_json::to_value(&GetResponse::new(value, now))?, + serde_json::to_value(GetResponse::new(value, now))?, ); self.write(&data) } diff --git a/secure/storage/vault/src/lib.rs b/secure/storage/vault/src/lib.rs index 9677b0bdd8900a..80671aefdc952b 100644 --- a/secure/storage/vault/src/lib.rs +++ b/secure/storage/vault/src/lib.rs @@ -103,14 +103,14 @@ impl From for Error { /// A brief overview of Vault: /// /// * Vault stores data in various paths, in the case of a WebAPI, different URLs. So, for example, -/// both a secret and a policy are hosted at distinct paths. Policies are then used to define which -/// actors can access those paths and with what actions. +/// both a secret and a policy are hosted at distinct paths. Policies are then used to define which +/// actors can access those paths and with what actions. /// * Vault uses a KV store separated into various containers or secrets. In the concept of a file -/// system, a secret might represent a folder, where keys would be files, and the contents the -/// values. Policies are only applied at the folder level. +/// system, a secret might represent a folder, where keys would be files, and the contents the +/// values. Policies are only applied at the folder level. /// * Data is accessed in Vault via tokens. Policies can only be granted during creation of a -/// token, but policies can be amended afterward. So you cannot add new policies to a token, but -/// you can increase the tokens abilities by modifying the underlying policies. +/// token, but policies can be amended afterward. So you cannot add new policies to a token, but +/// you can increase the tokens abilities by modifying the underlying policies. pub struct Client { agent: ureq::Agent, host: String, diff --git a/state-sync/data-streaming-service/src/stream_engine.rs b/state-sync/data-streaming-service/src/stream_engine.rs index 5dfd9269a811a8..6d0319478a1fb8 100644 --- a/state-sync/data-streaming-service/src/stream_engine.rs +++ b/state-sync/data-streaming-service/src/stream_engine.rs @@ -1426,6 +1426,7 @@ impl DataStreamEngine for ContinuousTransactionStreamEngine { } } +#[allow(dead_code)] #[derive(Clone, Debug)] pub struct EpochEndingStreamEngine { // The original epoch ending ledger infos request made by the client diff --git a/state-sync/state-sync-driver/src/storage_synchronizer.rs b/state-sync/state-sync-driver/src/storage_synchronizer.rs index 7b22e39dd997c9..820c8b8055f6b5 100644 --- a/state-sync/state-sync-driver/src/storage_synchronizer.rs +++ b/state-sync/state-sync-driver/src/storage_synchronizer.rs @@ -455,6 +455,7 @@ impl< } /// A simple container that holds the handles to the spawned storage synchronizer threads +#[allow(dead_code)] pub struct StorageSynchronizerHandles { pub executor: JoinHandle<()>, pub ledger_updater: JoinHandle<()>, diff --git a/storage/accumulator/src/lib.rs b/storage/accumulator/src/lib.rs index 6fc7180274fa87..fd464a7cf9fb6f 100644 --- a/storage/accumulator/src/lib.rs +++ b/storage/accumulator/src/lib.rs @@ -319,8 +319,8 @@ where /// height - (log2(num_new_leaves) + 1) < height - 1 = root_level fn max_to_freeze(num_new_leaves: usize, root_level: u32) -> usize { assert!(root_level as usize <= MAX_ACCUMULATOR_PROOF_DEPTH); - assert!(num_new_leaves < (usize::max_value() / 2)); - assert!(num_new_leaves * 2 <= usize::max_value() - root_level as usize); + assert!(num_new_leaves < (usize::MAX / 2)); + assert!(num_new_leaves * 2 <= usize::MAX - root_level as usize); num_new_leaves * 2 + root_level as usize } diff --git a/storage/aptosdb/src/db/include/aptosdb_reader.rs b/storage/aptosdb/src/db/include/aptosdb_reader.rs index 4ef1dcab25c9d4..14a8668a172b2b 100644 --- a/storage/aptosdb/src/db/include/aptosdb_reader.rs +++ b/storage/aptosdb/src/db/include/aptosdb_reader.rs @@ -572,7 +572,7 @@ impl DbReader for AptosDB { if !self.skip_index_and_usage { return self.get_events( &new_block_event_key(), - u64::max_value(), + u64::MAX, Order::Descending, num_events as u64, latest_version.unwrap_or(0), @@ -903,7 +903,7 @@ impl AptosDB { "This API is deprecated for sharded DB" ); error_if_too_many_requested(limit, MAX_REQUEST_LIMIT)?; - let get_latest = order == Order::Descending && start_seq_num == u64::max_value(); + let get_latest = order == Order::Descending && start_seq_num == u64::MAX; let cursor = if get_latest { // Caller wants the latest, figure out the latest seq_num. diff --git a/storage/aptosdb/src/db/test_helper.rs b/storage/aptosdb/src/db/test_helper.rs index 9128226c2c4e3e..a0c478363c35e3 100644 --- a/storage/aptosdb/src/db/test_helper.rs +++ b/storage/aptosdb/src/db/test_helper.rs @@ -512,7 +512,7 @@ fn get_events_by_event_key( first_seq_num } else if is_latest { // Test the ability to get the latest. - u64::max_value() + u64::MAX } else { last_seq_num }; @@ -523,7 +523,7 @@ fn get_events_by_event_key( db.get_events_by_event_key(event_key, cursor, order, LIMIT, ledger_info.version())?; let num_events = events.len() as u64; - if cursor == u64::max_value() { + if cursor == u64::MAX { cursor = last_seq_num; } let expected_seq_nums: Vec<_> = if order == Order::Ascending { diff --git a/storage/aptosdb/src/event_store/mod.rs b/storage/aptosdb/src/event_store/mod.rs index 1ff4d31c330d4e..1a648f4ccb7d22 100644 --- a/storage/aptosdb/src/event_store/mod.rs +++ b/storage/aptosdb/src/event_store/mod.rs @@ -88,7 +88,7 @@ impl EventStore { event_key: &EventKey, ) -> Result> { let mut iter = self.event_db.iter::()?; - iter.seek_for_prev(&(*event_key, ledger_version, u64::max_value())); + iter.seek_for_prev(&(*event_key, ledger_version, u64::MAX)); Ok(iter.next().transpose()?.and_then( |((key, _version, seq), _idx)| if &key == event_key { Some(seq) } else { None }, diff --git a/storage/aptosdb/src/event_store/test.rs b/storage/aptosdb/src/event_store/test.rs index e27b1bd7208847..aed50f29d599c1 100644 --- a/storage/aptosdb/src/event_store/test.rs +++ b/storage/aptosdb/src/event_store/test.rs @@ -251,7 +251,7 @@ fn test_get_last_version_before_timestamp_impl(new_block_events: Vec<(Version, C .get_last_version_before_timestamp(1000, *first_block_version) .is_err()); assert!(store - .get_last_version_before_timestamp(first_block_ts, Version::max_value()) + .get_last_version_before_timestamp(first_block_ts, Version::MAX) .is_err()); let mut last_block_ts = first_block_ts; diff --git a/storage/aptosdb/src/ledger_db/event_db.rs b/storage/aptosdb/src/ledger_db/event_db.rs index f34586cfbb42da..db53e4b61da606 100644 --- a/storage/aptosdb/src/ledger_db/event_db.rs +++ b/storage/aptosdb/src/ledger_db/event_db.rs @@ -106,7 +106,7 @@ impl EventDb { iter, start_version, start_version.checked_add(num_versions as u64).ok_or( - AptosDbError::TooManyRequested(num_versions as u64, Version::max_value()), + AptosDbError::TooManyRequested(num_versions as u64, Version::MAX), )?, )) } diff --git a/storage/aptosdb/src/ledger_db/transaction_accumulator_db.rs b/storage/aptosdb/src/ledger_db/transaction_accumulator_db.rs index e5d14e6fefab11..7bf92756a2a27d 100644 --- a/storage/aptosdb/src/ledger_db/transaction_accumulator_db.rs +++ b/storage/aptosdb/src/ledger_db/transaction_accumulator_db.rs @@ -141,10 +141,11 @@ impl TransactionAccumulatorDb { /// To avoid always pruning a full left subtree, we uses the following algorithm. /// For each leaf with an odd leaf index. /// 1. From the bottom upwards, find the first ancestor that's a left child of its parent. - /// (the position of which can be got by popping "1"s from the right of the leaf address). - /// Note that this node DOES NOT become non-useful. + /// (the position of which can be got by popping "1"s from the right of the leaf address). + /// Note that this node DOES NOT become non-useful. /// 2. From the node found from the previous step, delete both its children non-useful, and go - /// to the right child to repeat the process until we reach a leaf node. + /// to the right child to repeat the process until we reach a leaf node. + /// /// More details are in this issue https://github.com/aptos-labs/aptos-core/issues/1288. pub(crate) fn prune(begin: Version, end: Version, db_batch: &SchemaBatch) -> Result<()> { for version_to_delete in begin..end { diff --git a/storage/aptosdb/src/ledger_db/transaction_db_test.rs b/storage/aptosdb/src/ledger_db/transaction_db_test.rs index 8370856b2bacec..0d75f2b36890fd 100644 --- a/storage/aptosdb/src/ledger_db/transaction_db_test.rs +++ b/storage/aptosdb/src/ledger_db/transaction_db_test.rs @@ -93,7 +93,7 @@ proptest! { ); } - prop_assert!(transaction_db.get_transaction_iter(10, usize::max_value()).is_err()); + prop_assert!(transaction_db.get_transaction_iter(10, usize::MAX).is_err()); } #[test] diff --git a/storage/aptosdb/src/ledger_db/write_set_db_test.rs b/storage/aptosdb/src/ledger_db/write_set_db_test.rs index e0140b246f8471..4789101a556a2c 100644 --- a/storage/aptosdb/src/ledger_db/write_set_db_test.rs +++ b/storage/aptosdb/src/ledger_db/write_set_db_test.rs @@ -82,7 +82,7 @@ proptest! { ); } - prop_assert!(write_set_db.get_write_set_iter(10, usize::max_value()).is_err()); + prop_assert!(write_set_db.get_write_set_iter(10, usize::MAX).is_err()); } #[test] diff --git a/storage/aptosdb/src/state_store/mod.rs b/storage/aptosdb/src/state_store/mod.rs index 38ab16199c1884..48c2882fb2edfe 100644 --- a/storage/aptosdb/src/state_store/mod.rs +++ b/storage/aptosdb/src/state_store/mod.rs @@ -767,12 +767,12 @@ impl StateStore { /// Put storage usage stats and State key and value indices into the batch. /// The state KV indices will be generated as follows: /// 1. A deletion at current version is always coupled with stale index for the tombstone with - /// `stale_since_version` equal to the version, to ensure tombstone is cleared from db after - /// pruner processes the current version. + /// `stale_since_version` equal to the version, to ensure tombstone is cleared from db after + /// pruner processes the current version. /// 2. An update at current version will first try to find the corresponding old value, if it - /// exists, a stale index of that old value will be added. Otherwise, it's a no-op. Because - /// non-existence means either the key never shows up or it got deleted. Neither case needs - /// extra stale index as 1 cover the latter case. + /// exists, a stale index of that old value will be added. Otherwise, it's a no-op. Because + /// non-existence means either the key never shows up or it got deleted. Neither case needs + /// extra stale index as 1 cover the latter case. pub fn put_stats_and_indices( &self, value_state_sets: &[ShardedStateUpdates], diff --git a/storage/backup/backup-cli/src/backup_types/state_snapshot/manifest.rs b/storage/backup/backup-cli/src/backup_types/state_snapshot/manifest.rs index 1cf341d5a496c4..9f9acaab466b34 100644 --- a/storage/backup/backup-cli/src/backup_types/state_snapshot/manifest.rs +++ b/storage/backup/backup-cli/src/backup_types/state_snapshot/manifest.rs @@ -41,12 +41,12 @@ pub struct StateSnapshotBackup { /// BCS serialized /// `Tuple(TransactionInfoWithProof, LedgerInfoWithSignatures)`. /// - The `TransactionInfoWithProof` is at `Version` above, and carries the same `root_hash` - /// above; It proves that at specified version the root hash is as specified in a chain - /// represented by the LedgerInfo below. + /// above; It proves that at specified version the root hash is as specified in a chain + /// represented by the LedgerInfo below. /// - The signatures on the `LedgerInfoWithSignatures` has a version greater than or equal to - /// the version of this backup but is within the same epoch, so the signatures on it can be - /// verified by the validator set in the same epoch, which can be provided by an - /// `EpochStateBackup` recovered prior to this to the DB; Requiring it to be in the same epoch - /// limits the requirement on such `EpochStateBackup` to no older than the same epoch. + /// the version of this backup but is within the same epoch, so the signatures on it can be + /// verified by the validator set in the same epoch, which can be provided by an + /// `EpochStateBackup` recovered prior to this to the DB; Requiring it to be in the same epoch + /// limits the requirement on such `EpochStateBackup` to no older than the same epoch. pub proof: FileHandle, } diff --git a/storage/backup/backup-cli/src/backup_types/tests.rs b/storage/backup/backup-cli/src/backup_types/tests.rs index b34aae8fbf79fa..8b7e0ac02f044f 100644 --- a/storage/backup/backup-cli/src/backup_types/tests.rs +++ b/storage/backup/backup-cli/src/backup_types/tests.rs @@ -2,6 +2,8 @@ // Parts of the project are originally copyright © Meta Platforms, Inc. // SPDX-License-Identifier: Apache-2.0 +#![allow(unexpected_cfgs)] + use crate::{ backup_types::{ state_snapshot::{ @@ -150,9 +152,7 @@ fn test_end_to_end_impl(d: TestData) { TransactionRestoreController::new( TransactionRestoreOpt { manifest_handle: txn_manifest, - replay_from_version: Some( - d.state_snapshot_ver.unwrap_or(Version::max_value() - 1) + 1, - ), + replay_from_version: Some(d.state_snapshot_ver.unwrap_or(Version::MAX - 1) + 1), kv_only_replay: Some(false), }, global_restore_opt, diff --git a/storage/backup/backup-cli/src/backup_types/transaction/restore.rs b/storage/backup/backup-cli/src/backup_types/transaction/restore.rs index 22a7ab7ff8b8bb..f4483485898b0a 100644 --- a/storage/backup/backup-cli/src/backup_types/transaction/restore.rs +++ b/storage/backup/backup-cli/src/backup_types/transaction/restore.rs @@ -76,7 +76,7 @@ pub struct TransactionRestoreOpt { impl TransactionRestoreOpt { pub fn replay_from_version(&self) -> Version { - self.replay_from_version.unwrap_or(Version::max_value()) + self.replay_from_version.unwrap_or(Version::MAX) } } diff --git a/storage/backup/backup-cli/src/coordinators/restore.rs b/storage/backup/backup-cli/src/coordinators/restore.rs index 796a63aa857ef2..7d48ad96113d36 100644 --- a/storage/backup/backup-cli/src/coordinators/restore.rs +++ b/storage/backup/backup-cli/src/coordinators/restore.rs @@ -92,12 +92,13 @@ impl RestoreCoordinator { /// Support two modes /// 1. restore to target version when do_phase_1 is false. We restore a closest snapshot and replay txns till the target version /// 2. restore a DB with all data ranging from start_version to target_version with all KV restored between ledger_history_start_version and target_version along with the latest tree at target version. - - /// The overall flow is as follows: + /// + /// The overall flow is as follows. + /// /// The first phase is restore till the tree snapshot before the target version. It includes the following work - /// a. restore the KV snapshot before ledger history start version, which also restore StateStorageUsage at the version - /// b. start from the first transaction of loaded chunk, save the txn accumualator, and apply transactions till the KV snapshot. We don't restore state KVs here since we can't calculate StateStorageUsage before the KV snapshot. - /// we start save transaction and restore KV after kv_snapshot version till the tree_snapshot before target version + /// a. restore the KV snapshot before ledger history start version, which also restore StateStorageUsage at the version + /// b. start from the first transaction of loaded chunk, save the txn accumualator, and apply transactions till the KV snapshot. We don't restore state KVs here since we can't calculate StateStorageUsage before the KV snapshot. + /// we start save transaction and restore KV after kv_snapshot version till the tree_snapshot before target version /// /// The second phase is restore the tree snapshot and replay txns till the target version /// a. restore the tree snapshot diff --git a/storage/backup/backup-cli/src/coordinators/verify.rs b/storage/backup/backup-cli/src/coordinators/verify.rs index a1e7eeda5a9dc1..2eaad52f249e05 100644 --- a/storage/backup/backup-cli/src/coordinators/verify.rs +++ b/storage/backup/backup-cli/src/coordinators/verify.rs @@ -89,7 +89,7 @@ impl VerifyCoordinator { self.concurrent_downloads, ) .await?; - let ver_max = Version::max_value(); + let ver_max = Version::MAX; let state_snapshot = metadata_view.select_state_snapshot(self.state_snapshot_before_version)?; let transactions = diff --git a/storage/backup/backup-cli/src/utils/mod.rs b/storage/backup/backup-cli/src/utils/mod.rs index f814890df5e76e..e4a7647dd6058c 100644 --- a/storage/backup/backup-cli/src/utils/mod.rs +++ b/storage/backup/backup-cli/src/utils/mod.rs @@ -288,7 +288,7 @@ impl TryFrom for GlobalRestoreOptions { type Error = anyhow::Error; fn try_from(opt: GlobalRestoreOpt) -> anyhow::Result { - let target_version = opt.target_version.unwrap_or(Version::max_value()); + let target_version = opt.target_version.unwrap_or(Version::MAX); let concurrent_downloads = opt.concurrent_downloads.get(); let replay_concurrency_level = opt.replay_concurrency_level.get(); let run_mode = if let Some(db_dir) = &opt.db_dir { diff --git a/storage/indexer/src/db_indexer.rs b/storage/indexer/src/db_indexer.rs index ac3d18709a0681..c93ccf775ef80d 100644 --- a/storage/indexer/src/db_indexer.rs +++ b/storage/indexer/src/db_indexer.rs @@ -179,7 +179,7 @@ impl InternalIndexerDB { event_key: &EventKey, ) -> Result> { let mut iter = self.db.iter::()?; - iter.seek_for_prev(&(*event_key, ledger_version, u64::max_value()))?; + iter.seek_for_prev(&(*event_key, ledger_version, u64::MAX))?; Ok(iter.next().transpose()?.and_then( |((key, _version, seq), _idx)| if &key == event_key { Some(seq) } else { None }, @@ -510,7 +510,7 @@ impl DBIndexer { self.indexer_db .ensure_cover_ledger_version(ledger_version)?; error_if_too_many_requested(limit, MAX_REQUEST_LIMIT)?; - let get_latest = order == Order::Descending && start_seq_num == u64::max_value(); + let get_latest = order == Order::Descending && start_seq_num == u64::MAX; let cursor = if get_latest { // Caller wants the latest, figure out the latest seq_num. diff --git a/storage/jellyfish-merkle/src/node_type/mod.rs b/storage/jellyfish-merkle/src/node_type/mod.rs index 2fb0b33ad75657..cff7112461f02a 100644 --- a/storage/jellyfish-merkle/src/node_type/mod.rs +++ b/storage/jellyfish-merkle/src/node_type/mod.rs @@ -295,11 +295,11 @@ pub struct InternalNode { /// However, if an internal node doesn't have all 16 children exist at height 0 but just a few of /// them, we have a modified hashing rule on top of what is stated above: /// 1. From top to bottom, a node will be replaced by a leaf child if the subtree rooted at this -/// node has only one child at height 0 and it is a leaf child. +/// node has only one child at height 0 and it is a leaf child. /// 2. From top to bottom, a node will be replaced by the placeholder node if the subtree rooted at -/// this node doesn't have any child at height 0. For example, if an internal node has 3 leaf -/// children at index 0, 3, 8, respectively, and 1 internal node at index C, then the computation -/// graph will be like: +/// this node doesn't have any child at height 0. For example, if an internal node has 3 leaf +/// children at index 0, 3, 8, respectively, and 1 internal node at index C, then the computation +/// graph will be like: /// /// ```text /// 4 -> +------ root hash ------+ diff --git a/storage/scratchpad/src/sparse_merkle/node.rs b/storage/scratchpad/src/sparse_merkle/node.rs index 0167a22a3347cb..d7b9b61cbca4a0 100644 --- a/storage/scratchpad/src/sparse_merkle/node.rs +++ b/storage/scratchpad/src/sparse_merkle/node.rs @@ -5,7 +5,7 @@ //! This module defines all kinds of structures in the Sparse Merkle Tree maintained in scratch pad. //! There are four kinds of nodes: //! - A `SubTree::Empty` represents an empty subtree with zero leaf. Its root hash is assumed to be -//! the default hash. +//! the default hash. //! //! - A `SubTree::NonEmpty` represents a subtree with one or more leaves, it carries its root hash. //! @@ -15,12 +15,12 @@ //! nodes as its root: //! //! - An `InternalNode` is a node that has two children. It is same as the internal node in a -//! standard Merkle tree. +//! standard Merkle tree. //! //! - A `LeafNode` represents a single account. Similar to what is in storage, a leaf node has a -//! key which is the hash of the account address as well as a value hash which is the hash of the -//! corresponding account content. The difference is that a `LeafNode` does not always have the -//! value, in the case when the leaf was loaded into memory as part of a non-inclusion proof. +//! key which is the hash of the account address as well as a value hash which is the hash of the +//! corresponding account content. The difference is that a `LeafNode` does not always have the +//! value, in the case when the leaf was loaded into memory as part of a non-inclusion proof. use aptos_crypto::{ hash::{CryptoHash, SPARSE_MERKLE_PLACEHOLDER_HASH}, diff --git a/testsuite/forge/src/backend/k8s/swarm.rs b/testsuite/forge/src/backend/k8s/swarm.rs index 9a14b69963ee89..3d36bd1ee8e0b4 100644 --- a/testsuite/forge/src/backend/k8s/swarm.rs +++ b/testsuite/forge/src/backend/k8s/swarm.rs @@ -799,6 +799,7 @@ fn check_all_injected(status: &Option) -> bool { }) } +#[allow(dead_code)] struct MockChaosExperimentOps { network_chaos: Vec, stress_chaos: Vec, diff --git a/testsuite/forge/src/backend/k8s_deployer/deployer.rs b/testsuite/forge/src/backend/k8s_deployer/deployer.rs index 94e0140166606a..154e7d41b535c8 100644 --- a/testsuite/forge/src/backend/k8s_deployer/deployer.rs +++ b/testsuite/forge/src/backend/k8s_deployer/deployer.rs @@ -108,6 +108,7 @@ impl ForgeDeployerManager { /// Builds a k8s job for the forge deployer that implements the particular interface that it expects: /// - Runs the corresponding forge--deployer image /// - Sets the FORGE_DEPLOY_VALUES_JSON environment variable to the configmap that contains the values + /// /// Does not actually create the job in k8s fn build_forge_deployer_k8s_job(&self, configmap_name: String) -> Result { let job_name = self.get_name(); diff --git a/testsuite/forge/src/backend/local/mod.rs b/testsuite/forge/src/backend/local/mod.rs index ae533eb1d8162c..6affc56fef17d0 100644 --- a/testsuite/forge/src/backend/local/mod.rs +++ b/testsuite/forge/src/backend/local/mod.rs @@ -61,7 +61,7 @@ impl LocalFactory { pub fn from_workspace(swarm_dir: Option) -> Result { let mut versions = HashMap::new(); let new_version = cargo::get_aptos_node_binary_from_worktree().map(|(revision, bin)| { - let version = Version::new(usize::max_value(), revision); + let version = Version::new(usize::MAX, revision); LocalVersion { bin, version } })?; @@ -73,7 +73,7 @@ impl LocalFactory { let mut versions = HashMap::new(); let new_version = cargo::get_aptos_node_binary_at_revision(revision).map(|(revision, bin)| { - let version = Version::new(usize::max_value(), revision); + let version = Version::new(usize::MAX, revision); LocalVersion { bin, version } })?; @@ -83,12 +83,12 @@ impl LocalFactory { pub fn with_revision_and_workspace(revision: &str) -> Result { let workspace = cargo::get_aptos_node_binary_from_worktree().map(|(revision, bin)| { - let version = Version::new(usize::max_value(), revision); + let version = Version::new(usize::MAX, revision); LocalVersion { bin, version } })?; let revision = cargo::get_aptos_node_binary_at_revision(revision).map(|(revision, bin)| { - let version = Version::new(usize::min_value(), revision); + let version = Version::new(usize::MIN, revision); LocalVersion { bin, version } })?; diff --git a/testsuite/smoke-test/src/aptos_cli/mod.rs b/testsuite/smoke-test/src/aptos_cli/mod.rs index 7c576cf7e4b052..712bc9f5cb453c 100644 --- a/testsuite/smoke-test/src/aptos_cli/mod.rs +++ b/testsuite/smoke-test/src/aptos_cli/mod.rs @@ -1,6 +1,8 @@ // Copyright © Aptos Foundation // SPDX-License-Identifier: Apache-2.0 +#![allow(unexpected_cfgs)] + mod account; #[cfg(feature = "cli-framework-test-move")] mod r#move; diff --git a/testsuite/smoke-test/src/genesis.rs b/testsuite/smoke-test/src/genesis.rs index 0a2b8fbd8364df..ed0dc1f202969d 100644 --- a/testsuite/smoke-test/src/genesis.rs +++ b/testsuite/smoke-test/src/genesis.rs @@ -99,7 +99,7 @@ async fn test_fullnode_genesis_transaction_flow() { let first_validator_storage_dir = first_validator_config.storage.dir(); let output = Command::new(aptos_debugger.as_path()) .current_dir(workspace_root()) - .args(&vec![ + .args(vec![ "aptos-db", "bootstrap", first_validator_storage_dir.to_str().unwrap(), @@ -236,7 +236,7 @@ async fn test_validator_genesis_transaction_and_db_restore_flow() { let first_validator_storage_dir = first_validator_config.storage.dir(); let output = Command::new(aptos_debugger.as_path()) .current_dir(workspace_root()) - .args(&vec![ + .args(vec![ "aptos-db", "bootstrap", first_validator_storage_dir.to_str().unwrap(), @@ -484,7 +484,7 @@ fn generate_genesis_transaction( // Generate the genesis write-set transaction Command::new(aptos_cli.as_path()) .current_dir(workspace_root()) - .args(&vec![ + .args(vec![ "genesis", "generate-admin-write-set", "--output-file", diff --git a/testsuite/smoke-test/src/rosetta.rs b/testsuite/smoke-test/src/rosetta.rs index 9facc3c80b4c85..8a2d4df9d0c2f9 100644 --- a/testsuite/smoke-test/src/rosetta.rs +++ b/testsuite/smoke-test/src/rosetta.rs @@ -2699,6 +2699,7 @@ async fn test_delegation_pool_operations() { } } +#[allow(dead_code)] #[derive(Debug)] pub enum ErrorWrapper { BeforeSubmission(anyhow::Error), diff --git a/testsuite/smoke-test/src/storage.rs b/testsuite/smoke-test/src/storage.rs index b042a4b8de9c4e..11b1bca090b5a2 100644 --- a/testsuite/smoke-test/src/storage.rs +++ b/testsuite/smoke-test/src/storage.rs @@ -197,7 +197,7 @@ fn db_backup_verify(backup_path: &Path, trusted_waypoints: &[Waypoint]) { cmd.args(["aptos-db", "backup", "verify"]); trusted_waypoints.iter().for_each(|w| { cmd.arg("--trust-waypoint"); - cmd.arg(&w.to_string()); + cmd.arg(w.to_string()); }); let status = cmd @@ -229,7 +229,7 @@ fn replay_verify(backup_path: &Path, trusted_waypoints: &[Waypoint]) { cmd.args(["aptos-db", "replay-verify"]); trusted_waypoints.iter().for_each(|w| { cmd.arg("--trust-waypoint"); - cmd.arg(&w.to_string()); + cmd.arg(w.to_string()); }); let replay = cmd @@ -432,7 +432,7 @@ pub(crate) fn db_restore( cmd.args(["aptos-db", "restore", "bootstrap-db"]); trusted_waypoints.iter().for_each(|w| { cmd.arg("--trust-waypoint"); - cmd.arg(&w.to_string()); + cmd.arg(w.to_string()); }); if enable_storage_sharding { @@ -441,7 +441,7 @@ pub(crate) fn db_restore( } if let Some(version) = target_verion { cmd.arg("--target-version"); - cmd.arg(&version.to_string()); + cmd.arg(version.to_string()); } let status = cmd diff --git a/testsuite/smoke-test/src/upgrade.rs b/testsuite/smoke-test/src/upgrade.rs index 5e0ce9fa0bc597..f56248209c6365 100644 --- a/testsuite/smoke-test/src/upgrade.rs +++ b/testsuite/smoke-test/src/upgrade.rs @@ -78,7 +78,7 @@ async fn test_upgrade_flow() { assert!(Command::new(aptos_cli.as_path()) .current_dir(workspace_root()) - .args(&vec![ + .args(vec![ "move", "run-script", "--script-path", @@ -175,7 +175,7 @@ async fn test_upgrade_flow() { for path in scripts.iter() { assert!(Command::new(aptos_cli.as_path()) .current_dir(workspace_root()) - .args(&vec![ + .args(vec![ "move", "run-script", "--script-path", diff --git a/third_party/move/move-binary-format/src/file_format.rs b/third_party/move/move-binary-format/src/file_format.rs index 8730f84299ecf3..0199a7952e1f32 100644 --- a/third_party/move/move-binary-format/src/file_format.rs +++ b/third_party/move/move-binary-format/src/file_format.rs @@ -14,15 +14,15 @@ //! //! Overall the binary format is structured in a number of sections: //! - **Header**: this must start at offset 0 in the binary. It contains a blob that starts every -//! Diem binary, followed by the version of the VM used to compile the code, and last is the -//! number of tables present in this binary. +//! Diem binary, followed by the version of the VM used to compile the code, and last is the +//! number of tables present in this binary. //! - **Table Specification**: it's a number of tuple of the form -//! `(table type, starting_offset, byte_count)`. The number of entries is specified in the -//! header (last entry in header). There can only be a single entry per table type. The -//! `starting offset` is from the beginning of the binary. Tables must cover the entire size of -//! the binary blob and cannot overlap. +//! `(table type, starting_offset, byte_count)`. The number of entries is specified in the +//! header (last entry in header). There can only be a single entry per table type. The +//! `starting offset` is from the beginning of the binary. Tables must cover the entire size of +//! the binary blob and cannot overlap. //! - **Table Content**: the serialized form of the specific entries in the table. Those roughly -//! map to the structs defined in this module. Entries in each table must be unique. +//! map to the structs defined in this module. Entries in each table must be unique. //! //! We have two formats: one for modules here represented by `CompiledModule`, another //! for transaction scripts which is `CompiledScript`. Building those tables and passing them diff --git a/third_party/move/move-binary-format/src/file_format_common.rs b/third_party/move/move-binary-format/src/file_format_common.rs index b9790db3d35f85..1ffcf932e7b32a 100644 --- a/third_party/move/move-binary-format/src/file_format_common.rs +++ b/third_party/move/move-binary-format/src/file_format_common.rs @@ -302,7 +302,7 @@ pub enum Opcodes { } /// Upper limit on the binary size -pub const BINARY_SIZE_LIMIT: usize = usize::max_value(); +pub const BINARY_SIZE_LIMIT: usize = usize::MAX; /// A wrapper for the binary vector #[derive(Default, Debug)] diff --git a/third_party/move/move-binary-format/src/proptest_types/functions.rs b/third_party/move/move-binary-format/src/proptest_types/functions.rs index 806ca57aba9e99..9f989d0f580a1d 100644 --- a/third_party/move/move-binary-format/src/proptest_types/functions.rs +++ b/third_party/move/move-binary-format/src/proptest_types/functions.rs @@ -54,7 +54,7 @@ where IndexT: Clone, { fn add(&mut self, handle: HandleT, make_index: impl Fn(TableIndex) -> IndexT) -> IndexT { - debug_assert!(self.handles.len() < TableSize::max_value() as usize); + debug_assert!(self.handles.len() < TableSize::MAX as usize); if let Some(idx) = self.map.get(&handle) { return idx.clone(); } @@ -112,7 +112,7 @@ where #[allow(unused)] fn add_instantiation(&mut self, inst: T) -> TableIndex { - debug_assert!(self.instantiations.len() < TableSize::max_value() as usize); + debug_assert!(self.instantiations.len() < TableSize::MAX as usize); if let Some(idx) = self.instantiation_map.get(&inst) { return *idx; } @@ -316,7 +316,7 @@ impl<'a> FnDefnMaterializeState<'a> { } fn add_function_handle(&mut self, handle: FunctionHandle) -> FunctionHandleIndex { - debug_assert!(self.function_handles.len() < TableSize::max_value() as usize); + debug_assert!(self.function_handles.len() < TableSize::MAX as usize); self.function_handles.push(handle); FunctionHandleIndex((self.function_handles.len() - 1) as TableIndex) } @@ -415,7 +415,7 @@ impl FunctionDefinitionGen { pub fn materialize(self, state: &mut FnDefnMaterializeState) -> Option { // This precondition should never fail because the table size cannot be greater - // than TableSize::max_value() + // than TableSize::MAX let iden_idx = IdentifierIndex(self.name.index(state.identifiers_len) as TableIndex); if state .def_function_handles diff --git a/third_party/move/move-binary-format/src/serializer.rs b/third_party/move/move-binary-format/src/serializer.rs index 78f98741ad6b51..c4e7313b635e61 100644 --- a/third_party/move/move-binary-format/src/serializer.rs +++ b/third_party/move/move-binary-format/src/serializer.rs @@ -285,11 +285,11 @@ impl CompiledModule { let mut ser = ModuleSerializer::new(version); let mut temp = BinaryData::new(); ser.serialize_tables(&mut temp, self)?; - if temp.len() > u32::max_value() as usize { + if temp.len() > u32::MAX as usize { bail!( "table content size ({}) cannot exceed ({})", temp.len(), - u32::max_value() + u32::MAX ); } ser.common.serialize_header(&mut binary_data)?; @@ -353,11 +353,11 @@ struct ScriptSerializer { // Helpers // fn check_index_in_binary(index: usize) -> Result { - if index > u32::max_value() as usize { + if index > u32::MAX as usize { bail!( "Compilation unit too big ({}) cannot exceed {}", index, - u32::max_value() + u32::MAX ) } Ok(index as u32) diff --git a/third_party/move/move-binary-format/src/unit_tests/number_tests.rs b/third_party/move/move-binary-format/src/unit_tests/number_tests.rs index c1b1dbde57ee8d..0a27dec7725e62 100644 --- a/third_party/move/move-binary-format/src/unit_tests/number_tests.rs +++ b/third_party/move/move-binary-format/src/unit_tests/number_tests.rs @@ -42,8 +42,8 @@ fn uleb128_test() { uleb128_test_u64(2u64.pow(exp), n + 1); n += 1; } - uleb128_test_u64(u64::max_value() - 1, 10); - uleb128_test_u64(u64::max_value(), 10); + uleb128_test_u64(u64::MAX - 1, 10); + uleb128_test_u64(u64::MAX, 10); } #[test] diff --git a/third_party/move/move-bytecode-verifier/bytecode-verifier-tests/src/unit_tests/constants_tests.rs b/third_party/move/move-bytecode-verifier/bytecode-verifier-tests/src/unit_tests/constants_tests.rs index 5471574a1eef1c..daa4e42ff7c5be 100644 --- a/third_party/move/move-bytecode-verifier/bytecode-verifier-tests/src/unit_tests/constants_tests.rs +++ b/third_party/move/move-bytecode-verifier/bytecode-verifier-tests/src/unit_tests/constants_tests.rs @@ -1,6 +1,9 @@ // Copyright (c) The Diem Core Contributors // Copyright (c) The Move Contributors // SPDX-License-Identifier: Apache-2.0 + +#![allow(unexpected_cfgs)] + use move_binary_format::file_format::{empty_module, CompiledModule, Constant, SignatureToken}; use move_bytecode_verifier::constants; use move_core_types::vm_status::StatusCode; diff --git a/third_party/move/move-bytecode-verifier/src/script_signature.rs b/third_party/move/move-bytecode-verifier/src/script_signature.rs index 85916339fc6855..3185c5c738f4a7 100644 --- a/third_party/move/move-bytecode-verifier/src/script_signature.rs +++ b/third_party/move/move-bytecode-verifier/src/script_signature.rs @@ -9,8 +9,8 @@ //! - (DEPRECATED) Has an empty return type //! - All return types are not references //! - Satisfies the additional checks provided as an argument via `check_signature` -//! `check_signature` should be used by adapters to quickly and easily verify custom signature -//! rules for entrypoints +//! `check_signature` should be used by adapters to quickly and easily verify custom signature +//! rules for entrypoints use move_binary_format::{ access::ModuleAccess, diff --git a/third_party/move/move-compiler-v2/src/env_pipeline/acquires_checker.rs b/third_party/move/move-compiler-v2/src/env_pipeline/acquires_checker.rs index e4d406d2101e4b..ef0e2b19139a23 100644 --- a/third_party/move/move-compiler-v2/src/env_pipeline/acquires_checker.rs +++ b/third_party/move/move-compiler-v2/src/env_pipeline/acquires_checker.rs @@ -5,6 +5,7 @@ //! A Move function `m::f` must be annotated with acquires `T`` if and only if, //! - The body of `m::f` contains a `move_from`, `borrow_global_mut`, or `borrow_global` instruction, or //! - The body of `m::f` invokes a function `m::g` declared in the same module that is annotated with acquires +//! //! Warn if access specifiers other than plain `acquires R` is used. //! This check is enabled by flag `Experiment::ACQUIRES_CHECK`. @@ -145,10 +146,10 @@ impl<'a> AcquireChecker<'a> { /// Returns /// - the call graph where `f` maps to `(g, loc)` if `f` calls `g` at `loc`, - /// (just one example is provided if there are multiple such calls) - /// only functions defined in the current module are included + /// (just one example is provided if there are multiple such calls) + /// only functions defined in the current module are included /// - a map from functions to resources directly acquired by `move_from`, `borrow_global_mut`, or `borrow_global` - /// by the function + /// by the function fn get_call_graph_and_directly_acquired_resources( &self, ) -> ( @@ -217,7 +218,7 @@ impl<'a> AcquireChecker<'a> { /// Returns /// - the calles of the given function that are defined in M /// - resources acquired by move_from\, borrow_global_mut\, or borrow_global\, -/// where T is define in M +/// where T is define in M fn get_callees_and_acquired_resources( fun_env: FunctionEnv, ) -> (BTreeMap, BTreeMap) { diff --git a/third_party/move/move-compiler-v2/src/env_pipeline/function_checker.rs b/third_party/move/move-compiler-v2/src/env_pipeline/function_checker.rs index d7dbcc3cfce2b3..e7c55190340f64 100644 --- a/third_party/move/move-compiler-v2/src/env_pipeline/function_checker.rs +++ b/third_party/move/move-compiler-v2/src/env_pipeline/function_checker.rs @@ -304,6 +304,7 @@ fn check_privileged_operations_on_structs(env: &GlobalEnv, fun_env: &FunctionEnv /// If `before_inlining`, then /// - check that all function calls involving inline functions are accessible; /// - warn about unused private functions +/// /// Otherwise (`!before_inlining`): /// - check that all function calls *not* involving inline functions are accessible. /// - check privileged operations on structs cannot be done across module boundary diff --git a/third_party/move/move-compiler-v2/src/env_pipeline/inliner.rs b/third_party/move/move-compiler-v2/src/env_pipeline/inliner.rs index 5502f1d9694f47..5ae68762cbd102 100644 --- a/third_party/move/move-compiler-v2/src/env_pipeline/inliner.rs +++ b/third_party/move/move-compiler-v2/src/env_pipeline/inliner.rs @@ -379,6 +379,7 @@ impl<'env> Inliner<'env> { /// - the mapping found in `self.inline_results` for `callee`, or /// - the original body of `callee` (as obtained from `self.env: &GlobalEnv`) /// - stores a mapping from `target` to inlining result in `self.inline_results` + /// /// Otherwise, stores a mapping from `target` to `InlineResult::Unchanged` in /// `self.inline_results` /// diff --git a/third_party/move/move-compiler-v2/src/file_format_generator/function_generator.rs b/third_party/move/move-compiler-v2/src/file_format_generator/function_generator.rs index e35c6257716cb0..16102850725c96 100644 --- a/third_party/move/move-compiler-v2/src/file_format_generator/function_generator.rs +++ b/third_party/move/move-compiler-v2/src/file_format_generator/function_generator.rs @@ -329,7 +329,7 @@ impl<'a> FunctionGenerator<'a> { self.emit(FF::Bytecode::Branch(0)); }, Bytecode::Abort(_, temp) => { - self.balance_stack_end_of_block(ctx, &vec![*temp]); + self.balance_stack_end_of_block(ctx, vec![*temp]); self.emit(FF::Bytecode::Abort); self.abstract_pop(ctx) }, @@ -967,7 +967,7 @@ impl<'a> FunctionGenerator<'a> { if ctx.is_alive_after(*temp, &temps_to_push[pos + 1..], true) { if !fun_ctx.is_copyable(*temp) { fun_ctx.module.internal_error( - &ctx.fun_ctx.fun.get_bytecode_loc(ctx.attr_id), + ctx.fun_ctx.fun.get_bytecode_loc(ctx.attr_id), format!("value in `$t{}` expected to be copyable", temp), ) } @@ -986,6 +986,7 @@ impl<'a> FunctionGenerator<'a> { /// If a temp already on the abstract stack is both: /// - not a source of the current instruction /// - destination of the current instruction + /// /// then, we have a conflicting write to that temp. /// /// This method ensures that conflicting writes do not happen by flushing out such temps diff --git a/third_party/move/move-compiler-v2/src/file_format_generator/peephole_optimizer/optimizers.rs b/third_party/move/move-compiler-v2/src/file_format_generator/peephole_optimizer/optimizers.rs index 0bcabb56750921..a61df84295508b 100644 --- a/third_party/move/move-compiler-v2/src/file_format_generator/peephole_optimizer/optimizers.rs +++ b/third_party/move/move-compiler-v2/src/file_format_generator/peephole_optimizer/optimizers.rs @@ -17,6 +17,7 @@ pub trait WindowOptimizer { /// Given a `window` of bytecode, return a tuple containing: /// 1. an optimized version of a non-empty prefix of the `window`. /// 2. size of this prefix (should be non-zero). + /// /// If `None` is returned, the `window` is not optimized. fn optimize_window(&self, window: &[Bytecode]) -> Option<(Vec, usize)>; } diff --git a/third_party/move/move-compiler-v2/src/pipeline/control_flow_graph_simplifier.rs b/third_party/move/move-compiler-v2/src/pipeline/control_flow_graph_simplifier.rs index 578dd7b010a606..88a96a86911ff2 100644 --- a/third_party/move/move-compiler-v2/src/pipeline/control_flow_graph_simplifier.rs +++ b/third_party/move/move-compiler-v2/src/pipeline/control_flow_graph_simplifier.rs @@ -203,9 +203,9 @@ impl ControlFlowGraphSimplifierTransformation { /// Invariants: /// 1. Fields `code_blocks`, `successors`, and `predecessors` have the same set of keys. /// 2. Block `A` has successor block `B` iff block `B` has predecessor block `A`, according -/// to fields `successors` and `predecessors` respectively. +/// to fields `successors` and `predecessors` respectively. /// 3. In `code_blocks`, entry and exit blocks cannot have code (mapped to empty vectors in `code_blocks`), -/// and all other blocks must have code. +/// and all other blocks must have code. /// 4. Entry block has exactly one successor, which is not the exit block. /// 5. All blocks except for the exit block must have at least one successor. /// 6. All non-trivial blocks with non-trivial predecessors must start with a label. diff --git a/third_party/move/move-compiler-v2/src/pipeline/dead_store_elimination.rs b/third_party/move/move-compiler-v2/src/pipeline/dead_store_elimination.rs index 95f54dba5f04ff..4e9848d021d129 100644 --- a/third_party/move/move-compiler-v2/src/pipeline/dead_store_elimination.rs +++ b/third_party/move/move-compiler-v2/src/pipeline/dead_store_elimination.rs @@ -36,6 +36,7 @@ use std::collections::{BTreeMap, BTreeSet}; /// Note that the *def* nodes are limited to side-effect-free instructions of the form: /// - `Assign(dst, src)` /// - `Load(dst, constant)` +/// /// This is a conservative over-approximation of side-effect-free instructions that /// define a local. /// diff --git a/third_party/move/move-compiler-v2/src/pipeline/flush_writes_processor.rs b/third_party/move/move-compiler-v2/src/pipeline/flush_writes_processor.rs index 1a9c6456cb146d..d61d7939483afa 100644 --- a/third_party/move/move-compiler-v2/src/pipeline/flush_writes_processor.rs +++ b/third_party/move/move-compiler-v2/src/pipeline/flush_writes_processor.rs @@ -39,6 +39,7 @@ //! ``` //! Instead, by flushing `a` eagerly when it is written, we can avoid flushing and //! reloading `b`. +//! //! In all these cases, the file format generator can avoid extra stack operations due //! to eager flushing. diff --git a/third_party/move/move-compiler-v2/src/pipeline/lint_processor/needless_mutable_reference.rs b/third_party/move/move-compiler-v2/src/pipeline/lint_processor/needless_mutable_reference.rs index c3758742d36a97..4d31e7c796367f 100644 --- a/third_party/move/move-compiler-v2/src/pipeline/lint_processor/needless_mutable_reference.rs +++ b/third_party/move/move-compiler-v2/src/pipeline/lint_processor/needless_mutable_reference.rs @@ -31,12 +31,14 @@ struct MutableReferenceUsageTracker { /// The origins tracked currently are: /// - function parameters that are mutable references. /// - mutable references acquired through `&mut` or `borrow_global_mut`. + /// /// The list above can be extended in the future. origins: BTreeMap, /// Derived edges from mutable references. /// A derived edge y -> x is created in the following cases: /// - `x = y;`, where y: &mut /// - `x = &mut y.f;` + /// /// Each origin also has an entry in `derived_edges` (usually mapping to an /// empty set, unless an origin is also derived). derived_edges: BTreeMap>, diff --git a/third_party/move/move-compiler-v2/src/pipeline/reference_safety/reference_safety_processor_v2.rs b/third_party/move/move-compiler-v2/src/pipeline/reference_safety/reference_safety_processor_v2.rs index 9c524083636211..b980787263aaa9 100644 --- a/third_party/move/move-compiler-v2/src/pipeline/reference_safety/reference_safety_processor_v2.rs +++ b/third_party/move/move-compiler-v2/src/pipeline/reference_safety/reference_safety_processor_v2.rs @@ -541,7 +541,7 @@ impl LifetimeState { /// represents an abstract borrow operation. /// /// 1) All edges which lead into the same node are considered to be part of the same hyper - /// edge. Consider: + /// edge. Consider: /// /// ```text /// \ / @@ -553,7 +553,7 @@ impl LifetimeState { /// group because `n` has a 'weak' borrow history, it can either stem from `e1` or `e2`. /// /// 2) For all other edges not leading into the same node, they are grouped according - /// their kind. Consider: + /// their kind. Consider: /// /// ```text /// | | @@ -1628,7 +1628,8 @@ impl<'env, 'state> LifetimeAnalysisStep<'env, 'state> { /// Process a function call. For now, we implement standard Move semantics, where /// 1) every output immutable reference is a child of all input references; /// 2) every output mutable reference is a child of all input mutable references, - /// because mutable references cannot be derived from immutable references. + /// because mutable references cannot be derived from immutable references. + /// /// Here would be the point where to /// evaluate lifetime modifiers in future language versions. fn call_operation(&mut self, oper: Operation, dests: &[TempIndex], srcs: &[TempIndex]) { @@ -1974,6 +1975,7 @@ impl<'env> TransferFunctions for LifeTimeAnalysis<'env> { // Preprocessing: check borrow safety of the currently active borrow graph for // selected instructions. #[allow(clippy::single_match)] + #[allow(clippy::collapsible_match)] match instr { // Call operations which can take references Call(_, _, oper, srcs, ..) => match oper { diff --git a/third_party/move/move-compiler-v2/src/pipeline/split_critical_edges_processor.rs b/third_party/move/move-compiler-v2/src/pipeline/split_critical_edges_processor.rs index 4ee17b972edd9e..5e33d356b344a6 100644 --- a/third_party/move/move-compiler-v2/src/pipeline/split_critical_edges_processor.rs +++ b/third_party/move/move-compiler-v2/src/pipeline/split_critical_edges_processor.rs @@ -181,6 +181,7 @@ impl SplitCriticalEdgesTransformation { /// - a new empty block that /// - starts with the fresh label /// - jumps to `label` + /// /// otherwise returns `None` fn split_critical_edge( &mut self, diff --git a/third_party/move/move-compiler-v2/src/pipeline/uninitialized_use_checker.rs b/third_party/move/move-compiler-v2/src/pipeline/uninitialized_use_checker.rs index bfa550b0ec470e..46e363a12fffdb 100644 --- a/third_party/move/move-compiler-v2/src/pipeline/uninitialized_use_checker.rs +++ b/third_party/move/move-compiler-v2/src/pipeline/uninitialized_use_checker.rs @@ -72,6 +72,7 @@ impl InitializedState { /// Create a new initialized state with: /// * all param locals set to `Yes` /// * all other locals set to `No`. + /// /// Note: `num_locals` is the total number of locals, including params. pub fn new(num_params: usize, num_locals: usize) -> Self { if num_locals < num_params { diff --git a/third_party/move/move-compiler-v2/src/pipeline/variable_coalescing.rs b/third_party/move/move-compiler-v2/src/pipeline/variable_coalescing.rs index 1eb27f0c1d0223..b9787c9b034b4a 100644 --- a/third_party/move/move-compiler-v2/src/pipeline/variable_coalescing.rs +++ b/third_party/move/move-compiler-v2/src/pipeline/variable_coalescing.rs @@ -9,7 +9,7 @@ //! - copy inference is already performed. //! - it is preferable, but not required, to have run dead store elimination (so that //! dead stores do not consume and retain variable slots). -//! side effect: this transformation removes all pre-existing annotations. +//! side effect: this transformation removes all pre-existing annotations. //! //! This transformation is closely related to the register allocation problem in //! compilers. As such, an optimal solution to reusing locals is NP-complete, as we diff --git a/third_party/move/move-compiler-v2/src/plan_builder.rs b/third_party/move/move-compiler-v2/src/plan_builder.rs index 804ba329bd0a43..4dd62b3167c65e 100644 --- a/third_party/move/move-compiler-v2/src/plan_builder.rs +++ b/third_party/move/move-compiler-v2/src/plan_builder.rs @@ -575,7 +575,7 @@ fn convert_constant_value_u64_constant_or_value( let (severity, message) = match value { Value::Number(u) => match ty { Type::Primitive(PrimitiveType::U64) => { - if u <= BigInt::from(std::u64::MAX) { + if u <= BigInt::from(u64::MAX) { return Some((vloc, mod_id, u.to_u64().unwrap())); } else { ( @@ -589,7 +589,7 @@ fn convert_constant_value_u64_constant_or_value( } }, Type::Primitive(PrimitiveType::Num) => { - if u <= BigInt::from(std::u64::MAX) { + if u <= BigInt::from(u64::MAX) { return Some((vloc, mod_id, u.to_u64().unwrap())); } else { ( @@ -643,7 +643,7 @@ fn convert_module_id(env: &GlobalEnv, _vloc: Loc, module: Option) -> fn convert_model_ast_value_u64(env: &GlobalEnv, loc: Loc, value: &Value) -> Option<(Loc, u64)> { match value { Value::Number(u) => { - if u <= &BigInt::from(std::u64::MAX) { + if u <= &BigInt::from(u64::MAX) { Some((loc, u.to_u64().unwrap())) } else { env.error( diff --git a/third_party/move/move-compiler/src/parser/merge_spec_modules.rs b/third_party/move/move-compiler/src/parser/merge_spec_modules.rs index fd1701f1fa0126..e2f9343af0f466 100644 --- a/third_party/move/move-compiler/src/parser/merge_spec_modules.rs +++ b/third_party/move/move-compiler/src/parser/merge_spec_modules.rs @@ -8,6 +8,7 @@ //! - If a spec module contains a `use`, we don't want the target module be able to use it. //! - Similarly, we also *may* want the spec module not be able to see target module `use` //! declarations, and require it to repeat them. +//! //! A solution to both problems can be to mark names introduced by `use` to whether they //! are for specs or not, and allow the later to resolve only in spec contexts. diff --git a/third_party/move/move-compiler/src/to_bytecode/context.rs b/third_party/move/move-compiler/src/to_bytecode/context.rs index 5a07feea68c576..fb827dd2fe3a9c 100644 --- a/third_party/move/move-compiler/src/to_bytecode/context.rs +++ b/third_party/move/move-compiler/src/to_bytecode/context.rs @@ -28,6 +28,7 @@ pub struct SpecAnchor { /// Compilation context for a single compilation unit (module or script). /// Contains all of the dependencies actually used in the module +#[allow(dead_code)] pub struct Context<'a> { pub env: &'a mut CompilationEnv, current_module: Option<&'a ModuleIdent>, diff --git a/third_party/move/move-compiler/src/to_bytecode/translate.rs b/third_party/move/move-compiler/src/to_bytecode/translate.rs index 1e11182e40236e..a30622fc29a6bd 100644 --- a/third_party/move/move-compiler/src/to_bytecode/translate.rs +++ b/third_party/move/move-compiler/src/to_bytecode/translate.rs @@ -1127,6 +1127,7 @@ fn exp_(context: &mut Context, code: &mut IR::BytecodeBlock, e: H::Exp) { } } +#[allow(unexpected_cfgs)] fn module_call( context: &mut Context, loc: Loc, diff --git a/third_party/move/move-compiler/src/typing/core.rs b/third_party/move/move-compiler/src/typing/core.rs index df4bf1dae52c65..de522903ed431b 100644 --- a/third_party/move/move-compiler/src/typing/core.rs +++ b/third_party/move/move-compiler/src/typing/core.rs @@ -37,6 +37,7 @@ pub enum Constraint { pub type Constraints = Vec; pub type TParamSubst = HashMap; +#[allow(dead_code)] pub struct FunctionInfo { pub defined_loc: Loc, pub visibility: Visibility, diff --git a/third_party/move/move-compiler/src/typing/expand.rs b/third_party/move/move-compiler/src/typing/expand.rs index 767bfb1bb5c2ba..2b1f59ea0992c1 100644 --- a/third_party/move/move-compiler/src/typing/expand.rs +++ b/third_party/move/move-compiler/src/typing/expand.rs @@ -224,11 +224,11 @@ pub fn exp(context: &mut Context, e: &mut T::Exp) { _ => panic!("ICE inferred num failed {:?}", &e.ty.value), }; let v = *v; - let u8_max = U256::from(std::u8::MAX); - let u16_max = U256::from(std::u16::MAX); - let u32_max = U256::from(std::u32::MAX); - let u64_max = U256::from(std::u64::MAX); - let u128_max = U256::from(std::u128::MAX); + let u8_max = U256::from(u8::MAX); + let u16_max = U256::from(u16::MAX); + let u32_max = U256::from(u32::MAX); + let u64_max = U256::from(u64::MAX); + let u128_max = U256::from(u128::MAX); let u256_max = U256::max_value(); let max = match bt { BT::U8 => u8_max, diff --git a/third_party/move/move-compiler/src/unit_test/plan_builder.rs b/third_party/move/move-compiler/src/unit_test/plan_builder.rs index c53926366cbd92..5ea88c5ffa6818 100644 --- a/third_party/move/move-compiler/src/unit_test/plan_builder.rs +++ b/third_party/move/move-compiler/src/unit_test/plan_builder.rs @@ -638,7 +638,7 @@ fn convert_attribute_value_u64( ) -> Option<(Loc, u64)> { use E::{AttributeValue_ as EAV, Value_ as EV}; match value { - sp!(vloc, EAV::Value(sp!(_, EV::InferredNum(u)))) if *u <= U256::from(std::u64::MAX) => { + sp!(vloc, EAV::Value(sp!(_, EV::InferredNum(u)))) if *u <= U256::from(u64::MAX) => { Some((*vloc, u.down_cast_lossy())) }, sp!(vloc, EAV::Value(sp!(_, EV::U64(u)))) => Some((*vloc, *u)), diff --git a/third_party/move/move-core/types/src/u256.rs b/third_party/move/move-core/types/src/u256.rs index b73647ea06fe8c..7a474fd86e6029 100644 --- a/third_party/move/move-core/types/src/u256.rs +++ b/third_party/move/move-core/types/src/u256.rs @@ -1,6 +1,8 @@ // Copyright (c) The Move Contributors // SPDX-License-Identifier: Apache-2.0 +#![allow(unexpected_cfgs)] + use ethnum::U256 as EthnumU256; use num::{bigint::Sign, BigInt}; // This U256 impl was chosen for now but we are open to changing it as needed diff --git a/third_party/move/move-core/types/src/vm_status.rs b/third_party/move/move-core/types/src/vm_status.rs index 0db1e408c3a3ba..aaae4d3c8d6433 100644 --- a/third_party/move/move-core/types/src/vm_status.rs +++ b/third_party/move/move-core/types/src/vm_status.rs @@ -865,7 +865,7 @@ pub enum StatusCode { RESERVED_RUNTIME_ERROR_4 = 4042, // A reserved status to represent an unknown vm status. - // this is std::u64::MAX, but we can't pattern match on that, so put the hardcoded value in + // this is u64::MAX, but we can't pattern match on that, so put the hardcoded value in UNKNOWN_STATUS = 18446744073709551615, } } diff --git a/third_party/move/move-ir-compiler/move-ir-to-bytecode/src/context.rs b/third_party/move/move-ir-compiler/move-ir-to-bytecode/src/context.rs index dd996eed4eac6f..81afc53985f666 100644 --- a/third_party/move/move-ir-compiler/move-ir-to-bytecode/src/context.rs +++ b/third_party/move/move-ir-compiler/move-ir-to-bytecode/src/context.rs @@ -46,7 +46,7 @@ macro_rules! get_or_add_item_macro { }}; } -pub const TABLE_MAX_SIZE: usize = u16::max_value() as usize; +pub const TABLE_MAX_SIZE: usize = u16::MAX as usize; fn get_or_add_item_ref( m: &mut HashMap, k: &K, diff --git a/third_party/move/move-model/bytecode/src/fat_loop.rs b/third_party/move/move-model/bytecode/src/fat_loop.rs index 224baa7e8bca3d..0c5e868a5d6a25 100644 --- a/third_party/move/move-model/bytecode/src/fat_loop.rs +++ b/third_party/move/move-model/bytecode/src/fat_loop.rs @@ -273,6 +273,7 @@ impl FatLoopBuilder { /// 2) `PropKind::Assert` propositions /// 3) in the loop header block, immediately after the `Label` statement, /// 4) which are also marked in the `loop_invariants` field in the `FunctionData`. + /// /// All above conditions must be met to be qualified as a loop invariant. /// /// The reason we piggyback on `PropKind::Assert` instead of introducing a new diff --git a/third_party/move/move-model/src/ast.rs b/third_party/move/move-model/src/ast.rs index 440abdd3ad23f9..0b04560db99867 100644 --- a/third_party/move/move-model/src/ast.rs +++ b/third_party/move/move-model/src/ast.rs @@ -1333,6 +1333,7 @@ impl ExpData { /// Visitor implementation uses `Option<()>` to implement short-cutting without verbosity. /// - `visitor` returns `None` to indicate that visit should stop early, and `Some(())` to continue. /// - `visit_positions_impl` returns `None` if visitor returned `None`. + /// /// See `visit_positions` for more fn visit_positions_impl(&self, visitor: &mut F) -> Option<()> where diff --git a/third_party/move/move-model/src/builder/exp_builder.rs b/third_party/move/move-model/src/builder/exp_builder.rs index a6e0cf223a8fb9..e7aebe6f95efca 100644 --- a/third_party/move/move-model/src/builder/exp_builder.rs +++ b/third_party/move/move-model/src/builder/exp_builder.rs @@ -1977,10 +1977,10 @@ impl<'env, 'translator, 'module_translator> ExpTranslator<'env, 'translator, 'mo /// This function: /// 1) Post processes any placeholders which have been generated while translating expressions - /// with this builder. This rewrites the given result expression and fills in placeholders - /// with the final expressions. + /// with this builder. This rewrites the given result expression and fills in placeholders + /// with the final expressions. /// 2) Instantiates types for all all struct patterns in the block expression - /// This step is necessary because struct pattern may contain uninstantiated variable types + /// This step is necessary because struct pattern may contain uninstantiated variable types pub fn post_process_body(&mut self, result_exp: Exp) -> Exp { let subs = self.subs.clone(); ExpData::rewrite_exp_and_pattern( diff --git a/third_party/move/move-model/src/ty.rs b/third_party/move/move-model/src/ty.rs index 2bb9288cbd53b1..f4e99f353db105 100644 --- a/third_party/move/move-model/src/ty.rs +++ b/third_party/move/move-model/src/ty.rs @@ -959,6 +959,7 @@ impl Type { matches!(self, Type::Var(_)) } + #[allow(clippy::collapsible_match)] /// Returns true if this is any number type. pub fn is_number(&self) -> bool { if let Type::Primitive(p) = self { @@ -2471,6 +2472,7 @@ impl TypeUnificationAdapter { /// - any type parameter on the LHS with index < P will be treated as concrete types and /// - only type parameters on the LHS with index >= P are treated as variables and thus, /// participate in the type unification process. + /// /// The same rule applies to the RHS parameters via `treat_rhs_type_param_as_var_after_index`. fn new<'a, I>( lhs_types: I, @@ -3252,6 +3254,7 @@ impl TypeInstantiationDerivation { /// - be assigned with a concrete type already and hence, ceases to be a type parameter, or /// - does not have any matching instantiation and hence, either remains a type parameter or is /// represented as a type error. + /// /// But in anyway, these type parameters no longer participate in type unification anymore. /// /// If `target_lhs` is True, derive instantiations for the type parameter with @@ -3313,6 +3316,7 @@ impl TypeInstantiationDerivation { /// - finds all possible instantiations for parameter at index 2 (`inst_param_2`) /// - for each instantiation in `inst_param_2`, /// - ...... + /// /// The process continues until all type parameters are analyzed (i.e., reaching the type /// parameter at index `N`). /// diff --git a/third_party/move/move-prover/boogie-backend/src/boogie_helpers.rs b/third_party/move/move-prover/boogie-backend/src/boogie_helpers.rs index 0062a401306a7b..84044a2d5b812d 100644 --- a/third_party/move/move-prover/boogie-backend/src/boogie_helpers.rs +++ b/third_party/move/move-prover/boogie-backend/src/boogie_helpers.rs @@ -863,6 +863,7 @@ fn type_name_to_ident_tokens( /// The `stdlib` bool flag represents whether this type name is intended for /// - true --> `std::type_name` and /// - false --> `ext::type_info`. +/// /// TODO(mengxu): the above is a very hacky, we need a better way to differentiate pub fn boogie_reflection_type_name(env: &GlobalEnv, ty: &Type, stdlib: bool) -> String { let formatter = if stdlib { diff --git a/third_party/move/move-prover/bytecode-pipeline/src/global_invariant_instrumentation_v2.rs b/third_party/move/move-prover/bytecode-pipeline/src/global_invariant_instrumentation_v2.rs index a71b9be51b73ae..e6e0e14277ef7f 100644 --- a/third_party/move/move-prover/bytecode-pipeline/src/global_invariant_instrumentation_v2.rs +++ b/third_party/move/move-prover/bytecode-pipeline/src/global_invariant_instrumentation_v2.rs @@ -2,6 +2,8 @@ // Copyright (c) The Move Contributors // SPDX-License-Identifier: Apache-2.0 +#![allow(unexpected_cfgs)] + // Transformation which injects global invariants into the bytecode. use crate::{options::ProverOptions, verification_analysis_v2::InvariantAnalysisData}; diff --git a/third_party/move/move-prover/bytecode-pipeline/src/inconsistency_check.rs b/third_party/move/move-prover/bytecode-pipeline/src/inconsistency_check.rs index 1da58828dbeb1b..6ac93752f20355 100644 --- a/third_party/move/move-prover/bytecode-pipeline/src/inconsistency_check.rs +++ b/third_party/move/move-prover/bytecode-pipeline/src/inconsistency_check.rs @@ -11,6 +11,7 @@ //! an `assert false` before //! - every `return` and //! - every `abort` (if the `unconditional-abort-as-inconsistency` option is set). +//! //! In this way, if the instrumented `assert false` can be proved, it means we have an inconsistency //! in the specifications. //! diff --git a/third_party/move/move-prover/bytecode-pipeline/src/packed_types_analysis.rs b/third_party/move/move-prover/bytecode-pipeline/src/packed_types_analysis.rs index 494973803cfca6..8fd0fc00953bdb 100644 --- a/third_party/move/move-prover/bytecode-pipeline/src/packed_types_analysis.rs +++ b/third_party/move/move-prover/bytecode-pipeline/src/packed_types_analysis.rs @@ -26,6 +26,7 @@ use std::collections::BTreeSet; /// - Transaction scripts have at most 1 type argument /// - The only values that can be bound to a transaction script type argument are XUS and /// XDX. Passing any other values will lead to an aborted transaction. +/// /// The first assumption is checked and will trigger an assert failure if violated. The second /// is unchecked, but would be a nice property for the prover. pub fn get_packed_types( diff --git a/third_party/move/move-vm/runtime/src/storage/environment.rs b/third_party/move/move-vm/runtime/src/storage/environment.rs index 62d885c36a96af..45d6a393cf8ddf 100644 --- a/third_party/move/move-vm/runtime/src/storage/environment.rs +++ b/third_party/move/move-vm/runtime/src/storage/environment.rs @@ -63,7 +63,8 @@ pub struct RuntimeEnvironment { /// The design of V2 loader ensures that when modules are published, i.e., staged on top of /// the existing module storage, the runtime environment is cloned. Hence, it is not even /// possible to mutate this global cache speculatively. - /// Importantly, this SHOULD NOT be mutated by speculative module publish. + /// + /// Importantly, this SHOULD NOT be mutated by speculative module publish. // TODO(loader_v2): // Provide a generic (trait) implementation for clients to implement their own type caching // logic. diff --git a/third_party/move/move-vm/runtime/src/storage/implementations/unsync_code_storage.rs b/third_party/move/move-vm/runtime/src/storage/implementations/unsync_code_storage.rs index 51539b35ffcd08..48698dfd5ad6b4 100644 --- a/third_party/move/move-vm/runtime/src/storage/implementations/unsync_code_storage.rs +++ b/third_party/move/move-vm/runtime/src/storage/implementations/unsync_code_storage.rs @@ -22,6 +22,7 @@ use move_vm_types::code::{ use std::sync::Arc; /// Code storage that stores both modules and scripts (not thread-safe). +#[allow(clippy::duplicated_attributes)] #[derive(Delegate)] #[delegate(WithRuntimeEnvironment, where = "M: ModuleStorage")] #[delegate(ModuleStorage, where = "M: ModuleStorage")] @@ -54,6 +55,7 @@ impl UnsyncCodeStorage { } /// Private implementation of code storage based on non-[Sync] script cache. +#[allow(clippy::duplicated_attributes)] #[derive(Delegate)] #[delegate( WithRuntimeEnvironment, diff --git a/third_party/move/move-vm/runtime/src/storage/implementations/unsync_module_storage.rs b/third_party/move/move-vm/runtime/src/storage/implementations/unsync_module_storage.rs index c423c410b0ea35..6203a5a4890564 100644 --- a/third_party/move/move-vm/runtime/src/storage/implementations/unsync_module_storage.rs +++ b/third_party/move/move-vm/runtime/src/storage/implementations/unsync_module_storage.rs @@ -76,6 +76,7 @@ struct NoVersion; /// Private implementation of module storage based on non-[Sync] module cache and the baseline /// storage. +#[allow(clippy::duplicated_attributes)] #[derive(Delegate)] #[delegate( WithRuntimeEnvironment, @@ -150,6 +151,7 @@ impl<'s, S: ModuleBytesStorage, E: WithRuntimeEnvironment> ModuleCodeBuilder } /// Implementation of (not thread-safe) module storage used for Move unit tests, and externally. +#[allow(clippy::duplicated_attributes)] #[derive(Delegate)] #[delegate( WithRuntimeEnvironment, diff --git a/third_party/move/move-vm/runtime/src/storage/loader.rs b/third_party/move/move-vm/runtime/src/storage/loader.rs index 3c484c7f74549f..4d659f5dad3d8b 100644 --- a/third_party/move/move-vm/runtime/src/storage/loader.rs +++ b/third_party/move/move-vm/runtime/src/storage/loader.rs @@ -121,6 +121,7 @@ impl LoaderV2 { /// Loads the script: /// 1. Fetches it from the cache (or deserializes and verifies it if it is not cached). /// 2. Verifies type arguments (modules that define the type arguments are also loaded). + /// /// If both steps are successful, returns a [LoadedFunction] corresponding to the script's /// entrypoint. pub(crate) fn load_script( diff --git a/third_party/move/move-vm/runtime/src/storage/publishing.rs b/third_party/move/move-vm/runtime/src/storage/publishing.rs index d6d3320e9c54ae..7de4de7fb0298b 100644 --- a/third_party/move/move-vm/runtime/src/storage/publishing.rs +++ b/third_party/move/move-vm/runtime/src/storage/publishing.rs @@ -71,6 +71,7 @@ impl<'a, M: ModuleStorage> ModuleBytesStorage for StagingModuleBytesStorage<'a, /// 2) Published modules satisfy compatibility constraints. /// 3) Published modules are verifiable and can link to existing modules without breaking /// invariants such as cyclic dependencies. +#[allow(clippy::duplicated_attributes)] #[derive(Delegate)] #[delegate(WithRuntimeEnvironment, where = "M: ModuleStorage")] #[delegate(ModuleStorage, where = "M: ModuleStorage")] diff --git a/third_party/move/move-vm/test-utils/src/gas_schedule.rs b/third_party/move/move-vm/test-utils/src/gas_schedule.rs index dc22263926f538..b67fbada83444d 100644 --- a/third_party/move/move-vm/test-utils/src/gas_schedule.rs +++ b/third_party/move/move-vm/test-utils/src/gas_schedule.rs @@ -34,10 +34,7 @@ use move_vm_types::{ }; use once_cell::sync::Lazy; use serde::{Deserialize, Serialize}; -use std::{ - ops::{Add, Mul}, - u64, -}; +use std::ops::{Add, Mul}; pub enum GasUnit {} diff --git a/third_party/move/move-vm/types/src/values/values_impl.rs b/third_party/move/move-vm/types/src/values/values_impl.rs index 006c16d6b9dd1b..9affe510f2affd 100644 --- a/third_party/move/move-vm/types/src/values/values_impl.rs +++ b/third_party/move/move-vm/types/src/values/values_impl.rs @@ -1847,7 +1847,7 @@ impl IntegerValue { match self { U8(x) => Ok(x), U16(x) => { - if x > (std::u8::MAX as u16) { + if x > (u8::MAX as u16) { Err(PartialVMError::new(StatusCode::ARITHMETIC_ERROR) .with_message(format!("Cannot cast u16({}) to u8", x))) } else { @@ -1855,7 +1855,7 @@ impl IntegerValue { } }, U32(x) => { - if x > (std::u8::MAX as u32) { + if x > (u8::MAX as u32) { Err(PartialVMError::new(StatusCode::ARITHMETIC_ERROR) .with_message(format!("Cannot cast u32({}) to u8", x))) } else { @@ -1863,7 +1863,7 @@ impl IntegerValue { } }, U64(x) => { - if x > (std::u8::MAX as u64) { + if x > (u8::MAX as u64) { Err(PartialVMError::new(StatusCode::ARITHMETIC_ERROR) .with_message(format!("Cannot cast u64({}) to u8", x))) } else { @@ -1871,7 +1871,7 @@ impl IntegerValue { } }, U128(x) => { - if x > (std::u8::MAX as u128) { + if x > (u8::MAX as u128) { Err(PartialVMError::new(StatusCode::ARITHMETIC_ERROR) .with_message(format!("Cannot cast u128({}) to u8", x))) } else { @@ -1879,7 +1879,7 @@ impl IntegerValue { } }, U256(x) => { - if x > (u256::U256::from(std::u8::MAX)) { + if x > (u256::U256::from(u8::MAX)) { Err(PartialVMError::new(StatusCode::ARITHMETIC_ERROR) .with_message(format!("Cannot cast u256({}) to u8", x))) } else { @@ -1896,7 +1896,7 @@ impl IntegerValue { U8(x) => Ok(x as u16), U16(x) => Ok(x), U32(x) => { - if x > (std::u16::MAX as u32) { + if x > (u16::MAX as u32) { Err(PartialVMError::new(StatusCode::ARITHMETIC_ERROR) .with_message(format!("Cannot cast u32({}) to u16", x))) } else { @@ -1904,7 +1904,7 @@ impl IntegerValue { } }, U64(x) => { - if x > (std::u16::MAX as u64) { + if x > (u16::MAX as u64) { Err(PartialVMError::new(StatusCode::ARITHMETIC_ERROR) .with_message(format!("Cannot cast u64({}) to u16", x))) } else { @@ -1912,7 +1912,7 @@ impl IntegerValue { } }, U128(x) => { - if x > (std::u16::MAX as u128) { + if x > (u16::MAX as u128) { Err(PartialVMError::new(StatusCode::ARITHMETIC_ERROR) .with_message(format!("Cannot cast u128({}) to u16", x))) } else { @@ -1920,7 +1920,7 @@ impl IntegerValue { } }, U256(x) => { - if x > (u256::U256::from(std::u16::MAX)) { + if x > (u256::U256::from(u16::MAX)) { Err(PartialVMError::new(StatusCode::ARITHMETIC_ERROR) .with_message(format!("Cannot cast u256({}) to u16", x))) } else { @@ -1938,7 +1938,7 @@ impl IntegerValue { U16(x) => Ok(x as u32), U32(x) => Ok(x), U64(x) => { - if x > (std::u32::MAX as u64) { + if x > (u32::MAX as u64) { Err(PartialVMError::new(StatusCode::ARITHMETIC_ERROR) .with_message(format!("Cannot cast u64({}) to u32", x))) } else { @@ -1946,7 +1946,7 @@ impl IntegerValue { } }, U128(x) => { - if x > (std::u32::MAX as u128) { + if x > (u32::MAX as u128) { Err(PartialVMError::new(StatusCode::ARITHMETIC_ERROR) .with_message(format!("Cannot cast u128({}) to u32", x))) } else { @@ -1954,7 +1954,7 @@ impl IntegerValue { } }, U256(x) => { - if x > (u256::U256::from(std::u32::MAX)) { + if x > (u256::U256::from(u32::MAX)) { Err(PartialVMError::new(StatusCode::ARITHMETIC_ERROR) .with_message(format!("Cannot cast u128({}) to u32", x))) } else { @@ -1973,7 +1973,7 @@ impl IntegerValue { U32(x) => Ok(x as u64), U64(x) => Ok(x), U128(x) => { - if x > (std::u64::MAX as u128) { + if x > (u64::MAX as u128) { Err(PartialVMError::new(StatusCode::ARITHMETIC_ERROR) .with_message(format!("Cannot cast u128({}) to u64", x))) } else { @@ -1981,7 +1981,7 @@ impl IntegerValue { } }, U256(x) => { - if x > (u256::U256::from(std::u64::MAX)) { + if x > (u256::U256::from(u64::MAX)) { Err(PartialVMError::new(StatusCode::ARITHMETIC_ERROR) .with_message(format!("Cannot cast u256({}) to u64", x))) } else { @@ -2001,7 +2001,7 @@ impl IntegerValue { U64(x) => Ok(x as u128), U128(x) => Ok(x), U256(x) => { - if x > (u256::U256::from(std::u128::MAX)) { + if x > (u256::U256::from(u128::MAX)) { Err(PartialVMError::new(StatusCode::ARITHMETIC_ERROR) .with_message(format!("Cannot cast u256({}) to u128", x))) } else { diff --git a/third_party/move/testing-infra/test-generation/src/abstract_state.rs b/third_party/move/testing-infra/test-generation/src/abstract_state.rs index 39e2ec6b5a1ed3..07f875b9da6d6c 100644 --- a/third_party/move/testing-infra/test-generation/src/abstract_state.rs +++ b/third_party/move/testing-infra/test-generation/src/abstract_state.rs @@ -514,7 +514,7 @@ impl AbstractState { pub fn stack_push(&mut self, item: AbstractValue) { // Programs that are large enough to exceed this bound // will not be generated - debug_assert!(self.stack.len() < usize::max_value()); + debug_assert!(self.stack.len() < usize::MAX); self.stack.push(item); } @@ -524,7 +524,7 @@ impl AbstractState { if let Some(abstract_value) = self.register_move() { // Programs that are large enough to exceed this bound // will not be generated - debug_assert!(self.stack.len() < usize::max_value()); + debug_assert!(self.stack.len() < usize::MAX); self.stack.push(abstract_value); Ok(()) } else { diff --git a/third_party/move/testing-infra/test-generation/src/borrow_graph.rs b/third_party/move/testing-infra/test-generation/src/borrow_graph.rs index 9e9f6a517efef0..d4410f232968cb 100644 --- a/third_party/move/testing-infra/test-generation/src/borrow_graph.rs +++ b/third_party/move/testing-infra/test-generation/src/borrow_graph.rs @@ -67,7 +67,7 @@ impl BorrowGraph { } self.partition_map.insert(self.partition_counter, vec![n]); // Implication of `checked_add` - debug_assert!(self.partitions.len() < usize::max_value()); + debug_assert!(self.partitions.len() < usize::MAX); self.partitions.push(self.partition_counter); Ok(()) } else { diff --git a/third_party/move/testing-infra/test-generation/src/bytecode_generator.rs b/third_party/move/testing-infra/test-generation/src/bytecode_generator.rs index e7c3d8137d257a..c169b33eb80304 100644 --- a/third_party/move/testing-infra/test-generation/src/bytecode_generator.rs +++ b/third_party/move/testing-infra/test-generation/src/bytecode_generator.rs @@ -162,7 +162,7 @@ impl FunctionGenerationContext { pub fn incr_instruction_count(&mut self) -> Option<()> { self.bytecode_len += 1; - if self.bytecode_len >= (u16::max_value() - 1) as u64 { + if self.bytecode_len >= (u16::MAX - 1) as u64 { return None; } Some(()) @@ -402,23 +402,23 @@ impl<'a> BytecodeGenerator<'a> { }, BytecodeType::U8(instruction) => { // Generate a random u8 constant to load - Some(instruction(self.rng.gen_range(0..u8::max_value()))) + Some(instruction(self.rng.gen_range(0..u8::MAX))) }, BytecodeType::U16(instruction) => { // Generate a random u16 constant to load - Some(instruction(self.rng.gen_range(0..u16::max_value()))) + Some(instruction(self.rng.gen_range(0..u16::MAX))) }, BytecodeType::U32(instruction) => { // Generate a random u32 constant to load - Some(instruction(self.rng.gen_range(0..u32::max_value()))) + Some(instruction(self.rng.gen_range(0..u32::MAX))) }, BytecodeType::U64(instruction) => { // Generate a random u64 constant to load - Some(instruction(self.rng.gen_range(0..u64::max_value()))) + Some(instruction(self.rng.gen_range(0..u64::MAX))) }, BytecodeType::U128(instruction) => { // Generate a random u128 constant to load - Some(instruction(self.rng.gen_range(0..u128::max_value()))) + Some(instruction(self.rng.gen_range(0..u128::MAX))) }, BytecodeType::U256(instruction) => { // Generate a random u256 constant to load @@ -485,7 +485,7 @@ impl<'a> BytecodeGenerator<'a> { || unsatisfied_preconditions == 0 { // The size of matches cannot be greater than the number of bytecode instructions - debug_assert!(matches.len() < usize::max_value()); + debug_assert!(matches.len() < usize::MAX); matches.push((*stack_effect, instruction)); } } @@ -615,7 +615,7 @@ impl<'a> BytecodeGenerator<'a> { exact: bool, ) -> Option { // Bytecode will never be generated this large - debug_assert!(bytecode.len() < usize::max_value()); + debug_assert!(bytecode.len() < usize::MAX); debug!("**********************"); debug!("State1: {}", state); debug!("Next instr: {:?}", instruction); diff --git a/third_party/move/testing-infra/test-generation/src/control_flow_graph.rs b/third_party/move/testing-infra/test-generation/src/control_flow_graph.rs index cdc8a9380b8283..f0f44d4a013f33 100644 --- a/third_party/move/testing-infra/test-generation/src/control_flow_graph.rs +++ b/third_party/move/testing-infra/test-generation/src/control_flow_graph.rs @@ -95,22 +95,22 @@ impl CFG { // The number of edges will be at most `2*target_blocks`` // Since target blocks is at most a `u16`, this will not overflow even if // `usize` is a `u32` - debug_assert!(edges.len() < usize::max_value()); + debug_assert!(edges.len() < usize::MAX); edges.push((parent_block_id, current_block_id)); block_queue.push_back(current_block_id); // `current_block_id` is bound by the max og `target_block_size` - debug_assert!(current_block_id < u16::max_value()); + debug_assert!(current_block_id < u16::MAX); current_block_id += 1; // Generate a second child edge with prob = 1/2 if rng.gen_bool(0.5) && current_block_id < target_blocks { // The number of edges will be at most `2*target_blocks`` // Since target blocks is at most a `u16`, this will not overflow even if // `usize` is a `u32` - debug_assert!(edges.len() < usize::max_value()); + debug_assert!(edges.len() < usize::MAX); edges.push((parent_block_id, current_block_id)); block_queue.push_back(current_block_id); // `current_block_id` is bound by the max og `target_block_size` - debug_assert!(current_block_id < u16::max_value()); + debug_assert!(current_block_id < u16::MAX); current_block_id += 1; } } @@ -156,7 +156,7 @@ impl CFG { for (parent, child) in self.edges.iter() { if *parent == block_id { // Length is bound by iteration on `self.edges` - debug_assert!(children_ids.len() < usize::max_value()); + debug_assert!(children_ids.len() < usize::MAX); children_ids.push(*child); } } @@ -175,7 +175,7 @@ impl CFG { for (parent, child) in self.edges.iter() { if *child == block_id { // Iteration is bound by the self.edges vector length - debug_assert!(parent_ids.len() < usize::max_value()); + debug_assert!(parent_ids.len() < usize::MAX); parent_ids.push(*parent); } } diff --git a/third_party/move/testing-infra/test-generation/src/lib.rs b/third_party/move/testing-infra/test-generation/src/lib.rs index b077021b4a197f..a4e3d9f3fea699 100644 --- a/third_party/move/testing-infra/test-generation/src/lib.rs +++ b/third_party/move/testing-infra/test-generation/src/lib.rs @@ -240,9 +240,7 @@ pub fn module_frame_generation( let mut module = generate_module(&mut rng, generation_options.clone()); // Either get the number of iterations provided by the user, or iterate "infinitely"--up to // u128::MAX number of times. - let iters = num_iters - .map(|x| x as u128) - .unwrap_or_else(|| std::u128::MAX); + let iters = num_iters.map(|x| x as u128).unwrap_or_else(|| u128::MAX); while generated < iters && sender.send(module).is_ok() { module = generate_module(&mut rng, generation_options.clone()); diff --git a/types/src/account_config/resources/coin_info.rs b/types/src/account_config/resources/coin_info.rs index 4ab8f09f48694b..ad5380eb1c3343 100644 --- a/types/src/account_config/resources/coin_info.rs +++ b/types/src/account_config/resources/coin_info.rs @@ -15,7 +15,7 @@ use move_core_types::{ move_resource::{MoveResource, MoveStructType}, }; use serde::{Deserialize, Serialize}; -use std::{marker::PhantomData, string::FromUtf8Error, u128}; +use std::{marker::PhantomData, string::FromUtf8Error}; #[derive(Debug, Serialize, Deserialize)] pub struct CoinInfoResource { diff --git a/types/src/block_executor/partitioner.rs b/types/src/block_executor/partitioner.rs index b42eb4efcd8a43..a312c2f5364389 100644 --- a/types/src/block_executor/partitioner.rs +++ b/types/src/block_executor/partitioner.rs @@ -131,11 +131,11 @@ impl IntoIterator for CrossShardEdges { /// Represents the dependencies of a transaction on other transactions across shards. Two types /// of dependencies are supported: /// 1. `required_edges`: The transaction depends on the execution of the transactions in the set. In this -/// case, the transaction can only be executed after the transactions in the set have been executed. +/// case, the transaction can only be executed after the transactions in the set have been executed. /// 2. `dependent_edges`: The transactions in the set depend on the execution of the transaction. In this -/// case, the transactions in the set can only be executed after the transaction has been executed. -/// Dependent edge is a reverse of required edge, for example if txn 20 in shard 2 requires txn 10 in shard 1, -/// then txn 10 in shard 1 will have a dependent edge to txn 20 in shard 2. +/// case, the transactions in the set can only be executed after the transaction has been executed. +/// Dependent edge is a reverse of required edge, for example if txn 20 in shard 2 requires txn 10 in shard 1, +/// then txn 10 in shard 1 will have a dependent edge to txn 20 in shard 2. pub struct CrossShardDependencies { pub required_edges: CrossShardEdges, pub dependent_edges: CrossShardEdges, diff --git a/types/src/block_info.rs b/types/src/block_info.rs index 1bf7b2bd33b2f4..8d591d4ce5534a 100644 --- a/types/src/block_info.rs +++ b/types/src/block_info.rs @@ -111,12 +111,12 @@ impl BlockInfo { /// blockchain state after executing the initial genesis transaction. /// /// * `genesis_state_root_hash` - the state tree root hash after executing the - /// initial genesis transaction. + /// initial genesis transaction. /// /// * `validator_set` - the initial validator set, configured when generating - /// the genesis transaction itself and emitted after executing the genesis - /// transaction. Using this genesis block means transitioning to a new epoch - /// (GENESIS_EPOCH + 1) with this `validator_set`. + /// the genesis transaction itself and emitted after executing the genesis + /// transaction. Using this genesis block means transitioning to a new epoch + /// (GENESIS_EPOCH + 1) with this `validator_set`. pub fn genesis(genesis_state_root_hash: HashValue, validator_set: ValidatorSet) -> Self { let verifier: ValidatorVerifier = (&validator_set).into(); Self { diff --git a/types/src/dkg/real_dkg/rounding/mod.rs b/types/src/dkg/real_dkg/rounding/mod.rs index e548b8a4cef072..72c60bf8da1660 100644 --- a/types/src/dkg/real_dkg/rounding/mod.rs +++ b/types/src/dkg/real_dkg/rounding/mod.rs @@ -26,7 +26,7 @@ pub fn total_weight_lower_bound(validator_stakes: &[u64]) -> usize { /// - A validator with stake `cur_stake` gets rounded weight `round((3*n+12)*cur_stake/stake_total)`; /// - `rounding_weight_gain_total` and `rounding_weight_loss_total` are determined, whose sum is at most `n/2` (since everyone's rounding error is at most `1/2`); /// - `reconstruction_threshold` is set to be `ceil(1.5n + 6 + rounding_weight_gain_total) + 1`. -/// Now, a validator subset of stake ratio `r` has `weight_sub_total` in range: +/// Now, a validator subset of stake ratio `r` has `weight_sub_total` in range: /// `[(3*n+12)*r - rounding_weight_loss_total, (3*n+12)*r + rounding_weight_gain_total]` /// - when `r <= 1/2`, `weight_sub_total <= 1.5*n + 6 + rounding_weight_gain_total < reconstruction_threshold`. /// - when `r > 2/3`, `weight_sub_total >= 2*n + 8 - rounding_weight_loss_total >= 1.5*n + 8 + rounding_weight_gain_total > reconstruction_threshold`. diff --git a/types/src/keyless/circuit_testcases.rs b/types/src/keyless/circuit_testcases.rs index b542d269652328..46d050e3c46808 100644 --- a/types/src/keyless/circuit_testcases.rs +++ b/types/src/keyless/circuit_testcases.rs @@ -154,6 +154,7 @@ pub(crate) static SAMPLE_PK: Lazy = Lazy::new(|| { /// - uid_key set to `sub` /// - no override aud /// - the extra field enabled +/// /// https://github.com/aptos-labs/devnet-groth16-keys/commit/02e5675f46ce97f8b61a4638e7a0aaeaa4351f76 pub(crate) static SAMPLE_PROOF: Lazy = Lazy::new(|| { Groth16Proof::new( @@ -167,6 +168,7 @@ pub(crate) static SAMPLE_PROOF: Lazy = Lazy::new(|| { /// - uid_key set to `sub` /// - no override aud /// - no extra field +/// /// https://github.com/aptos-labs/devnet-groth16-keys/commit/02e5675f46ce97f8b61a4638e7a0aaeaa4351f76 pub(crate) static SAMPLE_PROOF_NO_EXTRA_FIELD: Lazy = Lazy::new(|| { Groth16Proof::new( diff --git a/types/src/proof/position/mod.rs b/types/src/proof/position/mod.rs index c06beef5072aa2..771399b38900e4 100644 --- a/types/src/proof/position/mod.rs +++ b/types/src/proof/position/mod.rs @@ -33,7 +33,7 @@ mod position_test; #[derive(Clone, Copy, Debug, Eq, PartialEq, Hash, Ord, PartialOrd)] pub struct Position(u64); -// invariant Position.0 < u64::max_value() - 1 +// invariant Position.0 < u64::MAX - 1 #[derive(Debug, Eq, PartialEq)] pub enum NodeDirection { @@ -91,7 +91,7 @@ impl Position { /// What is the parent of this node? pub fn parent(self) -> Self { - assert!(self.0 < u64::max_value() - 1); // invariant + assert!(self.0 < u64::MAX - 1); // invariant Self( (self.0 | isolate_rightmost_zero_bit(self.0)) & !(isolate_rightmost_zero_bit(self.0) << 1), @@ -112,7 +112,7 @@ impl Position { fn child(self, dir: NodeDirection) -> Self { assert!(!self.is_leaf()); - assert!(self.0 < u64::max_value() - 1); // invariant + assert!(self.0 < u64::MAX - 1); // invariant let direction_bit = match dir { NodeDirection::Left => 0, @@ -125,7 +125,7 @@ impl Position { /// after stripping out all right-most 1 bits, a left child will have a bit pattern /// of xxx00(11..), while a right child will be represented by xxx10(11..) pub fn is_left_child(self) -> bool { - assert!(self.0 < u64::max_value() - 1); // invariant + assert!(self.0 < u64::MAX - 1); // invariant self.0 & (isolate_rightmost_zero_bit(self.0) << 1) == 0 } @@ -145,7 +145,7 @@ impl Position { /// To find out the right-most common bits, first remove all the right-most ones /// because they are corresponding to level's indicator. Then remove next zero right after. pub fn sibling(self) -> Self { - assert!(self.0 < u64::max_value() - 1); // invariant + assert!(self.0 < u64::MAX - 1); // invariant Self(self.0 ^ (isolate_rightmost_zero_bit(self.0) << 1)) } @@ -341,7 +341,7 @@ impl Iterator for AncestorIterator { pub struct FrozenSubTreeIterator { bitmap: u64, seen_leaves: u64, - // invariant seen_leaves < u64::max_value() - bitmap + // invariant seen_leaves < u64::MAX - bitmap } impl FrozenSubTreeIterator { @@ -357,7 +357,7 @@ impl Iterator for FrozenSubTreeIterator { type Item = Position; fn next(&mut self) -> Option { - assert!(self.seen_leaves < u64::max_value() - self.bitmap); // invariant + assert!(self.seen_leaves < u64::MAX - self.bitmap); // invariant if self.bitmap == 0 { return None; diff --git a/types/src/proof/unit_tests/proof_test.rs b/types/src/proof/unit_tests/proof_test.rs index 623333a2722a50..955de84f29e351 100644 --- a/types/src/proof/unit_tests/proof_test.rs +++ b/types/src/proof/unit_tests/proof_test.rs @@ -116,7 +116,7 @@ fn test_accumulator_proof_max_siblings_rightmost() { let root_hash = siblings.iter().fold(element_hash, |hash, sibling_hash| { TestAccumulatorInternalNode::new(*sibling_hash, hash).hash() }); - let leaf_index = (std::u64::MAX - 1) / 2; + let leaf_index = (u64::MAX - 1) / 2; let proof = TestAccumulatorProof::new(siblings); assert!(proof.verify(root_hash, element_hash, leaf_index).is_ok()); diff --git a/types/src/proptest_types.rs b/types/src/proptest_types.rs index fb26fdf7ce988f..851b01971c004a 100644 --- a/types/src/proptest_types.rs +++ b/types/src/proptest_types.rs @@ -124,7 +124,7 @@ impl EventKey { account_address_strategy: impl Strategy, ) -> impl Strategy { // We only generate small counters so that it won't overflow. - (account_address_strategy, 0..std::u64::MAX / 2) + (account_address_strategy, 0..u64::MAX / 2) .prop_map(|(account_address, counter)| EventKey::new(counter, account_address)) } } @@ -706,7 +706,7 @@ impl EventHandle { event_key_strategy: impl Strategy, ) -> impl Strategy { // We only generate small counters so that it won't overflow. - (event_key_strategy, 0..std::u64::MAX / 2) + (event_key_strategy, 0..u64::MAX / 2) .prop_map(|(event_key, counter)| EventHandle::new(event_key, counter)) } } diff --git a/types/src/trusted_state.rs b/types/src/trusted_state.rs index 73db0aa0731b89..597c5ebf409dbd 100644 --- a/types/src/trusted_state.rs +++ b/types/src/trusted_state.rs @@ -122,19 +122,19 @@ impl TrustedState { /// ledger info within our current epoch. /// /// + If there was a validation error, e.g., the epoch change proof was - /// invalid, we return an `Err`. + /// invalid, we return an `Err`. /// /// + If the message was well formed but stale (i.e., the returned latest - /// ledger is behind our trusted version), we also return an `Err` since - /// stale responses should always be rejected. + /// ledger is behind our trusted version), we also return an `Err` since + /// stale responses should always be rejected. /// /// + If the response is fresh and there is no epoch change, we just ratchet - /// our trusted version to the latest ledger info and return - /// `Ok(TrustedStateChange::Version { .. })`. + /// our trusted version to the latest ledger info and return + /// `Ok(TrustedStateChange::Version { .. })`. /// /// + If there is a new epoch and the server provides a correct proof, we - /// ratchet our trusted version forward, update our verifier to contain - /// the new validator set, and return `Ok(TrustedStateChange::Epoch { .. })`. + /// ratchet our trusted version forward, update our verifier to contain + /// the new validator set, and return `Ok(TrustedStateChange::Epoch { .. })`. pub fn verify_and_ratchet<'a>( &self, state_proof: &'a StateProof,