From e79de0d9bb4cd8e77e0bd1716fe8f8eaf8bd8bb2 Mon Sep 17 00:00:00 2001 From: Bogdan Crisan Date: Tue, 3 Oct 2023 09:26:42 +0200 Subject: [PATCH 01/23] add price filed to limit orders --- src/rust/aggregator/src/data/user_history.rs | 3 +- .../down.sql | 2 + .../2023-10-03-071834_fix_price_field/up.sql | 2 + src/rust/dbv2/src/schema.rs | 56 ++++++++++--------- .../dependencies/aptos-indexer-processors | 2 +- 5 files changed, 36 insertions(+), 29 deletions(-) create mode 100644 src/rust/dbv2/migrations/2023-10-03-071834_fix_price_field/down.sql create mode 100644 src/rust/dbv2/migrations/2023-10-03-071834_fix_price_field/up.sql diff --git a/src/rust/aggregator/src/data/user_history.rs b/src/rust/aggregator/src/data/user_history.rs index 63b217762..76dff9cbb 100644 --- a/src/rust/aggregator/src/data/user_history.rs +++ b/src/rust/aggregator/src/data/user_history.rs @@ -140,7 +140,7 @@ impl Data for UserHistory { sqlx::query!( r#" INSERT INTO aggregator.user_history_limit VALUES ( - $1, $2, $3, $4, $5, $6, $7 + $1, $2, $3, $4, $5, $6, $7, $8 ); "#, x.market_id, @@ -150,6 +150,7 @@ impl Data for UserHistory { x.side, x.self_match_behavior, x.restriction, + x.price, ) .execute(&mut transaction as &mut PgConnection) .await diff --git a/src/rust/dbv2/migrations/2023-10-03-071834_fix_price_field/down.sql b/src/rust/dbv2/migrations/2023-10-03-071834_fix_price_field/down.sql new file mode 100644 index 000000000..30f387bcd --- /dev/null +++ b/src/rust/dbv2/migrations/2023-10-03-071834_fix_price_field/down.sql @@ -0,0 +1,2 @@ +-- This file should undo anything in `up.sql` +ALTER TABLE aggregator.user_history_limit DROP COLUMN price; diff --git a/src/rust/dbv2/migrations/2023-10-03-071834_fix_price_field/up.sql b/src/rust/dbv2/migrations/2023-10-03-071834_fix_price_field/up.sql new file mode 100644 index 000000000..79a6f2c5a --- /dev/null +++ b/src/rust/dbv2/migrations/2023-10-03-071834_fix_price_field/up.sql @@ -0,0 +1,2 @@ +-- Your SQL goes here +ALTER TABLE aggregator.user_history_limit ADD COLUMN price NUMERIC(20) NOT NULL; diff --git a/src/rust/dbv2/src/schema.rs b/src/rust/dbv2/src/schema.rs index 6d447924c..9e6d3ee92 100644 --- a/src/rust/dbv2/src/schema.rs +++ b/src/rust/dbv2/src/schema.rs @@ -1,3 +1,22 @@ +// @generated automatically by Diesel CLI. + +diesel::table! { + balance_updates_by_handle (txn_version, handle, market_id, custodian_id) { + txn_version -> Numeric, + #[max_length = 70] + handle -> Varchar, + market_id -> Numeric, + custodian_id -> Numeric, + time -> Timestamptz, + base_total -> Numeric, + base_available -> Numeric, + base_ceiling -> Numeric, + quote_total -> Numeric, + quote_available -> Numeric, + quote_ceiling -> Numeric, + } +} + diesel::table! { cancel_order_events (txn_version, event_idx) { txn_version -> Numeric, @@ -57,6 +76,16 @@ diesel::table! { } } +diesel::table! { + market_account_handles (user) { + #[max_length = 70] + user -> Varchar, + #[max_length = 70] + handle -> Varchar, + creation_time -> Timestamptz, + } +} + diesel::table! { market_registration_events (txn_version, event_idx) { txn_version -> Numeric, @@ -147,33 +176,6 @@ diesel::table! { } } -diesel::table! { - market_account_handles (user) { - #[max_length = 70] - user -> Varchar, - #[max_length = 70] - handle -> Varchar, - creation_time -> Timestamptz, - } -} - -diesel::table! { - balance_updates_by_handle (txn_version, handle, market_id, custodian_id) { - txn_version -> Numeric, - #[max_length = 70] - handle -> Varchar, - market_id -> Numeric, - custodian_id -> Numeric, - time -> Timestamptz, - base_total -> Numeric, - base_available -> Numeric, - base_ceiling -> Numeric, - quote_total -> Numeric, - quote_available -> Numeric, - quote_ceiling -> Numeric, - } -} - diesel::allow_tables_to_appear_in_same_query!( balance_updates_by_handle, cancel_order_events, diff --git a/src/rust/dependencies/aptos-indexer-processors b/src/rust/dependencies/aptos-indexer-processors index 4bb7c5a90..a7e46fef6 160000 --- a/src/rust/dependencies/aptos-indexer-processors +++ b/src/rust/dependencies/aptos-indexer-processors @@ -1 +1 @@ -Subproject commit 4bb7c5a903709863163d4d225c1cbf973d529af8 +Subproject commit a7e46fef6e67b1ce1bb4dcba2830ac45651ada4e From 0f9e1f335ad0877fd17811edc4ede5989ffc879e Mon Sep 17 00:00:00 2001 From: Bogdan Crisan Date: Wed, 4 Oct 2023 20:33:21 +0200 Subject: [PATCH 02/23] add queue representation to limit orders - add a prev column to limit orders - updated views (when updating the underlying tables, views need to be updated) - fix bigdecimal dependency - fix sdk (broke by aptos update) - fix fills (orders would not go into 'closed' mode) --- src/rust/Cargo.lock | 1133 ++- src/rust/Cargo.toml | 7 +- src/rust/aggregator/src/data/user_history.rs | 169 +- src/rust/aggregator/src/main.rs | 6 +- .../down.sql | 9 + .../2023-10-03-070930_add_order_order/up.sql | 25 + .../down.sql | 5 + .../2023-10-03-071834_fix_price_field/up.sql | 7 + src/rust/e2e/Cargo.toml | 2 +- src/rust/sdk/Cargo.lock | 6399 ---------------- src/rust/sdk/Cargo.toml | 4 +- src/rust/sdk/example/Cargo.lock | 6526 ----------------- src/rust/sdk/example/Cargo.toml | 4 +- src/rust/sdk/src/lib.rs | 7 +- 14 files changed, 950 insertions(+), 13353 deletions(-) create mode 100644 src/rust/dbv2/migrations/2023-10-03-070930_add_order_order/down.sql create mode 100644 src/rust/dbv2/migrations/2023-10-03-070930_add_order_order/up.sql delete mode 100644 src/rust/sdk/Cargo.lock delete mode 100644 src/rust/sdk/example/Cargo.lock diff --git a/src/rust/Cargo.lock b/src/rust/Cargo.lock index f174618a5..6bb6adca3 100644 --- a/src/rust/Cargo.lock +++ b/src/rust/Cargo.lock @@ -69,7 +69,7 @@ dependencies = [ "dotenvy", "env_logger", "log", - "serde", + "serde 1.0.188", "serde_json", "sqlx", "thiserror", @@ -201,7 +201,7 @@ checksum = "a4668cab20f66d8d020e1fbc0ebe47217433c1b6c8f2040faf858554e394ace6" [[package]] name = "aptos-aggregator" version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#1df3fd3d9260eb225319b25c505dfc2cfd9f95b3" +source = "git+https://github.com/aptos-labs/aptos-core?tag=aptos-node-v1.7.2#6bddb7790e24b13e45a67e7f044560d0d958b824" dependencies = [ "anyhow", "aptos-crypto", @@ -219,7 +219,7 @@ dependencies = [ [[package]] name = "aptos-api-types" version = "0.0.1" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#1df3fd3d9260eb225319b25c505dfc2cfd9f95b3" +source = "git+https://github.com/aptos-labs/aptos-core?tag=aptos-node-v1.7.2#6bddb7790e24b13e45a67e7f044560d0d958b824" dependencies = [ "anyhow", "aptos-config", @@ -241,23 +241,23 @@ dependencies = [ "poem", "poem-openapi", "poem-openapi-derive", - "serde", + "serde 1.0.188", "serde_json", ] [[package]] name = "aptos-bitvec" version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#1df3fd3d9260eb225319b25c505dfc2cfd9f95b3" +source = "git+https://github.com/aptos-labs/aptos-core?tag=aptos-node-v1.7.2#6bddb7790e24b13e45a67e7f044560d0d958b824" dependencies = [ - "serde", + "serde 1.0.188", "serde_bytes", ] [[package]] name = "aptos-block-executor" version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#1df3fd3d9260eb225319b25c505dfc2cfd9f95b3" +source = "git+https://github.com/aptos-labs/aptos-core?tag=aptos-node-v1.7.2#6bddb7790e24b13e45a67e7f044560d0d958b824" dependencies = [ "anyhow", "aptos-aggregator", @@ -268,27 +268,23 @@ dependencies = [ "aptos-state-view", "aptos-types", "aptos-vm-logging", - "aptos-vm-types", "arc-swap", "bcs 0.1.4", - "bytes", "claims", "crossbeam", "dashmap", - "derivative", "move-binary-format", "move-core-types", "num_cpus", "once_cell", "parking_lot 0.12.1", "rayon", - "serde", ] [[package]] name = "aptos-block-partitioner" version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#1df3fd3d9260eb225319b25c505dfc2cfd9f95b3" +source = "git+https://github.com/aptos-labs/aptos-core?tag=aptos-node-v1.7.2#6bddb7790e24b13e45a67e7f044560d0d958b824" dependencies = [ "anyhow", "aptos-crypto", @@ -304,13 +300,13 @@ dependencies = [ "once_cell", "rand 0.7.3", "rayon", - "serde", + "serde 1.0.188", ] [[package]] name = "aptos-cached-packages" version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#1df3fd3d9260eb225319b25c505dfc2cfd9f95b3" +source = "git+https://github.com/aptos-labs/aptos-core?tag=aptos-node-v1.7.2#6bddb7790e24b13e45a67e7f044560d0d958b824" dependencies = [ "aptos-framework", "aptos-types", @@ -323,7 +319,7 @@ dependencies = [ [[package]] name = "aptos-config" version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#1df3fd3d9260eb225319b25c505dfc2cfd9f95b3" +source = "git+https://github.com/aptos-labs/aptos-core?tag=aptos-node-v1.7.2#6bddb7790e24b13e45a67e7f044560d0d958b824" dependencies = [ "anyhow", "aptos-crypto", @@ -344,7 +340,7 @@ dependencies = [ "num_cpus", "poem-openapi", "rand 0.7.3", - "serde", + "serde 1.0.188", "serde_merge", "serde_yaml 0.8.26", "thiserror", @@ -354,7 +350,7 @@ dependencies = [ [[package]] name = "aptos-crypto" version = "0.0.3" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#1df3fd3d9260eb225319b25c505dfc2cfd9f95b3" +source = "git+https://github.com/aptos-labs/aptos-core?tag=aptos-node-v1.7.2#6bddb7790e24b13e45a67e7f044560d0d958b824" dependencies = [ "anyhow", "aptos-crypto-derive", @@ -375,10 +371,12 @@ dependencies = [ "merlin", "more-asserts", "once_cell", + "proptest", + "proptest-derive", "rand 0.7.3", "rand_core 0.5.1", "ring", - "serde", + "serde 1.0.188", "serde-name", "serde_bytes", "sha2 0.10.8", @@ -392,31 +390,17 @@ dependencies = [ [[package]] name = "aptos-crypto-derive" version = "0.0.3" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#1df3fd3d9260eb225319b25c505dfc2cfd9f95b3" +source = "git+https://github.com/aptos-labs/aptos-core?tag=aptos-node-v1.7.2#6bddb7790e24b13e45a67e7f044560d0d958b824" dependencies = [ - "proc-macro2", - "quote", + "proc-macro2 1.0.67", + "quote 1.0.33", "syn 1.0.109", ] -[[package]] -name = "aptos-experimental-runtimes" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#1df3fd3d9260eb225319b25c505dfc2cfd9f95b3" -dependencies = [ - "aptos-runtimes", - "core_affinity", - "libc", - "num_cpus", - "once_cell", - "rayon", - "tokio", -] - [[package]] name = "aptos-framework" version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#1df3fd3d9260eb225319b25c505dfc2cfd9f95b3" +source = "git+https://github.com/aptos-labs/aptos-core?tag=aptos-node-v1.7.2#6bddb7790e24b13e45a67e7f044560d0d958b824" dependencies = [ "anyhow", "aptos-aggregator", @@ -429,7 +413,6 @@ dependencies = [ "aptos-state-view", "aptos-table-natives", "aptos-types", - "aptos-vm-types", "ark-bls12-381", "ark-ec", "ark-ff", @@ -452,7 +435,6 @@ dependencies = [ "itertools 0.10.5", "libsecp256k1", "log", - "lru", "merlin", "move-binary-format", "move-command-line-common", @@ -467,13 +449,13 @@ dependencies = [ "move-stackless-bytecode", "move-vm-runtime", "move-vm-types", - "num-traits", + "num-traits 0.2.16", "once_cell", "rand 0.7.3", "rand_core 0.5.1", "rayon", "ripemd", - "serde", + "serde 1.0.188", "serde_bytes", "serde_json", "serde_yaml 0.8.26", @@ -490,7 +472,7 @@ dependencies = [ [[package]] name = "aptos-gas-algebra" version = "0.0.1" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#1df3fd3d9260eb225319b25c505dfc2cfd9f95b3" +source = "git+https://github.com/aptos-labs/aptos-core?tag=aptos-node-v1.7.2#6bddb7790e24b13e45a67e7f044560d0d958b824" dependencies = [ "either", "move-core-types", @@ -499,7 +481,7 @@ dependencies = [ [[package]] name = "aptos-gas-meter" version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#1df3fd3d9260eb225319b25c505dfc2cfd9f95b3" +source = "git+https://github.com/aptos-labs/aptos-core?tag=aptos-node-v1.7.2#6bddb7790e24b13e45a67e7f044560d0d958b824" dependencies = [ "aptos-gas-algebra", "aptos-gas-schedule", @@ -514,7 +496,7 @@ dependencies = [ [[package]] name = "aptos-gas-schedule" version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#1df3fd3d9260eb225319b25c505dfc2cfd9f95b3" +source = "git+https://github.com/aptos-labs/aptos-core?tag=aptos-node-v1.7.2#6bddb7790e24b13e45a67e7f044560d0d958b824" dependencies = [ "aptos-gas-algebra", "aptos-global-constants", @@ -528,17 +510,17 @@ dependencies = [ [[package]] name = "aptos-global-constants" version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#1df3fd3d9260eb225319b25c505dfc2cfd9f95b3" +source = "git+https://github.com/aptos-labs/aptos-core?tag=aptos-node-v1.7.2#6bddb7790e24b13e45a67e7f044560d0d958b824" [[package]] name = "aptos-infallible" version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#1df3fd3d9260eb225319b25c505dfc2cfd9f95b3" +source = "git+https://github.com/aptos-labs/aptos-core?tag=aptos-node-v1.7.2#6bddb7790e24b13e45a67e7f044560d0d958b824" [[package]] name = "aptos-ledger" version = "0.2.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#1df3fd3d9260eb225319b25c505dfc2cfd9f95b3" +source = "git+https://github.com/aptos-labs/aptos-core?tag=aptos-node-v1.7.2#6bddb7790e24b13e45a67e7f044560d0d958b824" dependencies = [ "aptos-crypto", "aptos-types", @@ -552,17 +534,17 @@ dependencies = [ [[package]] name = "aptos-log-derive" version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#1df3fd3d9260eb225319b25c505dfc2cfd9f95b3" +source = "git+https://github.com/aptos-labs/aptos-core?tag=aptos-node-v1.7.2#6bddb7790e24b13e45a67e7f044560d0d958b824" dependencies = [ - "proc-macro2", - "quote", + "proc-macro2 1.0.67", + "quote 1.0.33", "syn 1.0.109", ] [[package]] name = "aptos-logger" version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#1df3fd3d9260eb225319b25c505dfc2cfd9f95b3" +source = "git+https://github.com/aptos-labs/aptos-core?tag=aptos-node-v1.7.2#6bddb7790e24b13e45a67e7f044560d0d958b824" dependencies = [ "aptos-infallible", "aptos-log-derive", @@ -574,7 +556,7 @@ dependencies = [ "hostname", "once_cell", "prometheus", - "serde", + "serde 1.0.188", "serde_json", "strum", "strum_macros", @@ -586,7 +568,7 @@ dependencies = [ [[package]] name = "aptos-memory-usage-tracker" version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#1df3fd3d9260eb225319b25c505dfc2cfd9f95b3" +source = "git+https://github.com/aptos-labs/aptos-core?tag=aptos-node-v1.7.2#6bddb7790e24b13e45a67e7f044560d0d958b824" dependencies = [ "aptos-gas-algebra", "aptos-gas-meter", @@ -599,7 +581,7 @@ dependencies = [ [[package]] name = "aptos-metrics-core" version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#1df3fd3d9260eb225319b25c505dfc2cfd9f95b3" +source = "git+https://github.com/aptos-labs/aptos-core?tag=aptos-node-v1.7.2#6bddb7790e24b13e45a67e7f044560d0d958b824" dependencies = [ "anyhow", "prometheus", @@ -608,7 +590,7 @@ dependencies = [ [[package]] name = "aptos-move-stdlib" version = "0.1.1" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#1df3fd3d9260eb225319b25c505dfc2cfd9f95b3" +source = "git+https://github.com/aptos-labs/aptos-core?tag=aptos-node-v1.7.2#6bddb7790e24b13e45a67e7f044560d0d958b824" dependencies = [ "anyhow", "aptos-gas-schedule", @@ -634,7 +616,7 @@ dependencies = [ [[package]] name = "aptos-mvhashmap" version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#1df3fd3d9260eb225319b25c505dfc2cfd9f95b3" +source = "git+https://github.com/aptos-labs/aptos-core?tag=aptos-node-v1.7.2#6bddb7790e24b13e45a67e7f044560d0d958b824" dependencies = [ "anyhow", "aptos-aggregator", @@ -642,23 +624,18 @@ dependencies = [ "aptos-infallible", "aptos-types", "bcs 0.1.4", - "bytes", - "claims", "crossbeam", "dashmap", - "serde", ] [[package]] name = "aptos-native-interface" version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#1df3fd3d9260eb225319b25c505dfc2cfd9f95b3" +source = "git+https://github.com/aptos-labs/aptos-core?tag=aptos-node-v1.7.2#6bddb7790e24b13e45a67e7f044560d0d958b824" dependencies = [ "aptos-gas-algebra", "aptos-gas-schedule", "aptos-types", - "bcs 0.1.4", - "bytes", "move-binary-format", "move-core-types", "move-vm-runtime", @@ -669,7 +646,7 @@ dependencies = [ [[package]] name = "aptos-node-identity" version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#1df3fd3d9260eb225319b25c505dfc2cfd9f95b3" +source = "git+https://github.com/aptos-labs/aptos-core?tag=aptos-node-v1.7.2#6bddb7790e24b13e45a67e7f044560d0d958b824" dependencies = [ "anyhow", "aptos-types", @@ -681,20 +658,20 @@ dependencies = [ [[package]] name = "aptos-openapi" version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#1df3fd3d9260eb225319b25c505dfc2cfd9f95b3" +source = "git+https://github.com/aptos-labs/aptos-core?tag=aptos-node-v1.7.2#6bddb7790e24b13e45a67e7f044560d0d958b824" dependencies = [ "async-trait", "percent-encoding", "poem", "poem-openapi", - "serde", + "serde 1.0.188", "serde_json", ] [[package]] name = "aptos-rest-client" version = "0.0.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#1df3fd3d9260eb225319b25c505dfc2cfd9f95b3" +source = "git+https://github.com/aptos-labs/aptos-core?tag=aptos-node-v1.7.2#6bddb7790e24b13e45a67e7f044560d0d958b824" dependencies = [ "anyhow", "aptos-api-types", @@ -710,7 +687,7 @@ dependencies = [ "move-core-types", "poem-openapi", "reqwest", - "serde", + "serde 1.0.188", "serde_json", "thiserror", "tokio", @@ -720,28 +697,18 @@ dependencies = [ [[package]] name = "aptos-retrier" version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#1df3fd3d9260eb225319b25c505dfc2cfd9f95b3" +source = "git+https://github.com/aptos-labs/aptos-core?tag=aptos-node-v1.7.2#6bddb7790e24b13e45a67e7f044560d0d958b824" dependencies = [ "aptos-logger", "tokio", ] -[[package]] -name = "aptos-runtimes" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#1df3fd3d9260eb225319b25c505dfc2cfd9f95b3" -dependencies = [ - "rayon", - "tokio", -] - [[package]] name = "aptos-scratchpad" version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#1df3fd3d9260eb225319b25c505dfc2cfd9f95b3" +source = "git+https://github.com/aptos-labs/aptos-core?tag=aptos-node-v1.7.2#6bddb7790e24b13e45a67e7f044560d0d958b824" dependencies = [ "aptos-crypto", - "aptos-experimental-runtimes", "aptos-infallible", "aptos-metrics-core", "aptos-types", @@ -755,7 +722,7 @@ dependencies = [ [[package]] name = "aptos-sdk" version = "0.0.3" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#1df3fd3d9260eb225319b25c505dfc2cfd9f95b3" +source = "git+https://github.com/aptos-labs/aptos-core?tag=aptos-node-v1.7.2#6bddb7790e24b13e45a67e7f044560d0d958b824" dependencies = [ "anyhow", "aptos-api-types", @@ -769,14 +736,14 @@ dependencies = [ "ed25519-dalek-bip32", "move-core-types", "rand_core 0.5.1", - "serde", + "serde 1.0.188", "tiny-bip39", ] [[package]] name = "aptos-sdk-builder" version = "0.2.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#1df3fd3d9260eb225319b25c505dfc2cfd9f95b3" +source = "git+https://github.com/aptos-labs/aptos-core?tag=aptos-node-v1.7.2#6bddb7790e24b13e45a67e7f044560d0d958b824" dependencies = [ "anyhow", "aptos-types", @@ -795,7 +762,7 @@ dependencies = [ [[package]] name = "aptos-secure-net" version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#1df3fd3d9260eb225319b25c505dfc2cfd9f95b3" +source = "git+https://github.com/aptos-labs/aptos-core?tag=aptos-node-v1.7.2#6bddb7790e24b13e45a67e7f044560d0d958b824" dependencies = [ "aptos-logger", "aptos-metrics-core", @@ -803,14 +770,14 @@ dependencies = [ "bcs 0.1.4", "crossbeam-channel", "once_cell", - "serde", + "serde 1.0.188", "thiserror", ] [[package]] name = "aptos-secure-storage" version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#1df3fd3d9260eb225319b25c505dfc2cfd9f95b3" +source = "git+https://github.com/aptos-labs/aptos-core?tag=aptos-node-v1.7.2#6bddb7790e24b13e45a67e7f044560d0d958b824" dependencies = [ "anyhow", "aptos-crypto", @@ -824,7 +791,7 @@ dependencies = [ "chrono", "enum_dispatch", "rand 0.7.3", - "serde", + "serde 1.0.188", "serde_json", "thiserror", ] @@ -832,10 +799,10 @@ dependencies = [ [[package]] name = "aptos-short-hex-str" version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#1df3fd3d9260eb225319b25c505dfc2cfd9f95b3" +source = "git+https://github.com/aptos-labs/aptos-core?tag=aptos-node-v1.7.2#6bddb7790e24b13e45a67e7f044560d0d958b824" dependencies = [ "mirai-annotations", - "serde", + "serde 1.0.188", "static_assertions", "thiserror", ] @@ -843,7 +810,7 @@ dependencies = [ [[package]] name = "aptos-speculative-state-helper" version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#1df3fd3d9260eb225319b25c505dfc2cfd9f95b3" +source = "git+https://github.com/aptos-labs/aptos-core?tag=aptos-node-v1.7.2#6bddb7790e24b13e45a67e7f044560d0d958b824" dependencies = [ "anyhow", "aptos-infallible", @@ -855,14 +822,13 @@ dependencies = [ [[package]] name = "aptos-state-view" version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#1df3fd3d9260eb225319b25c505dfc2cfd9f95b3" +source = "git+https://github.com/aptos-labs/aptos-core?tag=aptos-node-v1.7.2#6bddb7790e24b13e45a67e7f044560d0d958b824" dependencies = [ "anyhow", "aptos-crypto", "aptos-types", "bcs 0.1.4", - "bytes", - "serde", + "serde 1.0.188", "serde_bytes", "serde_json", ] @@ -870,7 +836,7 @@ dependencies = [ [[package]] name = "aptos-storage-interface" version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#1df3fd3d9260eb225319b25c505dfc2cfd9f95b3" +source = "git+https://github.com/aptos-labs/aptos-core?tag=aptos-node-v1.7.2#6bddb7790e24b13e45a67e7f044560d0d958b824" dependencies = [ "anyhow", "aptos-crypto", @@ -883,7 +849,6 @@ dependencies = [ "aptos-vm", "arr_macro", "bcs 0.1.4", - "bytes", "crossbeam-channel", "dashmap", "itertools 0.10.5", @@ -891,14 +856,14 @@ dependencies = [ "once_cell", "parking_lot 0.12.1", "rayon", - "serde", + "serde 1.0.188", "thiserror", ] [[package]] name = "aptos-table-natives" version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#1df3fd3d9260eb225319b25c505dfc2cfd9f95b3" +source = "git+https://github.com/aptos-labs/aptos-core?tag=aptos-node-v1.7.2#6bddb7790e24b13e45a67e7f044560d0d958b824" dependencies = [ "anyhow", "aptos-gas-schedule", @@ -918,7 +883,7 @@ dependencies = [ [[package]] name = "aptos-temppath" version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#1df3fd3d9260eb225319b25c505dfc2cfd9f95b3" +source = "git+https://github.com/aptos-labs/aptos-core?tag=aptos-node-v1.7.2#6bddb7790e24b13e45a67e7f044560d0d958b824" dependencies = [ "hex", "rand 0.7.3", @@ -927,7 +892,7 @@ dependencies = [ [[package]] name = "aptos-time-service" version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#1df3fd3d9260eb225319b25c505dfc2cfd9f95b3" +source = "git+https://github.com/aptos-labs/aptos-core?tag=aptos-node-v1.7.2#6bddb7790e24b13e45a67e7f044560d0d958b824" dependencies = [ "aptos-infallible", "enum_dispatch", @@ -940,7 +905,7 @@ dependencies = [ [[package]] name = "aptos-types" version = "0.0.3" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#1df3fd3d9260eb225319b25c505dfc2cfd9f95b3" +source = "git+https://github.com/aptos-labs/aptos-core?tag=aptos-node-v1.7.2#6bddb7790e24b13e45a67e7f044560d0d958b824" dependencies = [ "anyhow", "aptos-bitvec", @@ -948,7 +913,6 @@ dependencies = [ "aptos-crypto-derive", "arr_macro", "bcs 0.1.4", - "bytes", "chrono", "derivative", "hex", @@ -956,16 +920,16 @@ dependencies = [ "move-core-types", "move-table-extension", "num-derive", - "num-traits", + "num-traits 0.2.16", "once_cell", + "proptest", + "proptest-derive", "rand 0.7.3", "rayon", - "serde", + "serde 1.0.188", "serde_bytes", "serde_json", "serde_yaml 0.8.26", - "strum", - "strum_macros", "thiserror", "tiny-keccak", ] @@ -973,19 +937,19 @@ dependencies = [ [[package]] name = "aptos-utils" version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#1df3fd3d9260eb225319b25c505dfc2cfd9f95b3" +source = "git+https://github.com/aptos-labs/aptos-core?tag=aptos-node-v1.7.2#6bddb7790e24b13e45a67e7f044560d0d958b824" [[package]] name = "aptos-vault-client" version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#1df3fd3d9260eb225319b25c505dfc2cfd9f95b3" +source = "git+https://github.com/aptos-labs/aptos-core?tag=aptos-node-v1.7.2#6bddb7790e24b13e45a67e7f044560d0d958b824" dependencies = [ "aptos-crypto", "base64 0.13.1", "chrono", "native-tls", "once_cell", - "serde", + "serde 1.0.188", "serde_json", "thiserror", "ureq", @@ -994,7 +958,7 @@ dependencies = [ [[package]] name = "aptos-vm" version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#1df3fd3d9260eb225319b25c505dfc2cfd9f95b3" +source = "git+https://github.com/aptos-labs/aptos-core?tag=aptos-node-v1.7.2#6bddb7790e24b13e45a67e7f044560d0d958b824" dependencies = [ "anyhow", "aptos-aggregator", @@ -1020,8 +984,6 @@ dependencies = [ "aptos-vm-logging", "aptos-vm-types", "bcs 0.1.4", - "bytes", - "claims", "crossbeam-channel", "dashmap", "fail 0.5.1", @@ -1038,7 +1000,7 @@ dependencies = [ "ouroboros 0.15.6", "rand 0.7.3", "rayon", - "serde", + "serde 1.0.188", "serde_json", "smallvec", "tracing", @@ -1047,7 +1009,7 @@ dependencies = [ [[package]] name = "aptos-vm-logging" version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#1df3fd3d9260eb225319b25c505dfc2cfd9f95b3" +source = "git+https://github.com/aptos-labs/aptos-core?tag=aptos-node-v1.7.2#6bddb7790e24b13e45a67e7f044560d0d958b824" dependencies = [ "aptos-crypto", "aptos-logger", @@ -1057,13 +1019,13 @@ dependencies = [ "aptos-types", "arc-swap", "once_cell", - "serde", + "serde 1.0.188", ] [[package]] name = "aptos-vm-types" version = "0.0.1" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#1df3fd3d9260eb225319b25c505dfc2cfd9f95b3" +source = "git+https://github.com/aptos-labs/aptos-core?tag=aptos-node-v1.7.2#6bddb7790e24b13e45a67e7f044560d0d958b824" dependencies = [ "anyhow", "aptos-aggregator", @@ -1072,12 +1034,20 @@ dependencies = [ "aptos-state-view", "aptos-types", "bcs 0.1.4", - "bytes", "either", "move-binary-format", "move-core-types", ] +[[package]] +name = "arbitrary" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e2d098ff73c1ca148721f37baad5ea6a465a13f9573aba8641fbbbae8164a54e" +dependencies = [ + "derive_arbitrary", +] + [[package]] name = "arc-swap" version = "1.6.0" @@ -1109,7 +1079,7 @@ dependencies = [ "derivative", "hashbrown 0.13.2", "itertools 0.10.5", - "num-traits", + "num-traits 0.2.16", "zeroize", ] @@ -1127,7 +1097,7 @@ dependencies = [ "digest 0.10.7", "itertools 0.10.5", "num-bigint", - "num-traits", + "num-traits 0.2.16", "paste", "rustc_version", "zeroize", @@ -1139,7 +1109,7 @@ version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3ed4aa4fe255d0bc6d79373f7e31d2ea147bcf486cba1be5ba7ea85abdb92348" dependencies = [ - "quote", + "quote 1.0.33", "syn 1.0.109", ] @@ -1150,9 +1120,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7abe79b0e4288889c4574159ab790824d0033b9fdcb2a112a3182fac2e514565" dependencies = [ "num-bigint", - "num-traits", - "proc-macro2", - "quote", + "num-traits 0.2.16", + "proc-macro2 1.0.67", + "quote 1.0.33", "syn 1.0.109", ] @@ -1187,8 +1157,8 @@ version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ae3281bc6d0fd7e549af32b52511e1302185bd688fd3359fa36423346ff682ea" dependencies = [ - "proc-macro2", - "quote", + "proc-macro2 1.0.67", + "quote 1.0.33", "syn 1.0.109", ] @@ -1198,7 +1168,7 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "94893f1e0c6eeab764ade8dc4c0db24caf4fe7cbbaafc0eba0a9030f447b5185" dependencies = [ - "num-traits", + "num-traits 0.2.16", "rand 0.8.5", ] @@ -1220,7 +1190,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9c6368f9ae5c6ec403ca910327ae0c9437b0a85255b6950c90d497e6177f6e5e" dependencies = [ "proc-macro-hack", - "quote", + "quote 1.0.33", "syn 1.0.109", ] @@ -1257,8 +1227,8 @@ version = "0.1.73" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bc00ceb34980c03614e35a3a4e218276a0a824e911d07651cd0d858a51e8c0f0" dependencies = [ - "proc-macro2", - "quote", + "proc-macro2 1.0.67", + "quote 1.0.33", "syn 2.0.37", ] @@ -1268,7 +1238,7 @@ version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f28d99ec8bfea296261ca1af174f24225171fea9664ba9003cbebee704810528" dependencies = [ - "num-traits", + "num-traits 0.2.16", ] [[package]] @@ -1332,7 +1302,7 @@ name = "bcs" version = "0.1.4" source = "git+https://github.com/aptos-labs/bcs.git?rev=d31fab9d81748e2594be5cd5cdf845786a30562d#d31fab9d81748e2594be5cd5cdf845786a30562d" dependencies = [ - "serde", + "serde 1.0.188", "thiserror", ] @@ -1342,7 +1312,7 @@ version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4bd3ffe8b19a604421a5d461d4a70346223e535903fbc3067138bddbebddcf77" dependencies = [ - "serde", + "serde 1.0.188", "thiserror", ] @@ -1361,8 +1331,8 @@ version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3deeecb812ca5300b7d3f66f730cc2ebd3511c3d36c691dd79c165d5b19a26e3" dependencies = [ - "proc-macro2", - "quote", + "proc-macro2 1.0.67", + "quote 1.0.33", "syn 1.0.109", ] @@ -1374,8 +1344,8 @@ checksum = "a6773ddc0eafc0e509fb60e48dff7f450f8e674a0686ae8605e8d9901bd5eefa" dependencies = [ "num-bigint", "num-integer", - "num-traits", - "serde", + "num-traits 0.2.16", + "serde 1.0.188", ] [[package]] @@ -1384,9 +1354,24 @@ version = "1.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b1f45e9417d87227c7a56d22e471c6206462cba514c7590c09aff4cf6d1ddcad" dependencies = [ - "serde", + "serde 1.0.188", ] +[[package]] +name = "bit-set" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0700ddab506f33b20a03b13996eccd309a48e5ff77d0d95926aa0210fb4e95f1" +dependencies = [ + "bit-vec", +] + +[[package]] +name = "bit-vec" +version = "0.6.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "349f9b6a179ed607305526ca489b34ad0a41aed5f7980fa90eb03160b69598fb" + [[package]] name = "bitflags" version = "1.3.2" @@ -1399,7 +1384,7 @@ version = "2.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b4682ae6287fcf752ecaabbfcc7b6f9b72aa33933dc23a554d853aea8eea8635" dependencies = [ - "serde", + "serde 1.0.188", ] [[package]] @@ -1489,7 +1474,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4c2f7349907b712260e64b0afe2f84692af14a454be26187d9df565c7f69266a" dependencies = [ "memchr", - "serde", + "serde 1.0.188", ] [[package]] @@ -1505,7 +1490,7 @@ dependencies = [ "merlin", "rand 0.8.5", "rand_core 0.6.4", - "serde", + "serde 1.0.188", "serde_derive", "sha3", "subtle-ng", @@ -1535,9 +1520,6 @@ name = "bytes" version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a2bd12c1caf447e69cd4528f47f94d203fd2582878ecb9e9465484c4148a8223" -dependencies = [ - "serde", -] [[package]] name = "c_linked_list" @@ -1575,10 +1557,10 @@ dependencies = [ "android-tzdata", "iana-time-zone", "js-sys", - "num-traits", - "serde", + "num-traits 0.2.16", + "serde 1.0.188", "wasm-bindgen", - "windows-targets", + "windows-targets 0.48.5", ] [[package]] @@ -1672,8 +1654,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0862016ff20d69b84ef8247369fabf5c008a7417002411897d40ee1f4532b873" dependencies = [ "heck 0.4.1", - "proc-macro2", - "quote", + "proc-macro2 1.0.67", + "quote 1.0.33", "syn 2.0.37", ] @@ -1699,7 +1681,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3362992a0d9f1dd7c3d0e89e0ab2bb540b7a95fea8cd798090e758fda2899b5e" dependencies = [ "codespan-reporting", - "serde", + "serde 1.0.188", ] [[package]] @@ -1708,7 +1690,7 @@ version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3538270d33cc669650c4b093848450d380def10c331d38c768e34cac80576e6e" dependencies = [ - "serde", + "serde 1.0.188", "termcolor", "unicode-width", ] @@ -1726,8 +1708,37 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2674ec482fbc38012cf31e6c42ba0177b431a0cb6f15fe40efa5aab1bda516f6" dependencies = [ "is-terminal", - "lazy_static", - "windows-sys", + "lazy_static 1.4.0", + "windows-sys 0.48.0", +] + +[[package]] +name = "config" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1b1b9d958c2b1368a663f05538fc1b5975adce1e19f435acceae987aceeeb369" +dependencies = [ + "lazy_static 1.4.0", + "nom 5.1.3", + "rust-ini", + "serde 1.0.188", + "serde-hjson", + "serde_json", + "toml", + "yaml-rust", +] + +[[package]] +name = "console" +version = "0.15.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c926e00cc70edefdc64d3a5ff31cc65bb97a3460097762bd23afb4d8145fccf8" +dependencies = [ + "encode_unicode", + "lazy_static 1.4.0", + "libc", + "unicode-width", + "windows-sys 0.45.0", ] [[package]] @@ -1776,7 +1787,7 @@ dependencies = [ "idna 0.2.3", "log", "publicsuffix", - "serde", + "serde 1.0.188", "serde_derive", "serde_json", "time", @@ -1799,17 +1810,6 @@ version = "0.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e496a50fda8aacccc86d7529e2c1e0892dbd0f898a6b5645b5561b89c3210efa" -[[package]] -name = "core_affinity" -version = "0.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "622892f5635ce1fc38c8f16dfc938553ed64af482edb5e150bf4caedbfcb2304" -dependencies = [ - "libc", - "num_cpus", - "winapi 0.3.9", -] - [[package]] name = "cpufeatures" version = "0.2.9" @@ -1978,7 +1978,7 @@ dependencies = [ "byteorder", "digest 0.9.0", "rand_core 0.6.4", - "serde", + "serde 1.0.188", "subtle-ng", "zeroize", ] @@ -2001,8 +2001,8 @@ checksum = "109c1ca6e6b7f82cc233a97004ea8ed7ca123a9af07a8230878fcfda9b158bf0" dependencies = [ "fnv", "ident_case", - "proc-macro2", - "quote", + "proc-macro2 1.0.67", + "quote 1.0.33", "strsim 0.10.0", "syn 1.0.109", ] @@ -2014,7 +2014,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a4aab4dbc9f7611d8b55048a3a16d2d010c2c8334e46304b40ac1cc14bf3b48e" dependencies = [ "darling_core", - "quote", + "quote 1.0.33", "syn 1.0.109", ] @@ -2035,11 +2035,11 @@ dependencies = [ name = "dbv2" version = "0.1.0" dependencies = [ - "aptos-sdk", "bigdecimal", "chrono", "diesel", - "serde", + "serde 1.0.188", + "serde_json", "sqlx", ] @@ -2072,11 +2072,22 @@ version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fcc3dd5e9e9c0b295d6e1e4d811fb6f157d5ffd784b8d202fc62eac8035a770b" dependencies = [ - "proc-macro2", - "quote", + "proc-macro2 1.0.67", + "quote 1.0.33", "syn 1.0.109", ] +[[package]] +name = "derive_arbitrary" +version = "1.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "53e0efad4403bfc52dc201159c4b842a246a14b98c64b55dfd0f2d89729dfeb8" +dependencies = [ + "proc-macro2 1.0.67", + "quote 1.0.33", + "syn 2.0.37", +] + [[package]] name = "derive_more" version = "0.99.17" @@ -2084,8 +2095,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4fb810d30a7c1953f91334de7244731fc3f3c10d7fe163338a35b9f640960321" dependencies = [ "convert_case", - "proc-macro2", - "quote", + "proc-macro2 1.0.67", + "quote 1.0.33", "rustc_version", "syn 1.0.109", ] @@ -2110,7 +2121,7 @@ dependencies = [ "itoa", "num-bigint", "num-integer", - "num-traits", + "num-traits 0.2.16", "pq-sys", "r2d2", "serde_json", @@ -2123,8 +2134,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ef8337737574f55a468005a83499da720f20c65586241ffea339db9ecdfd2b44" dependencies = [ "diesel_table_macro_syntax", - "proc-macro2", - "quote", + "proc-macro2 1.0.67", + "quote 1.0.33", "syn 2.0.37", ] @@ -2164,6 +2175,15 @@ dependencies = [ "subtle", ] +[[package]] +name = "directories" +version = "4.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f51c5d4ddabd36886dd3e1438cb358cdcb0d7c499cb99cb4ac2e38e18b5cb210" +dependencies = [ + "dirs-sys", +] + [[package]] name = "dirs-next" version = "2.0.0" @@ -2174,6 +2194,17 @@ dependencies = [ "dirs-sys-next", ] +[[package]] +name = "dirs-sys" +version = "0.3.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1b1d1d91c932ef41c0f2663aa8b0ca0342d444d842c06914aa0a7e352d0bada6" +dependencies = [ + "libc", + "redox_users", + "winapi 0.3.9", +] + [[package]] name = "dirs-sys-next" version = "0.1.2" @@ -2204,13 +2235,15 @@ dependencies = [ "anyhow", "aptos-sdk", "clap 4.4.6", + "colored", + "e2e-proc-macro", "econia-sdk", "futures", "indicatif", "metadata", "rand 0.7.3", "reqwest", - "serde 1.0.175", + "serde 1.0.188", "serde_json", "sqlx", "tokio", @@ -2233,7 +2266,7 @@ dependencies = [ "futures", "hex", "reqwest", - "serde", + "serde 1.0.188", "serde_json", "serde_yaml 0.9.25", "thiserror", @@ -2246,7 +2279,7 @@ version = "1.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "91cff35c70bba8a626e3185d8cd48cc11b5437e1a5bcd15b9b5fa3c64b6dfee7" dependencies = [ - "serde", + "serde 1.0.188", "signature 1.6.4", ] @@ -2259,7 +2292,7 @@ dependencies = [ "curve25519-dalek", "ed25519", "rand 0.7.3", - "serde", + "serde 1.0.188", "serde_bytes", "sha2 0.9.9", "zeroize", @@ -2283,7 +2316,7 @@ version = "1.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a26ae43d7bcc3b814de94796a5e736d4029efb0ee900c12e2d54c993ad1a1e07" dependencies = [ - "serde", + "serde 1.0.188", ] [[package]] @@ -2308,8 +2341,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8f33313078bb8d4d05a2733a94ac4c2d8a0df9a2b84424ebf4f33bfc224a890e" dependencies = [ "once_cell", - "proc-macro2", - "quote", + "proc-macro2 1.0.67", + "quote 1.0.33", "syn 2.0.37", ] @@ -2334,11 +2367,11 @@ checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" [[package]] name = "erased-serde" -version = "0.3.26" +version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c6984864d65d092d9e9ada107007a846a09f75d2e24046bcce9a38d14aa52052" +checksum = "6c138974f9d5e7fe373eb04df7cae98833802ae4b11c24ac7039a21d5af4b26c" dependencies = [ - "serde", + "serde 1.0.188", ] [[package]] @@ -2391,7 +2424,7 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3be3c61c59fdc91f5dbc3ea31ee8623122ce80057058be560654c5d410d181a6" dependencies = [ - "lazy_static", + "lazy_static 1.4.0", "log", "rand 0.7.3", ] @@ -2437,6 +2470,12 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "37ab347416e802de484e4d03c7316c48f1ecb56574dfd4a46a80f173ce1de04d" +[[package]] +name = "fixedbitset" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80" + [[package]] name = "flate2" version = "1.0.27" @@ -2488,6 +2527,12 @@ dependencies = [ "percent-encoding", ] +[[package]] +name = "fs_extra" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "42703706b716c37f96a77aea830392ad231f44c9e9a67872fa5548707e11b11c" + [[package]] name = "funty" version = "1.1.0" @@ -2565,8 +2610,8 @@ version = "0.3.28" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "89ca545a94061b6365f2c7355b4b32bd20df3ff95f02da9329b34ccc3bd6ee72" dependencies = [ - "proc-macro2", - "quote", + "proc-macro2 1.0.67", + "quote 1.0.33", "syn 2.0.37", ] @@ -3071,7 +3116,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dbe7873dab538a9a44ad79ede1faf5f30d49f9a5c883ddbab48bce81b64b7492" dependencies = [ "globset", - "lazy_static", + "lazy_static 1.4.0", "log", "memchr", "regex", @@ -3110,7 +3155,7 @@ version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4551f042f3438e64dbd6226b20527fc84a6e1fe65688b58746a2f53623f25f5c" dependencies = [ - "serde", + "serde 1.0.188", ] [[package]] @@ -3119,8 +3164,8 @@ version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "11d7a9f6330b71fea57921c9b61c47ee6e84f72d394754eff6163ae67e7395eb" dependencies = [ - "proc-macro2", - "quote", + "proc-macro2 1.0.67", + "quote 1.0.33", "syn 1.0.109", ] @@ -3153,8 +3198,8 @@ checksum = "0a0c890c85da4bab7bce4204c707396bbd3c6c8a681716a51c8814cfc2b682df" dependencies = [ "anyhow", "proc-macro-hack", - "proc-macro2", - "quote", + "proc-macro2 1.0.67", + "quote 1.0.33", "syn 1.0.109", ] @@ -3164,8 +3209,8 @@ version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b139284b5cf57ecfa712bcc66950bb635b31aff41c188e8a4cfc758eca374a3f" dependencies = [ - "proc-macro2", - "quote", + "proc-macro2 1.0.67", + "quote 1.0.33", ] [[package]] @@ -3281,19 +3326,20 @@ checksum = "af150ab688ff2122fcef229be89cb50dd66af9e01a4ff320cc137eecc9bacc38" [[package]] name = "jemalloc-sys" -version = "0.5.4+5.3.0-patched" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac6c1946e1cea1788cbfde01c993b52a10e2da07f4bac608228d1bed20bfebf2" +checksum = "0d3b9f3f5c9b31aa0f5ed3260385ac205db665baa41d49bb8338008ae94ede45" dependencies = [ "cc", + "fs_extra", "libc", ] [[package]] name = "jemallocator" -version = "0.5.4" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a0de374a9f8e63150e6f5e8a60cc14c668226d7a347d8aee1a45766e3c4dd3bc" +checksum = "43ae63fcfc45e99ab3d1b29a46782ad679e98436c3169d15a167a1108a724b69" dependencies = [ "jemalloc-sys", "libc", @@ -3317,6 +3363,12 @@ dependencies = [ "cpufeatures", ] +[[package]] +name = "lazy_static" +version = "0.2.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "76f033c7ad61445c5b347c7382dd1237847eb1bce590fe50365dcb33d546be73" + [[package]] name = "lazy_static" version = "1.4.0" @@ -3363,6 +3415,19 @@ dependencies = [ "thiserror", ] +[[package]] +name = "lexical-core" +version = "0.7.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6607c62aa161d23d17a9072cc5da0be67cdfc89d3afb1e8d9c842bebc2525ffe" +dependencies = [ + "arrayvec 0.5.2", + "bitflags 1.3.2", + "cfg-if", + "ryu", + "static_assertions", +] + [[package]] name = "libc" version = "0.2.148" @@ -3389,7 +3454,7 @@ dependencies = [ "libsecp256k1-gen-ecmult", "libsecp256k1-gen-genmult", "rand 0.8.5", - "serde", + "serde 1.0.188", "sha2 0.9.9", "typenum", ] @@ -3462,16 +3527,7 @@ version = "0.4.20" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f" dependencies = [ - "serde", -] - -[[package]] -name = "lru" -version = "0.7.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e999beba7b6e8345721bd280141ed958096a2e4abdf74f67ff4ce49b4b54e47a" -dependencies = [ - "hashbrown 0.12.3", + "serde 1.0.188", ] [[package]] @@ -3588,7 +3644,7 @@ checksum = "1fafa6961cabd9c63bcd77a45d7e3b7f3b552b70417831fb0f56db717e72407e" [[package]] name = "move-abigen" version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#1df3fd3d9260eb225319b25c505dfc2cfd9f95b3" +source = "git+https://github.com/aptos-labs/aptos-core?tag=aptos-node-v1.7.2#6bddb7790e24b13e45a67e7f044560d0d958b824" dependencies = [ "anyhow", "bcs 0.1.4", @@ -3599,13 +3655,13 @@ dependencies = [ "move-command-line-common", "move-core-types", "move-model", - "serde", + "serde 1.0.188", ] [[package]] name = "move-binary-format" version = "0.0.3" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#1df3fd3d9260eb225319b25c505dfc2cfd9f95b3" +source = "git+https://github.com/aptos-labs/aptos-core?tag=aptos-node-v1.7.2#6bddb7790e24b13e45a67e7f044560d0d958b824" dependencies = [ "anyhow", "backtrace", @@ -3613,19 +3669,19 @@ dependencies = [ "move-core-types", "once_cell", "ref-cast", - "serde", + "serde 1.0.188", "variant_count", ] [[package]] name = "move-borrow-graph" version = "0.0.1" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#1df3fd3d9260eb225319b25c505dfc2cfd9f95b3" +source = "git+https://github.com/aptos-labs/aptos-core?tag=aptos-node-v1.7.2#6bddb7790e24b13e45a67e7f044560d0d958b824" [[package]] name = "move-bytecode-source-map" version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#1df3fd3d9260eb225319b25c505dfc2cfd9f95b3" +source = "git+https://github.com/aptos-labs/aptos-core?tag=aptos-node-v1.7.2#6bddb7790e24b13e45a67e7f044560d0d958b824" dependencies = [ "anyhow", "bcs 0.1.4", @@ -3634,40 +3690,39 @@ dependencies = [ "move-core-types", "move-ir-types", "move-symbol-pool", - "serde", + "serde 1.0.188", ] [[package]] name = "move-bytecode-utils" version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#1df3fd3d9260eb225319b25c505dfc2cfd9f95b3" +source = "git+https://github.com/aptos-labs/aptos-core?tag=aptos-node-v1.7.2#6bddb7790e24b13e45a67e7f044560d0d958b824" dependencies = [ "anyhow", "move-binary-format", "move-core-types", - "petgraph", + "petgraph 0.5.1", "serde-reflection 0.3.6", ] [[package]] name = "move-bytecode-verifier" version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#1df3fd3d9260eb225319b25c505dfc2cfd9f95b3" +source = "git+https://github.com/aptos-labs/aptos-core?tag=aptos-node-v1.7.2#6bddb7790e24b13e45a67e7f044560d0d958b824" dependencies = [ "anyhow", "fail 0.4.0", "move-binary-format", "move-borrow-graph", "move-core-types", - "petgraph", - "serde", + "petgraph 0.5.1", "typed-arena", ] [[package]] name = "move-command-line-common" version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#1df3fd3d9260eb225319b25c505dfc2cfd9f95b3" +source = "git+https://github.com/aptos-labs/aptos-core?tag=aptos-node-v1.7.2#6bddb7790e24b13e45a67e7f044560d0d958b824" dependencies = [ "anyhow", "difference", @@ -3676,7 +3731,7 @@ dependencies = [ "move-core-types", "num-bigint", "once_cell", - "serde", + "serde 1.0.188", "sha2 0.9.9", "walkdir", ] @@ -3684,7 +3739,7 @@ dependencies = [ [[package]] name = "move-compiler" version = "0.0.1" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#1df3fd3d9260eb225319b25c505dfc2cfd9f95b3" +source = "git+https://github.com/aptos-labs/aptos-core?tag=aptos-node-v1.7.2#6bddb7790e24b13e45a67e7f044560d0d958b824" dependencies = [ "anyhow", "bcs 0.1.4", @@ -3703,7 +3758,7 @@ dependencies = [ "move-symbol-pool", "num-bigint", "once_cell", - "petgraph", + "petgraph 0.5.1", "regex", "sha3", "tempfile", @@ -3713,7 +3768,7 @@ dependencies = [ [[package]] name = "move-compiler-v2" version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#1df3fd3d9260eb225319b25c505dfc2cfd9f95b3" +source = "git+https://github.com/aptos-labs/aptos-core?tag=aptos-node-v1.7.2#6bddb7790e24b13e45a67e7f044560d0d958b824" dependencies = [ "anyhow", "bcs 0.1.4", @@ -3733,25 +3788,27 @@ dependencies = [ "move-symbol-pool", "num", "once_cell", - "serde", + "serde 1.0.188", ] [[package]] name = "move-core-types" version = "0.0.4" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#1df3fd3d9260eb225319b25c505dfc2cfd9f95b3" +source = "git+https://github.com/aptos-labs/aptos-core?tag=aptos-node-v1.7.2#6bddb7790e24b13e45a67e7f044560d0d958b824" dependencies = [ "anyhow", + "arbitrary", "bcs 0.1.4", - "bytes", "ethnum", "hex", "num", "once_cell", "primitive-types", + "proptest", + "proptest-derive", "rand 0.8.5", "ref-cast", - "serde", + "serde 1.0.188", "serde_bytes", "thiserror", "uint", @@ -3760,7 +3817,7 @@ dependencies = [ [[package]] name = "move-coverage" version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#1df3fd3d9260eb225319b25c505dfc2cfd9f95b3" +source = "git+https://github.com/aptos-labs/aptos-core?tag=aptos-node-v1.7.2#6bddb7790e24b13e45a67e7f044560d0d958b824" dependencies = [ "anyhow", "bcs 0.1.4", @@ -3773,14 +3830,14 @@ dependencies = [ "move-core-types", "move-ir-types", "once_cell", - "petgraph", - "serde", + "petgraph 0.5.1", + "serde 1.0.188", ] [[package]] name = "move-disassembler" version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#1df3fd3d9260eb225319b25c505dfc2cfd9f95b3" +source = "git+https://github.com/aptos-labs/aptos-core?tag=aptos-node-v1.7.2#6bddb7790e24b13e45a67e7f044560d0d958b824" dependencies = [ "anyhow", "clap 4.4.6", @@ -3798,7 +3855,7 @@ dependencies = [ [[package]] name = "move-docgen" version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#1df3fd3d9260eb225319b25c505dfc2cfd9f95b3" +source = "git+https://github.com/aptos-labs/aptos-core?tag=aptos-node-v1.7.2#6bddb7790e24b13e45a67e7f044560d0d958b824" dependencies = [ "anyhow", "codespan", @@ -3811,13 +3868,13 @@ dependencies = [ "num", "once_cell", "regex", - "serde", + "serde 1.0.188", ] [[package]] name = "move-errmapgen" version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#1df3fd3d9260eb225319b25c505dfc2cfd9f95b3" +source = "git+https://github.com/aptos-labs/aptos-core?tag=aptos-node-v1.7.2#6bddb7790e24b13e45a67e7f044560d0d958b824" dependencies = [ "anyhow", "bcs 0.1.4", @@ -3825,13 +3882,13 @@ dependencies = [ "move-command-line-common", "move-core-types", "move-model", - "serde", + "serde 1.0.188", ] [[package]] name = "move-ir-to-bytecode" version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#1df3fd3d9260eb225319b25c505dfc2cfd9f95b3" +source = "git+https://github.com/aptos-labs/aptos-core?tag=aptos-node-v1.7.2#6bddb7790e24b13e45a67e7f044560d0d958b824" dependencies = [ "anyhow", "codespan-reporting", @@ -3850,7 +3907,7 @@ dependencies = [ [[package]] name = "move-ir-to-bytecode-syntax" version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#1df3fd3d9260eb225319b25c505dfc2cfd9f95b3" +source = "git+https://github.com/aptos-labs/aptos-core?tag=aptos-node-v1.7.2#6bddb7790e24b13e45a67e7f044560d0d958b824" dependencies = [ "anyhow", "hex", @@ -3863,7 +3920,7 @@ dependencies = [ [[package]] name = "move-ir-types" version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#1df3fd3d9260eb225319b25c505dfc2cfd9f95b3" +source = "git+https://github.com/aptos-labs/aptos-core?tag=aptos-node-v1.7.2#6bddb7790e24b13e45a67e7f044560d0d958b824" dependencies = [ "anyhow", "hex", @@ -3871,13 +3928,13 @@ dependencies = [ "move-core-types", "move-symbol-pool", "once_cell", - "serde", + "serde 1.0.188", ] [[package]] name = "move-model" version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#1df3fd3d9260eb225319b25c505dfc2cfd9f95b3" +source = "git+https://github.com/aptos-labs/aptos-core?tag=aptos-node-v1.7.2#6bddb7790e24b13e45a67e7f044560d0d958b824" dependencies = [ "anyhow", "codespan", @@ -3897,14 +3954,14 @@ dependencies = [ "num", "once_cell", "regex", - "serde", + "serde 1.0.188", "trace", ] [[package]] name = "move-package" version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#1df3fd3d9260eb225319b25c505dfc2cfd9f95b3" +source = "git+https://github.com/aptos-labs/aptos-core?tag=aptos-node-v1.7.2#6bddb7790e24b13e45a67e7f044560d0d958b824" dependencies = [ "anyhow", "bcs 0.1.4", @@ -3925,10 +3982,11 @@ dependencies = [ "move-symbol-pool", "named-lock", "once_cell", - "petgraph", + "petgraph 0.5.1", + "ptree", "regex", "reqwest", - "serde", + "serde 1.0.188", "serde_yaml 0.8.26", "sha2 0.9.9", "tempfile", @@ -3941,7 +3999,7 @@ dependencies = [ [[package]] name = "move-prover" version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#1df3fd3d9260eb225319b25c505dfc2cfd9f95b3" +source = "git+https://github.com/aptos-labs/aptos-core?tag=aptos-node-v1.7.2#6bddb7790e24b13e45a67e7f044560d0d958b824" dependencies = [ "anyhow", "async-trait", @@ -3969,7 +4027,7 @@ dependencies = [ "once_cell", "pretty", "rand 0.8.5", - "serde", + "serde 1.0.188", "serde_json", "simplelog", "tokio", @@ -3979,7 +4037,7 @@ dependencies = [ [[package]] name = "move-prover-boogie-backend" version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#1df3fd3d9260eb225319b25c505dfc2cfd9f95b3" +source = "git+https://github.com/aptos-labs/aptos-core?tag=aptos-node-v1.7.2#6bddb7790e24b13e45a67e7f044560d0d958b824" dependencies = [ "anyhow", "async-trait", @@ -4000,7 +4058,7 @@ dependencies = [ "pretty", "rand 0.8.5", "regex", - "serde", + "serde 1.0.188", "serde_json", "tera", "tokio", @@ -4009,7 +4067,7 @@ dependencies = [ [[package]] name = "move-prover-bytecode-pipeline" version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#1df3fd3d9260eb225319b25c505dfc2cfd9f95b3" +source = "git+https://github.com/aptos-labs/aptos-core?tag=aptos-node-v1.7.2#6bddb7790e24b13e45a67e7f044560d0d958b824" dependencies = [ "anyhow", "async-trait", @@ -4029,7 +4087,7 @@ dependencies = [ "once_cell", "pretty", "rand 0.8.5", - "serde", + "serde 1.0.188", "serde_json", "simplelog", "tokio", @@ -4039,7 +4097,7 @@ dependencies = [ [[package]] name = "move-resource-viewer" version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#1df3fd3d9260eb225319b25c505dfc2cfd9f95b3" +source = "git+https://github.com/aptos-labs/aptos-core?tag=aptos-node-v1.7.2#6bddb7790e24b13e45a67e7f044560d0d958b824" dependencies = [ "anyhow", "bcs 0.1.4", @@ -4048,13 +4106,13 @@ dependencies = [ "move-bytecode-utils", "move-core-types", "once_cell", - "serde", + "serde 1.0.188", ] [[package]] name = "move-stackless-bytecode" version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#1df3fd3d9260eb225319b25c505dfc2cfd9f95b3" +source = "git+https://github.com/aptos-labs/aptos-core?tag=aptos-node-v1.7.2#6bddb7790e24b13e45a67e7f044560d0d958b824" dependencies = [ "codespan", "codespan-reporting", @@ -4073,28 +4131,27 @@ dependencies = [ "num", "once_cell", "paste", - "petgraph", - "serde", + "petgraph 0.5.1", + "serde 1.0.188", ] [[package]] name = "move-symbol-pool" version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#1df3fd3d9260eb225319b25c505dfc2cfd9f95b3" +source = "git+https://github.com/aptos-labs/aptos-core?tag=aptos-node-v1.7.2#6bddb7790e24b13e45a67e7f044560d0d958b824" dependencies = [ "once_cell", - "serde", + "serde 1.0.188", ] [[package]] name = "move-table-extension" version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#1df3fd3d9260eb225319b25c505dfc2cfd9f95b3" +source = "git+https://github.com/aptos-labs/aptos-core?tag=aptos-node-v1.7.2#6bddb7790e24b13e45a67e7f044560d0d958b824" dependencies = [ "anyhow", "bcs 0.1.4", "better_any", - "bytes", "move-binary-format", "move-core-types", "move-vm-runtime", @@ -4107,10 +4164,9 @@ dependencies = [ [[package]] name = "move-vm-runtime" version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#1df3fd3d9260eb225319b25c505dfc2cfd9f95b3" +source = "git+https://github.com/aptos-labs/aptos-core?tag=aptos-node-v1.7.2#6bddb7790e24b13e45a67e7f044560d0d958b824" dependencies = [ "better_any", - "bytes", "fail 0.4.0", "move-binary-format", "move-bytecode-verifier", @@ -4118,7 +4174,6 @@ dependencies = [ "move-vm-types", "once_cell", "parking_lot 0.11.2", - "serde", "sha3", "tracing", ] @@ -4126,29 +4181,27 @@ dependencies = [ [[package]] name = "move-vm-test-utils" version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#1df3fd3d9260eb225319b25c505dfc2cfd9f95b3" +source = "git+https://github.com/aptos-labs/aptos-core?tag=aptos-node-v1.7.2#6bddb7790e24b13e45a67e7f044560d0d958b824" dependencies = [ "anyhow", - "bytes", "move-binary-format", "move-core-types", "move-table-extension", "move-vm-types", "once_cell", - "serde", + "serde 1.0.188", ] [[package]] name = "move-vm-types" version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#1df3fd3d9260eb225319b25c505dfc2cfd9f95b3" +source = "git+https://github.com/aptos-labs/aptos-core?tag=aptos-node-v1.7.2#6bddb7790e24b13e45a67e7f044560d0d958b824" dependencies = [ "bcs 0.1.4", - "derivative", "move-binary-format", "move-core-types", "once_cell", - "serde", + "serde 1.0.188", "smallvec", ] @@ -4191,7 +4244,7 @@ version = "0.2.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "07226173c32f2926027b63cce4bcd8076c3552846cbe7925f3aaffeac0a3b92e" dependencies = [ - "lazy_static", + "lazy_static 1.4.0", "libc", "log", "openssl", @@ -4215,6 +4268,17 @@ version = "0.1.14" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "72ef4a56884ca558e5ddb05a1d1e7e1bfd9a68d9ed024c21704cc98872dae1bb" +[[package]] +name = "nom" +version = "5.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "08959a387a676302eebf4ddbcbc611da04285579f76f88ee0506c63b1a61dd4b" +dependencies = [ + "lexical-core", + "memchr", + "version_check", +] + [[package]] name = "nom" version = "7.1.3" @@ -4246,7 +4310,7 @@ dependencies = [ "num-integer", "num-iter", "num-rational", - "num-traits", + "num-traits 0.2.16", ] [[package]] @@ -4257,7 +4321,7 @@ checksum = "608e7659b5c3d7cba262d894801b9ec9d00de989e8a82bd4bef91d08da45cdc0" dependencies = [ "autocfg", "num-integer", - "num-traits", + "num-traits 0.2.16", ] [[package]] @@ -4267,11 +4331,11 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dc84195820f291c7697304f3cbdadd1cb7199c0efc917ff5eafd71225c136151" dependencies = [ "byteorder", - "lazy_static", + "lazy_static 1.4.0", "libm", "num-integer", "num-iter", - "num-traits", + "num-traits 0.2.16", "rand 0.8.5", "smallvec", "zeroize", @@ -4283,7 +4347,7 @@ version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1ba157ca0885411de85d6ca030ba7e2a83a28636056c7c699b07c8b6f7383214" dependencies = [ - "num-traits", + "num-traits 0.2.16", ] [[package]] @@ -4292,8 +4356,8 @@ version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "876a53fff98e03a936a674b29568b0e605f06b29372c2489ff4de23f1949743d" dependencies = [ - "proc-macro2", - "quote", + "proc-macro2 1.0.67", + "quote 1.0.33", "syn 1.0.109", ] @@ -4304,7 +4368,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "225d3389fb3509a24c93f5c29eb6bde2586b98d9f016636dff58d7c6f7569cd9" dependencies = [ "autocfg", - "num-traits", + "num-traits 0.2.16", ] [[package]] @@ -4315,7 +4379,7 @@ checksum = "7d03e6c028c5dc5cac6e2dec0efda81fc887605bb3d884578bb6d6bf7514e252" dependencies = [ "autocfg", "num-integer", - "num-traits", + "num-traits 0.2.16", ] [[package]] @@ -4327,7 +4391,16 @@ dependencies = [ "autocfg", "num-bigint", "num-integer", - "num-traits", + "num-traits 0.2.16", +] + +[[package]] +name = "num-traits" +version = "0.1.43" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "92e5113e9fd4cc14ded8e499429f396a20f98c772a47cc8622a736e1ec843c31" +dependencies = [ + "num-traits 0.2.16", ] [[package]] @@ -4398,8 +4471,8 @@ version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c" dependencies = [ - "proc-macro2", - "quote", + "proc-macro2 1.0.67", + "quote 1.0.33", "syn 2.0.37", ] @@ -4421,6 +4494,15 @@ dependencies = [ "vcpkg", ] +[[package]] +name = "ordered-float" +version = "2.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7940cf2ca942593318d07fcf2596cdca60a85c9e7fab408a5e21a4f9dcd40d87" +dependencies = [ + "num-traits 0.2.16", +] + [[package]] name = "ouroboros" version = "0.9.5" @@ -4449,8 +4531,8 @@ checksum = "03f2cb802b5bdfdf52f1ffa0b54ce105e4d346e91990dd571f86c91321ad49e2" dependencies = [ "Inflector", "proc-macro-error", - "proc-macro2", - "quote", + "proc-macro2 1.0.67", + "quote 1.0.33", "syn 1.0.109", ] @@ -4462,8 +4544,8 @@ checksum = "5f7d21ccd03305a674437ee1248f3ab5d4b1db095cf1caf49f1713ddf61956b7" dependencies = [ "Inflector", "proc-macro-error", - "proc-macro2", - "quote", + "proc-macro2 1.0.67", + "quote 1.0.33", "syn 1.0.109", ] @@ -4484,7 +4566,7 @@ dependencies = [ "byte-slice-cast", "impl-trait-for-tuples", "parity-scale-codec-derive", - "serde", + "serde 1.0.188", ] [[package]] @@ -4494,8 +4576,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1557010476e0595c9b568d16dcfb81b93cdeb157612726f5170d31aa707bed27" dependencies = [ "proc-macro-crate", - "proc-macro2", - "quote", + "proc-macro2 1.0.67", + "quote 1.0.33", "syn 1.0.109", ] @@ -4544,7 +4626,7 @@ dependencies = [ "libc", "redox_syscall 0.3.5", "smallvec", - "windows-targets 0.48.1", + "windows-targets 0.48.5", ] [[package]] @@ -4615,8 +4697,8 @@ checksum = "bc9fc1b9e7057baba189b5c626e2d6f40681ae5b6eb064dc7c7834101ec8123a" dependencies = [ "pest", "pest_meta", - "proc-macro2", - "quote", + "proc-macro2 1.0.67", + "quote 1.0.33", "syn 2.0.37", ] @@ -4637,10 +4719,20 @@ version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "467d164a6de56270bd7c4d070df81d07beace25012d5103ced4e9ff08d6afdb7" dependencies = [ - "fixedbitset", + "fixedbitset 0.2.0", "indexmap 1.9.3", ] +[[package]] +name = "petgraph" +version = "0.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e1d3afd2628e69da2be385eb6f2fd57c8ac7977ceeff6dc166ff1657b0e386a9" +dependencies = [ + "fixedbitset 0.4.2", + "indexmap 2.0.2", +] + [[package]] name = "phf" version = "0.11.2" @@ -4694,8 +4786,8 @@ version = "1.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4359fd9c9171ec6e8c62926d6faaf553a8dc3f64e1507e76da7911b4f6a04405" dependencies = [ - "proc-macro2", - "quote", + "proc-macro2 1.0.67", + "quote 1.0.33", "syn 2.0.37", ] @@ -4763,7 +4855,7 @@ dependencies = [ "regex", "rfc7239", "rustls-pemfile", - "serde", + "serde 1.0.188", "serde_json", "serde_urlencoded", "smallvec", @@ -4784,8 +4876,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2550a0bce7273b278894ef3ccc5a6869e7031b6870042f3cc6826ed9faa980a6" dependencies = [ "proc-macro-crate", - "proc-macro2", - "quote", + "proc-macro2 1.0.67", + "quote 1.0.33", "syn 2.0.37", ] @@ -4800,12 +4892,12 @@ dependencies = [ "derive_more", "futures-util", "mime", - "num-traits", + "num-traits 0.2.16", "poem", "poem-openapi-derive", "quick-xml 0.23.1", "regex", - "serde", + "serde 1.0.188", "serde_json", "serde_urlencoded", "serde_yaml 0.9.25", @@ -4825,8 +4917,8 @@ dependencies = [ "indexmap 1.9.3", "mime", "proc-macro-crate", - "proc-macro2", - "quote", + "proc-macro2 1.0.67", + "quote 1.0.33", "regex", "syn 1.0.109", "thiserror", @@ -4904,8 +4996,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c" dependencies = [ "proc-macro-error-attr", - "proc-macro2", - "quote", + "proc-macro2 1.0.67", + "quote 1.0.33", "syn 1.0.109", "version_check", ] @@ -4916,8 +5008,8 @@ version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869" dependencies = [ - "proc-macro2", - "quote", + "proc-macro2 1.0.67", + "quote 1.0.33", "version_check", ] @@ -4933,6 +5025,15 @@ version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bc881b2c22681370c6a780e47af9840ef841837bc98118431d4e1868bd0c1086" +[[package]] +name = "proc-macro2" +version = "0.4.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf3d2011ab5c909338f7887f4fc896d35932e29146c12c8d01da6b22a80ba759" +dependencies = [ + "unicode-xid", +] + [[package]] name = "proc-macro2" version = "1.0.67" @@ -4950,18 +5051,65 @@ checksum = "449811d15fbdf5ceb5c1144416066429cf82316e2ec8ce0c1f6f8a02e7bbcf8c" dependencies = [ "cfg-if", "fnv", - "lazy_static", + "lazy_static 1.4.0", "memchr", "parking_lot 0.12.1", "thiserror", ] +[[package]] +name = "proptest" +version = "1.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7c003ac8c77cb07bb74f5f198bce836a689bcd5a42574612bf14d17bfd08c20e" +dependencies = [ + "bit-set", + "bit-vec", + "bitflags 2.4.0", + "lazy_static 1.4.0", + "num-traits 0.2.16", + "rand 0.8.5", + "rand_chacha 0.3.1", + "rand_xorshift", + "regex-syntax 0.7.5", + "rusty-fork", + "tempfile", + "unarray", +] + +[[package]] +name = "proptest-derive" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "90b46295382dc76166cb7cf2bb4a97952464e4b7ed5a43e6cd34e1fec3349ddc" +dependencies = [ + "proc-macro2 0.4.30", + "quote 0.6.13", + "syn 0.15.44", +] + [[package]] name = "psl-types" version = "2.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "33cb294fe86a74cbcf50d4445b37da762029549ebeea341421c7c70370f86cac" +[[package]] +name = "ptree" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a0de80796b316aec75344095a6d2ef68ec9b8f573b9e7adc821149ba3598e270" +dependencies = [ + "ansi_term", + "atty", + "config", + "directories", + "petgraph 0.6.4", + "serde 1.0.188", + "serde-value", + "tint", +] + [[package]] name = "publicsuffix" version = "2.2.3" @@ -4981,6 +5129,12 @@ dependencies = [ "percent-encoding", ] +[[package]] +name = "quick-error" +version = "1.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0" + [[package]] name = "quick-xml" version = "0.23.1" @@ -4988,7 +5142,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "11bafc859c6815fbaffbbbf4229ecb767ac913fecb27f9ad4343662e9ef099ea" dependencies = [ "memchr", - "serde", + "serde 1.0.188", ] [[package]] @@ -4998,7 +5152,16 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7f50b1c63b38611e7d4d7f68b82d3ad0cc71a2ad2e7f61fc10f1328d917c93cd" dependencies = [ "memchr", - "serde", + "serde 1.0.188", +] + +[[package]] +name = "quote" +version = "0.6.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ce23b6b870e8f94f81fb0a363d65d86675884b34a09043c81e5562f11c1f8e1" +dependencies = [ + "proc-macro2 0.4.30", ] [[package]] @@ -5007,7 +5170,7 @@ version = "1.0.33" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5267fca4496028628a95160fc423a33e8b2e6af8a5302579e322e4b520293cae" dependencies = [ - "proc-macro2", + "proc-macro2 1.0.67", ] [[package]] @@ -5104,6 +5267,15 @@ dependencies = [ "rand_core 0.5.1", ] +[[package]] +name = "rand_xorshift" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d25bf25ec5ae4a3f1b92f929810509a2f53d7dca2f50b794ff57e3face536c8f" +dependencies = [ + "rand_core 0.6.4", +] + [[package]] name = "rand_xoshiro" version = "0.6.0" @@ -5177,8 +5349,8 @@ version = "1.0.20" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7f7473c2cfcf90008193dd0e3e16599455cb601a9fce322b5bb55de799664925" dependencies = [ - "proc-macro2", - "quote", + "proc-macro2 1.0.67", + "quote 1.0.33", "syn 2.0.37", ] @@ -5228,9 +5400,9 @@ checksum = "dbb5fb1acd8a1a18b3dd5be62d25485eb770e05afb408a9627d14d451bae12da" [[package]] name = "reqwest" -version = "0.11.20" +version = "0.11.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e9ad3fe7488d7e34558a2033d45a0c90b72d97b4f80705666fea71472e2e6a1" +checksum = "046cd98826c46c2ac8ddecae268eb5c2e58628688a5fc7a2643704a73faba95b" dependencies = [ "base64 0.21.4", "bytes", @@ -5252,9 +5424,10 @@ dependencies = [ "once_cell", "percent-encoding", "pin-project-lite", - "serde", + "serde 1.0.188", "serde_json", "serde_urlencoded", + "system-configuration", "tokio", "tokio-native-tls", "tokio-util", @@ -5312,7 +5485,7 @@ dependencies = [ "num-bigint-dig", "num-integer", "num-iter", - "num-traits", + "num-traits 0.2.16", "pkcs1", "pkcs8", "rand_core 0.6.4", @@ -5322,6 +5495,12 @@ dependencies = [ "zeroize", ] +[[package]] +name = "rust-ini" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3e52c148ef37f8c375d49d5a73aa70713125b7f19095948a923f80afdeb22ec2" + [[package]] name = "rustc-demangle" version = "0.1.23" @@ -5410,6 +5589,18 @@ version = "1.0.14" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7ffc183a10b4478d04cbbbfc96d0873219d962dd5accaff2ffbd4ceb7df837f4" +[[package]] +name = "rusty-fork" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb3dcc6e454c328bb824492db107ab7c0ae8fcffe4ad210136ef014458c1bc4f" +dependencies = [ + "fnv", + "quick-error", + "tempfile", + "wait-timeout", +] + [[package]] name = "ryu" version = "1.0.15" @@ -5503,9 +5694,15 @@ checksum = "ad977052201c6de01a8ef2aa3378c4bd23217a056337d1d6da40468d267a4fb0" [[package]] name = "serde" -version = "1.0.149" +version = "0.8.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "256b9932320c590e707b94576e3cc1f7c9024d0ee6612dfbcf1cb106cbe8e055" +checksum = "9dad3f759919b92c3068c696c15c3d17238234498bbdcc80f2c469606f948ac8" + +[[package]] +name = "serde" +version = "1.0.188" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf9e0fcba69a370eed61bcf2b728575f726b50b55cba78064753d708ddc7549e" dependencies = [ "serde_derive", ] @@ -5520,7 +5717,7 @@ dependencies = [ "heck 0.3.3", "include_dir 0.6.2", "maplit", - "serde", + "serde 1.0.188", "serde-reflection 0.3.5", "serde_bytes", "serde_yaml 0.8.26", @@ -5528,13 +5725,25 @@ dependencies = [ "textwrap 0.13.4", ] +[[package]] +name = "serde-hjson" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6a3a4e0ea8a88553209f6cc6cfe8724ecad22e1acf372793c27d995290fe74f8" +dependencies = [ + "lazy_static 1.4.0", + "num-traits 0.1.43", + "regex", + "serde 0.8.23", +] + [[package]] name = "serde-name" version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "12c47087018ec281d1cdab673d36aea22d816b54d498264029c05d5fa1910da6" dependencies = [ - "serde", + "serde 1.0.188", "thiserror", ] @@ -5544,7 +5753,7 @@ version = "0.3.5" source = "git+https://github.com/aptos-labs/serde-reflection?rev=839aed62a20ddccf043c08961cfe74875741ccba#839aed62a20ddccf043c08961cfe74875741ccba" dependencies = [ "once_cell", - "serde", + "serde 1.0.188", "thiserror", ] @@ -5555,40 +5764,50 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f05a5f801ac62a51a49d378fdb3884480041b99aced450b28990673e8ff99895" dependencies = [ "once_cell", - "serde", + "serde 1.0.188", "thiserror", ] +[[package]] +name = "serde-value" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f3a1a3341211875ef120e117ea7fd5228530ae7e7036a779fdc9117be6b3282c" +dependencies = [ + "ordered-float", + "serde 1.0.188", +] + [[package]] name = "serde_bytes" -version = "0.11.10" +version = "0.11.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3c5113243e4a3a1c96587342d067f3e6b0f50790b6cf40d2868eb647a3eef0e" +checksum = "ab33ec92f677585af6d88c65593ae2375adde54efdbf16d597f2cbc7a6d368ff" dependencies = [ - "serde", + "serde 1.0.188", ] [[package]] name = "serde_derive" -version = "1.0.149" +version = "1.0.188" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4eae9b04cbffdfd550eb462ed33bc6a1b68c935127d008b27444d08380f94e4" +checksum = "4eca7ac642d82aa35b60049a6eccb4be6be75e599bd2e9adb5f875a737654af2" dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", + "proc-macro2 1.0.67", + "quote 1.0.33", + "syn 2.0.37", ] [[package]] name = "serde_json" -version = "1.0.99" +version = "1.0.107" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "46266871c240a00b8f503b877622fe33430b3c7d963bdc0f2adc511e54a1eae3" +checksum = "6b420ce6e3d8bd882e9b243c6eed35dbc9a6110c9769e74b584e0d68d1f20c65" dependencies = [ "indexmap 2.0.2", "itoa", "ryu", - "serde", + "serde 1.0.188", ] [[package]] @@ -5597,7 +5816,7 @@ version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "606e91878516232ac3b16c12e063d4468d762f16d77e7aef14a1f2326c5f409b" dependencies = [ - "serde", + "serde 1.0.188", "serde_json", "thiserror", ] @@ -5611,7 +5830,7 @@ dependencies = [ "form_urlencoded", "itoa", "ryu", - "serde", + "serde 1.0.188", ] [[package]] @@ -5622,7 +5841,7 @@ checksum = "578a7433b776b56a35785ed5ce9a7e777ac0598aac5a6dd1b4b18a307c7fc71b" dependencies = [ "indexmap 1.9.3", "ryu", - "serde", + "serde 1.0.188", "yaml-rust", ] @@ -5635,7 +5854,7 @@ dependencies = [ "indexmap 2.0.2", "itoa", "ryu", - "serde", + "serde 1.0.188", "unsafe-libyaml", ] @@ -5692,7 +5911,7 @@ version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c1b21f559e07218024e7e9f90f96f601825397de0e25420135f7f952453fed0b" dependencies = [ - "lazy_static", + "lazy_static 1.4.0", ] [[package]] @@ -5794,8 +6013,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "990079665f075b699031e9c08fd3ab99be5029b96f3b78dc0709e8f77e4efebf" dependencies = [ "heck 0.4.1", - "proc-macro2", - "quote", + "proc-macro2 1.0.67", + "quote 1.0.33", "syn 1.0.109", ] @@ -5816,7 +6035,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4031e820eb552adee9295814c0ced9e5cf38ddf1e8b7d566d6de8e2538ea989e" dependencies = [ "libc", - "windows-sys", + "windows-sys 0.48.0", ] [[package]] @@ -5851,7 +6070,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6b7b278788e7be4d0d29c0f39497a0eef3fba6bbc8e70d8bf7fde46edeaa9e85" dependencies = [ "itertools 0.11.0", - "nom", + "nom 7.1.3", "unicode_categories", ] @@ -5900,7 +6119,7 @@ dependencies = [ "percent-encoding", "rustls 0.21.7", "rustls-pemfile", - "serde", + "serde 1.0.188", "serde_json", "sha2 0.10.8", "smallvec", @@ -5919,8 +6138,8 @@ version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9a793bb3ba331ec8359c1853bd39eed32cdd7baaf22c35ccf5c92a7e8d1189ec" dependencies = [ - "proc-macro2", - "quote", + "proc-macro2 1.0.67", + "quote 1.0.33", "sqlx-core", "sqlx-macros-core", "syn 1.0.109", @@ -5937,9 +6156,9 @@ dependencies = [ "heck 0.4.1", "hex", "once_cell", - "proc-macro2", - "quote", - "serde", + "proc-macro2 1.0.67", + "quote 1.0.33", + "serde 1.0.188", "serde_json", "sha2 0.10.8", "sqlx-core", @@ -5985,7 +6204,7 @@ dependencies = [ "percent-encoding", "rand 0.8.5", "rsa", - "serde", + "serde 1.0.188", "sha1", "sha2 0.10.8", "smallvec", @@ -6026,7 +6245,7 @@ dependencies = [ "num-bigint", "once_cell", "rand 0.8.5", - "serde", + "serde 1.0.188", "serde_json", "sha1", "sha2 0.10.8", @@ -6055,7 +6274,7 @@ dependencies = [ "libsqlite3-sys", "log", "percent-encoding", - "serde", + "serde 1.0.188", "sqlx-core", "tracing", "url", @@ -6103,7 +6322,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0c6b5c64445ba8094a6ab0c3cd2ad323e07171012d9c98b0b15651daf1787a10" dependencies = [ "clap 2.34.0", - "lazy_static", + "lazy_static 1.4.0", "structopt-derive", ] @@ -6115,8 +6334,8 @@ checksum = "dcb5ae327f9cc13b68763b5749770cb9e048a99bd9dfdfa58d0cf05d5f64afe0" dependencies = [ "heck 0.3.3", "proc-macro-error", - "proc-macro2", - "quote", + "proc-macro2 1.0.67", + "quote 1.0.33", "syn 1.0.109", ] @@ -6133,8 +6352,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1e385be0d24f186b4ce2f9982191e7101bb737312ad61c1f2f984f34bcf85d59" dependencies = [ "heck 0.4.1", - "proc-macro2", - "quote", + "proc-macro2 1.0.67", + "quote 1.0.33", "rustversion", "syn 1.0.109", ] @@ -6151,14 +6370,25 @@ version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "734676eb262c623cec13c3155096e08d1f8f29adce39ba17948b18dad1e54142" +[[package]] +name = "syn" +version = "0.15.44" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9ca4b3b69a77cbe1ffc9e198781b7acb0c7365a883670e8f1c1bc66fba79a5c5" +dependencies = [ + "proc-macro2 0.4.30", + "quote 0.6.13", + "unicode-xid", +] + [[package]] name = "syn" version = "1.0.109" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" dependencies = [ - "proc-macro2", - "quote", + "proc-macro2 1.0.67", + "quote 1.0.33", "unicode-ident", ] @@ -6168,11 +6398,32 @@ version = "2.0.37" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7303ef2c05cd654186cb250d29049a24840ca25d2747c25c0381c8d9e2f582e8" dependencies = [ - "proc-macro2", - "quote", + "proc-macro2 1.0.67", + "quote 1.0.33", "unicode-ident", ] +[[package]] +name = "system-configuration" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ba3a3adc5c275d719af8cb4272ea1c4a6d668a777f37e115f6d11ddbc1c8e0e7" +dependencies = [ + "bitflags 1.3.2", + "core-foundation", + "system-configuration-sys", +] + +[[package]] +name = "system-configuration-sys" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a75fb188eb626b924683e3b95e3a48e63551fcfb51949de2f06a9d91dbee93c9" +dependencies = [ + "core-foundation-sys", + "libc", +] + [[package]] name = "tap" version = "1.0.1" @@ -6202,13 +6453,13 @@ dependencies = [ "chrono-tz", "globwalk", "humansize", - "lazy_static", + "lazy_static 1.4.0", "percent-encoding", "pest", "pest_derive", "rand 0.8.5", "regex", - "serde", + "serde 1.0.188", "serde_json", "slug", "unic-segment", @@ -6268,8 +6519,8 @@ version = "1.0.49" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "10712f02019e9288794769fba95cd6847df9874d49d871d062172f9dd41bc4cc" dependencies = [ - "proc-macro2", - "quote", + "proc-macro2 1.0.67", + "quote 1.0.33", "syn 2.0.37", ] @@ -6294,32 +6545,41 @@ dependencies = [ [[package]] name = "time" -version = "0.3.26" +version = "0.3.29" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a79d09ac6b08c1ab3906a2f7cc2e81a0e27c7ae89c63812df75e52bef0751e07" +checksum = "426f806f4089c493dcac0d24c29c01e2c38baf8e30f1b716ee37e83d200b18fe" dependencies = [ "deranged", "itoa", - "serde", + "serde 1.0.188", "time-core", "time-macros", ] [[package]] name = "time-core" -version = "0.1.1" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7300fbefb4dadc1af235a9cef3737cea692a9d97e1b9cbcd4ebdae6f8868e6fb" +checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3" [[package]] name = "time-macros" -version = "0.2.12" +version = "0.2.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75c65469ed6b3a4809d987a41eb1dc918e9bc1d92211cbad7ae82931846f7451" +checksum = "4ad70d68dba9e1f8aceda7aa6711965dfec1cac869f311a51bd08b3a2ccbce20" dependencies = [ "time-core", ] +[[package]] +name = "tint" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7af24570664a3074673dbbf69a65bdae0ae0b72f2949b1adfbacb736ee4d6896" +dependencies = [ + "lazy_static 0.2.11", +] + [[package]] name = "tiny-bip39" version = "0.8.2" @@ -6388,8 +6648,8 @@ version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "630bdcf245f78637c13ec01ffae6187cca34625e8c63150d424b59e55af2675e" dependencies = [ - "proc-macro2", - "quote", + "proc-macro2 1.0.67", + "quote 1.0.33", "syn 2.0.37", ] @@ -6445,7 +6705,7 @@ version = "0.5.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f4f7f0dd8d50a853a531c426359045b1998f04219d88799810762cd4ad314234" dependencies = [ - "serde", + "serde 1.0.188", ] [[package]] @@ -6477,8 +6737,8 @@ version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9ad0c048e114d19d1140662762bfdb10682f3bc806d8be18af846600214dd9af" dependencies = [ - "proc-macro2", - "quote", + "proc-macro2 1.0.67", + "quote 1.0.33", "syn 1.0.109", ] @@ -6501,8 +6761,8 @@ version = "0.1.26" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5f4f31f56159e98206da9efd823404b79b6ef3143b4a7ab76e67b1751b25a4ab" dependencies = [ - "proc-macro2", - "quote", + "proc-macro2 1.0.67", + "quote 1.0.33", "syn 2.0.37", ] @@ -6522,7 +6782,7 @@ version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "78ddad33d2d10b1ed7eb9d1f518a5674713876e97e5bb9b7345a7984fbb4f922" dependencies = [ - "lazy_static", + "lazy_static 1.4.0", "log", "tracing-core", ] @@ -6533,7 +6793,7 @@ version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bc6b213177105856957181934e4920de57730fc69bf42c37ee5bb664d406d9e1" dependencies = [ - "serde", + "serde 1.0.188", "tracing-core", ] @@ -6547,7 +6807,7 @@ dependencies = [ "nu-ansi-term", "once_cell", "regex", - "serde", + "serde 1.0.188", "serde_json", "sharded-slab", "smallvec", @@ -6581,7 +6841,7 @@ name = "types" version = "0.1.0" dependencies = [ "chrono", - "serde", + "serde 1.0.188", "serde_json", "sqlx", "thiserror", @@ -6605,6 +6865,12 @@ dependencies = [ "static_assertions", ] +[[package]] +name = "unarray" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eaea85b334db583fe3274d12b4cd1880032beab409c0d774be044d4480ab9a94" + [[package]] name = "uncased" version = "0.9.9" @@ -6703,6 +6969,12 @@ version = "0.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e51733f11c9c4f72aa0c160008246859e340b00807569a0da0e7a1079b27ba85" +[[package]] +name = "unicode-xid" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc72304796d0818e357ead4e000d19c9c174ab23dc11093ac919054d20a6a7fc" + [[package]] name = "unicode_categories" version = "0.1.1" @@ -6743,7 +7015,7 @@ dependencies = [ "native-tls", "once_cell", "qstring", - "serde", + "serde 1.0.188", "serde_json", "url", ] @@ -6757,7 +7029,7 @@ dependencies = [ "form_urlencoded", "idna 0.4.0", "percent-encoding", - "serde", + "serde 1.0.188", ] [[package]] @@ -6778,7 +7050,7 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "aae2faf80ac463422992abf4de234731279c058aaf33171ca70277c98406b124" dependencies = [ - "quote", + "quote 1.0.33", "syn 1.0.109", ] @@ -6800,6 +7072,15 @@ version = "0.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" +[[package]] +name = "wait-timeout" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9f200f5b12eb75f8c1ed65abd4b2db8a6e1b138a20de009dacee265a2498f3f6" +dependencies = [ + "libc", +] + [[package]] name = "walkdir" version = "2.4.0" @@ -6850,8 +7131,8 @@ dependencies = [ "bumpalo", "log", "once_cell", - "proc-macro2", - "quote", + "proc-macro2 1.0.67", + "quote 1.0.33", "syn 2.0.37", "wasm-bindgen-shared", ] @@ -6874,7 +7155,7 @@ version = "0.2.87" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dee495e55982a3bd48105a7b947fd2a9b4a8ae3010041b9e0faab3f9cd028f1d" dependencies = [ - "quote", + "quote 1.0.33", "wasm-bindgen-macro-support", ] @@ -6884,8 +7165,8 @@ version = "0.2.87" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "54681b18a46765f095758388f2d0cf16eb8d4169b639ab575a8f5693af210c7b" dependencies = [ - "proc-macro2", - "quote", + "proc-macro2 1.0.67", + "quote 1.0.33", "syn 2.0.37", "wasm-bindgen-backend", "wasm-bindgen-shared", @@ -6998,7 +7279,7 @@ version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e686886bc078bc1b0b600cac0147aadb815089b6e4da64016cbd754b6342700f" dependencies = [ - "windows-targets 0.48.1", + "windows-targets 0.48.5", ] [[package]] @@ -7016,7 +7297,7 @@ version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" dependencies = [ - "windows-targets 0.48.1", + "windows-targets 0.48.5", ] [[package]] @@ -7040,51 +7321,93 @@ version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c" dependencies = [ - "windows_aarch64_gnullvm 0.48.0", - "windows_aarch64_msvc 0.48.0", - "windows_i686_gnu 0.48.0", - "windows_i686_msvc 0.48.0", - "windows_x86_64_gnu 0.48.0", - "windows_x86_64_gnullvm 0.48.0", - "windows_x86_64_msvc 0.48.0", + "windows_aarch64_gnullvm 0.48.5", + "windows_aarch64_msvc 0.48.5", + "windows_i686_gnu 0.48.5", + "windows_i686_msvc 0.48.5", + "windows_x86_64_gnu 0.48.5", + "windows_x86_64_gnullvm 0.48.5", + "windows_x86_64_msvc 0.48.5", ] +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8" + [[package]] name = "windows_aarch64_gnullvm" version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" +[[package]] +name = "windows_aarch64_msvc" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43" + [[package]] name = "windows_aarch64_msvc" version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" +[[package]] +name = "windows_i686_gnu" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f" + [[package]] name = "windows_i686_gnu" version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" +[[package]] +name = "windows_i686_msvc" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060" + [[package]] name = "windows_i686_msvc" version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" +[[package]] +name = "windows_x86_64_gnu" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36" + [[package]] name = "windows_x86_64_gnu" version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3" + [[package]] name = "windows_x86_64_gnullvm" version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" +[[package]] +name = "windows_x86_64_msvc" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0" + [[package]] name = "windows_x86_64_msvc" version = "0.48.5" @@ -7107,7 +7430,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "524e57b2c537c0f9b1e69f1965311ec12182b4122e45035b1508cd24d2adadb1" dependencies = [ "cfg-if", - "windows-sys", + "windows-sys 0.48.0", ] [[package]] @@ -7159,7 +7482,7 @@ version = "1.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" dependencies = [ - "proc-macro2", - "quote", + "proc-macro2 1.0.67", + "quote 1.0.33", "syn 2.0.37", ] diff --git a/src/rust/Cargo.toml b/src/rust/Cargo.toml index ab14489aa..4ea9e0c15 100644 --- a/src/rust/Cargo.toml +++ b/src/rust/Cargo.toml @@ -25,6 +25,7 @@ rust-version = "1.70" aptos-indexer-protos = { path = "dependencies/aptos-indexer-processors/rust/aptos-indexer-protos" } server-framework = { path = "dependencies/aptos-indexer-processors/rust/server-framework" } aptos-moving-average = { path = "dependencies/aptos-indexer-processors/rust/moving-average" } +aptos-sdk = { git = "https://github.com/aptos-labs/aptos-core", tag = "aptos-node-v1.7.2" } anyhow = "1.0.62" async-trait = "0.1.53" @@ -32,7 +33,7 @@ axum = "0.6.19" backtrace = "0.3.58" base64 = "0.13.0" bcs = { git = "https://github.com/aptos-labs/bcs.git", rev = "d31fab9d81748e2594be5cd5cdf845786a30562d" } -bigdecimal = { version = "0.3.1", features = ["serde"] } +bigdecimal = { version = "=0.3.1", features = ["serde"] } chrono = { version = "0.4.26", features = ["clock", "serde"] } clap = { version = "4.3.5", features = ["derive", "unstable-styles"] } diesel = { version = "2.1.0", features = [ @@ -62,8 +63,8 @@ pbjson = "0.5.1" prometheus = { version = "0.13.0", default-features = false } prost = "0.11.9" prost-types = "0.11.9" -serde = { version = "1.0.175", features = ["derive", "rc"] } -serde_json = { version = "1.0.103", features = ["preserve_order"] } +serde = { version = "1.0", features = ["derive", "rc"] } +serde_json = { version = "1.0", features = ["preserve_order"] } serde_yaml = "0.8.24" sha2 = "0.9.3" sha3 = "0.9.1" diff --git a/src/rust/aggregator/src/data/user_history.rs b/src/rust/aggregator/src/data/user_history.rs index 76dff9cbb..d330c3aa4 100644 --- a/src/rust/aggregator/src/data/user_history.rs +++ b/src/rust/aggregator/src/data/user_history.rs @@ -1,7 +1,7 @@ use anyhow::anyhow; use bigdecimal::{BigDecimal, Zero}; use chrono::{DateTime, Duration, Utc}; -use sqlx::{Database, PgConnection, PgPool, Postgres, Transaction}; +use sqlx::{PgConnection, PgPool, Postgres, Transaction}; use super::{Data, DataAggregationError, DataAggregationResult}; @@ -56,7 +56,7 @@ impl Data for UserHistory { .begin() .await .map_err(|e| DataAggregationError::ProcessingError(anyhow!(e)))?; - let mut fill_events = sqlx::query!( + let fill_events = sqlx::query!( r#" SELECT * FROM fill_events WHERE NOT EXISTS ( @@ -70,7 +70,7 @@ impl Data for UserHistory { .fetch_all(&mut transaction as &mut PgConnection) .await .map_err(|e| DataAggregationError::ProcessingError(anyhow!(e)))?; - let mut change_events = sqlx::query!( + let change_events = sqlx::query!( r#" SELECT * FROM change_order_size_events WHERE NOT EXISTS ( @@ -140,7 +140,7 @@ impl Data for UserHistory { sqlx::query!( r#" INSERT INTO aggregator.user_history_limit VALUES ( - $1, $2, $3, $4, $5, $6, $7, $8 + $1, $2, $3, $4, $5, $6, $7, linked_list_last($1, $8), $8 ); "#, x.market_id, @@ -330,6 +330,49 @@ impl Data for UserHistory { }; } for x in &cancel_events { + let order_type = sqlx::query!( + r#" + SELECT order_type as "order_type: OrderType" + FROM aggregator.user_history + WHERE market_id = $1 + AND order_id = $2 + "#, + x.market_id, + x.order_id + ) + .fetch_one(&mut transaction as &mut PgConnection) + .await + .map_err(|e| DataAggregationError::ProcessingError(anyhow!(e)))?; + + if matches!(order_type.order_type, OrderType::Limit) { + // Let's say we have A <- B <- C where B is the current order + + // We update C to point to A + sqlx::query!( + r#" + UPDATE aggregator.user_history_limit + SET prev = ( + SELECT prev + FROM aggregator.user_history_limit + WHERE market_id = $1 + AND order_id = $2 + ) + WHERE market_id = $1 + AND price = ( + SELECT price + FROM aggregator.user_history_limit + WHERE market_id = $1 + AND order_id = $2 + ) + AND prev = $2; + "#, + x.market_id, + x.order_id, + ) + .execute(&mut transaction as &mut PgConnection) + .await + .map_err(|e| DataAggregationError::ProcessingError(anyhow!(e)))?; + } sqlx::query!( r#" UPDATE aggregator.user_history @@ -360,13 +403,13 @@ async fn aggregate_fill<'a>( market_id: &BigDecimal, time: &DateTime, ) -> DataAggregationResult { - sqlx::query!( + let record = sqlx::query!( r#" UPDATE aggregator.user_history SET remaining_size = remaining_size - $1, total_filled = total_filled + $1, - order_status = CASE remaining_size + order_status = CASE remaining_size - $1 WHEN 0 THEN CASE order_status WHEN 'cancelled' THEN order_status ELSE 'closed' @@ -377,16 +420,60 @@ async fn aggregate_fill<'a>( END END, last_updated_at = $4 - WHERE order_id = $2 AND market_id = $3; + WHERE order_id = $2 AND market_id = $3 + RETURNING order_status as "order_status: OrderStatus" "#, size, maker_order_id, market_id, time, ) - .execute(tx as &mut PgConnection) + .fetch_one(tx as &mut PgConnection) .await .map_err(|e| DataAggregationError::ProcessingError(anyhow!(e)))?; + if matches!(record.order_status, OrderStatus::Closed) { + // Let's say we have A <- B <- C where B is the current order + + // We update C to point to A + sqlx::query!( + r#" + UPDATE aggregator.user_history_limit + SET prev = ( + SELECT prev + FROM aggregator.user_history_limit + WHERE market_id = $1 + AND order_id = $2 + ) + WHERE market_id = $1 + AND price = ( + SELECT price + FROM aggregator.user_history_limit + WHERE market_id = $1 + AND order_id = $2 + ) + AND prev = $2; + "#, + market_id, + maker_order_id, + ) + .execute(tx as &mut PgConnection) + .await + .map_err(|e| DataAggregationError::ProcessingError(anyhow!(e)))?; + + // We update B to point to null + sqlx::query!( + r#" + UPDATE aggregator.user_history_limit + SET prev = NULL + WHERE market_id = $1 AND order_id = $2; + "#, + market_id, + maker_order_id, + ) + .execute(tx as &mut PgConnection) + .await + .map_err(|e| DataAggregationError::ProcessingError(anyhow!(e)))?; + } Ok(()) } @@ -397,6 +484,72 @@ async fn aggregate_change<'a>( market_id: &BigDecimal, time: &DateTime, ) -> DataAggregationResult { + // Get some info + let record = sqlx::query!( + r#" + SELECT order_type as "order_type: OrderType", remaining_size + FROM aggregator.user_history + WHERE market_id = $1 + AND order_id = $2 + "#, + market_id, + order_id, + ) + .fetch_one(tx as &mut PgConnection) + .await + .map_err(|e| DataAggregationError::ProcessingError(anyhow!(e)))?; + let (order_type, original_size): (OrderType, BigDecimal) = + (record.order_type, record.remaining_size); + // If its a limit order and needs reordering + if matches!(order_type, OrderType::Limit) && &original_size < new_size { + // Let's say we have A <- B <- C where B is the current order + + // We update C to point to A + sqlx::query!( + r#" + UPDATE aggregator.user_history_limit + SET prev = ( + SELECT prev + FROM aggregator.user_history_limit + WHERE market_id = $1 + AND order_id = $2 + ) + WHERE market_id = $1 + AND price = ( + SELECT price + FROM aggregator.user_history_limit + WHERE market_id = $1 + AND order_id = $2 + ) + AND prev = $2; + "#, + market_id, + order_id, + ) + .execute(tx as &mut PgConnection) + .await + .map_err(|e| DataAggregationError::ProcessingError(anyhow!(e)))?; + + // We update B to point to last + sqlx::query!( + r#" + UPDATE aggregator.user_history_limit + SET prev = linked_list_last($1, ( + SELECT price + FROM aggregator.user_history_limit + WHERE market_id = $1 + AND order_id = $2) + ) + WHERE market_id = $1 + AND order_id = $2; + "#, + market_id, + order_id, + ) + .execute(tx as &mut PgConnection) + .await + .map_err(|e| DataAggregationError::ProcessingError(anyhow!(e)))?; + } sqlx::query!( r#" UPDATE aggregator.user_history diff --git a/src/rust/aggregator/src/main.rs b/src/rust/aggregator/src/main.rs index 5d8c34d8d..d8a74e96f 100644 --- a/src/rust/aggregator/src/main.rs +++ b/src/rust/aggregator/src/main.rs @@ -22,9 +22,9 @@ async fn main() -> Result<()> { let mut data: Vec>> = vec![]; - data.push(Arc::new(Mutex::new(MarketsRegisteredPerDay::new( - pool.clone(), - )))); + // data.push(Arc::new(Mutex::new(MarketsRegisteredPerDay::new( + // pool.clone(), + // )))); data.push(Arc::new(Mutex::new(UserHistory::new(pool.clone())))); diff --git a/src/rust/dbv2/migrations/2023-10-03-070930_add_order_order/down.sql b/src/rust/dbv2/migrations/2023-10-03-070930_add_order_order/down.sql new file mode 100644 index 000000000..9e30bbe8d --- /dev/null +++ b/src/rust/dbv2/migrations/2023-10-03-070930_add_order_order/down.sql @@ -0,0 +1,9 @@ +-- This file should undo anything in `up.sql` +DROP VIEW api.limit_orders; + +ALTER TABLE aggregator.user_history_limit DROP COLUMN prev; + +CREATE VIEW api.limit_orders AS + SELECT * FROM aggregator.user_history_limit NATURAL JOIN aggregator.user_history; + +DROP FUNCTION linked_list_last; diff --git a/src/rust/dbv2/migrations/2023-10-03-070930_add_order_order/up.sql b/src/rust/dbv2/migrations/2023-10-03-070930_add_order_order/up.sql new file mode 100644 index 000000000..e248af6e4 --- /dev/null +++ b/src/rust/dbv2/migrations/2023-10-03-070930_add_order_order/up.sql @@ -0,0 +1,25 @@ +-- Your SQL goes here +DROP VIEW api.limit_orders; + +ALTER TABLE aggregator.user_history_limit ADD COLUMN prev NUMERIC; + +CREATE VIEW api.limit_orders AS + SELECT * FROM aggregator.user_history_limit NATURAL JOIN aggregator.user_history; + +GRANT SELECT ON api.limit_orders TO web_anon; + +CREATE FUNCTION linked_list_last(NUMERIC(20), NUMERIC(20)) RETURNS NUMERIC AS $$ +DECLARE last_order_id NUMERIC; + BEGIN + SELECT order_id INTO last_order_id + FROM aggregator.user_history_limit AS a + WHERE market_id = $1 + AND price = $2 + AND EXISTS (SELECT * FROM aggregator.user_history AS b WHERE a.market_id = b.market_id AND a.order_id = b.order_id AND order_status = 'open') + AND NOT EXISTS (SELECT * FROM aggregator.user_history_limit AS b WHERE b.market_id = $1 AND b.price = $2 AND b.prev = a.order_id); + IF COUNT(last_order_id) = 0 THEN + RETURN NULL; + END IF; + RETURN last_order_id; + END; +$$ LANGUAGE plpgsql; diff --git a/src/rust/dbv2/migrations/2023-10-03-071834_fix_price_field/down.sql b/src/rust/dbv2/migrations/2023-10-03-071834_fix_price_field/down.sql index 30f387bcd..58e4bf166 100644 --- a/src/rust/dbv2/migrations/2023-10-03-071834_fix_price_field/down.sql +++ b/src/rust/dbv2/migrations/2023-10-03-071834_fix_price_field/down.sql @@ -1,2 +1,7 @@ -- This file should undo anything in `up.sql` +DROP VIEW api.limit_orders; + ALTER TABLE aggregator.user_history_limit DROP COLUMN price; + +CREATE VIEW api.limit_orders AS + SELECT * FROM aggregator.user_history_limit NATURAL JOIN aggregator.user_history; diff --git a/src/rust/dbv2/migrations/2023-10-03-071834_fix_price_field/up.sql b/src/rust/dbv2/migrations/2023-10-03-071834_fix_price_field/up.sql index 79a6f2c5a..784834ae5 100644 --- a/src/rust/dbv2/migrations/2023-10-03-071834_fix_price_field/up.sql +++ b/src/rust/dbv2/migrations/2023-10-03-071834_fix_price_field/up.sql @@ -1,2 +1,9 @@ -- Your SQL goes here +DROP VIEW api.limit_orders; + ALTER TABLE aggregator.user_history_limit ADD COLUMN price NUMERIC(20) NOT NULL; + +CREATE VIEW api.limit_orders AS + SELECT * FROM aggregator.user_history_limit NATURAL JOIN aggregator.user_history; + +GRANT SELECT ON api.limit_orders TO web_anon; diff --git a/src/rust/e2e/Cargo.toml b/src/rust/e2e/Cargo.toml index b83a7269e..9bb9f0d83 100644 --- a/src/rust/e2e/Cargo.toml +++ b/src/rust/e2e/Cargo.toml @@ -9,7 +9,7 @@ edition = "2021" econia-sdk = { path = "../sdk" } e2e-proc-macro = { path = "./e2e-proc-macro" } metadata = { path = "./metadata" } -aptos-sdk = { git = "https://github.com/aptos-labs/aptos-core", branch = "main" } +aptos-sdk.workspace = true anyhow.workspace = true clap.workspace = true diff --git a/src/rust/sdk/Cargo.lock b/src/rust/sdk/Cargo.lock deleted file mode 100644 index 4fae17102..000000000 --- a/src/rust/sdk/Cargo.lock +++ /dev/null @@ -1,6399 +0,0 @@ -# This file is automatically @generated by Cargo. -# It is not intended for manual editing. -version = 3 - -[[package]] -name = "Inflector" -version = "0.11.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fe438c63458706e03479442743baae6c88256498e6431708f6dfc520a26515d3" - -[[package]] -name = "addr2line" -version = "0.19.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a76fd60b23679b7d19bd066031410fb7e458ccc5e958eb5c325888ce4baedc97" -dependencies = [ - "gimli", -] - -[[package]] -name = "adler" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" - -[[package]] -name = "aead" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d122413f284cf2d62fb1b7db97e02edb8cda96d769b16e443a4f6195e35662b0" -dependencies = [ - "crypto-common", - "generic-array", -] - -[[package]] -name = "aes" -version = "0.8.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "433cfd6710c9986c576a25ca913c39d66a6474107b406f34f91d4a8923395241" -dependencies = [ - "cfg-if", - "cipher", - "cpufeatures", -] - -[[package]] -name = "aes-gcm" -version = "0.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "82e1366e0c69c9f927b1fa5ce2c7bf9eafc8f9268c0b9800729e8b267612447c" -dependencies = [ - "aead", - "aes", - "cipher", - "ctr", - "ghash", - "subtle", -] - -[[package]] -name = "ahash" -version = "0.7.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fcb51a0695d8f838b1ee009b3fbf66bda078cd64590202a864a8f3e8c4315c47" -dependencies = [ - "getrandom 0.2.9", - "once_cell", - "version_check", -] - -[[package]] -name = "ahash" -version = "0.8.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c99f64d1e06488f620f932677e24bc6e2897582980441ae90a671415bd7ec2f" -dependencies = [ - "cfg-if", - "once_cell", - "version_check", -] - -[[package]] -name = "aho-corasick" -version = "0.7.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cc936419f96fa211c1b9166887b38e5e40b19958e5b895be7c1f93adec7071ac" -dependencies = [ - "memchr", -] - -[[package]] -name = "android-tzdata" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e999941b234f3131b00bc13c22d06e8c5ff726d1b6318ac7eb276997bbb4fef0" - -[[package]] -name = "android_system_properties" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311" -dependencies = [ - "libc", -] - -[[package]] -name = "ansi_term" -version = "0.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d52a9bb7ec0cf484c551830a7ce27bd20d67eac647e1befb56b0be4ee39a55d2" -dependencies = [ - "winapi 0.3.9", -] - -[[package]] -name = "anyhow" -version = "1.0.70" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7de8ce5e0f9f8d88245311066a578d72b7af3e7088f32783804676302df237e4" - -[[package]] -name = "aptos-aggregator" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "aptos-crypto", - "aptos-state-view", - "aptos-types", - "bcs 0.1.4", - "better_any", - "move-binary-format", - "move-core-types", - "move-table-extension", - "once_cell", - "smallvec", -] - -[[package]] -name = "aptos-api-types" -version = "0.0.1" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "aptos-config", - "aptos-crypto", - "aptos-framework", - "aptos-logger", - "aptos-openapi", - "aptos-storage-interface", - "aptos-types", - "aptos-vm", - "async-trait", - "bcs 0.1.4", - "hex", - "indoc", - "move-binary-format", - "move-core-types", - "move-resource-viewer", - "poem", - "poem-openapi", - "serde 1.0.177", - "serde_json", -] - -[[package]] -name = "aptos-bitvec" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "serde 1.0.177", - "serde_bytes", -] - -[[package]] -name = "aptos-block-executor" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "aptos-aggregator", - "aptos-infallible", - "aptos-logger", - "aptos-metrics-core", - "aptos-mvhashmap", - "aptos-state-view", - "aptos-types", - "aptos-vm-logging", - "arc-swap", - "bcs 0.1.4", - "crossbeam", - "crossbeam-queue", - "dashmap", - "move-binary-format", - "num_cpus", - "once_cell", - "parking_lot 0.12.1", - "rayon", -] - -[[package]] -name = "aptos-cached-packages" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "aptos-framework", - "aptos-types", - "bcs 0.1.4", - "include_dir 0.7.3", - "move-core-types", - "once_cell", -] - -[[package]] -name = "aptos-config" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "aptos-crypto", - "aptos-crypto-derive", - "aptos-global-constants", - "aptos-logger", - "aptos-secure-storage", - "aptos-short-hex-str", - "aptos-temppath", - "aptos-types", - "bcs 0.1.4", - "byteorder", - "get_if_addrs", - "mirai-annotations", - "poem-openapi", - "rand 0.7.3", - "serde 1.0.177", - "serde_yaml 0.8.26", - "thiserror", - "url", -] - -[[package]] -name = "aptos-crypto" -version = "0.0.3" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "aptos-crypto-derive", - "ark-ec", - "ark-ff", - "ark-std", - "bcs 0.1.4", - "blst", - "bytes", - "curve25519-dalek", - "digest 0.9.0", - "ed25519-dalek", - "hex", - "hkdf 0.10.0", - "libsecp256k1", - "more-asserts", - "once_cell", - "proptest", - "proptest-derive", - "rand 0.7.3", - "rand_core 0.5.1", - "ring", - "serde 1.0.177", - "serde-name", - "serde_bytes", - "sha2 0.10.6", - "sha2 0.9.9", - "static_assertions", - "thiserror", - "tiny-keccak", - "x25519-dalek", -] - -[[package]] -name = "aptos-crypto-derive" -version = "0.0.3" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "proc-macro2 1.0.66", - "quote 1.0.32", - "syn 1.0.109", -] - -[[package]] -name = "aptos-framework" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "aptos-aggregator", - "aptos-crypto", - "aptos-gas-algebra-ext", - "aptos-move-stdlib", - "aptos-sdk-builder", - "aptos-state-view", - "aptos-types", - "ark-bls12-381", - "ark-ec", - "ark-ff", - "ark-serialize", - "ark-std", - "base64 0.13.1", - "bcs 0.1.4", - "better_any", - "blake2-rfc", - "blst", - "clap 3.2.23", - "codespan-reporting", - "curve25519-dalek", - "flate2", - "hex", - "include_dir 0.7.3", - "itertools", - "libsecp256k1", - "log", - "move-binary-format", - "move-command-line-common", - "move-compiler", - "move-core-types", - "move-docgen", - "move-model", - "move-package", - "move-prover", - "move-prover-boogie-backend", - "move-stackless-bytecode", - "move-table-extension", - "move-vm-runtime", - "move-vm-types", - "num-traits 0.2.15", - "once_cell", - "rand 0.7.3", - "rand_core 0.5.1", - "rayon", - "ripemd", - "serde 1.0.177", - "serde_bytes", - "serde_json", - "serde_yaml 0.8.26", - "sha2 0.10.6", - "sha2 0.9.9", - "sha3", - "siphasher", - "smallvec", - "tempfile", - "thiserror", - "tiny-keccak", -] - -[[package]] -name = "aptos-gas" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "aptos-framework", - "aptos-gas-algebra-ext", - "aptos-global-constants", - "aptos-logger", - "aptos-move-stdlib", - "aptos-package-builder", - "aptos-types", - "bcs 0.1.4", - "clap 3.2.23", - "move-binary-format", - "move-core-types", - "move-model", - "move-table-extension", - "move-vm-types", -] - -[[package]] -name = "aptos-gas-algebra-ext" -version = "0.0.1" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "move-core-types", -] - -[[package]] -name = "aptos-github-client" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "aptos-proxy", - "serde 1.0.177", - "serde_json", - "thiserror", - "ureq", -] - -[[package]] -name = "aptos-global-constants" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" - -[[package]] -name = "aptos-infallible" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" - -[[package]] -name = "aptos-log-derive" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "proc-macro2 1.0.66", - "quote 1.0.32", - "syn 1.0.109", -] - -[[package]] -name = "aptos-logger" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "aptos-infallible", - "aptos-log-derive", - "aptos-node-identity", - "backtrace", - "chrono", - "erased-serde", - "futures", - "hostname", - "once_cell", - "prometheus", - "serde 1.0.177", - "serde_json", - "strum", - "strum_macros", - "tokio", - "tracing", - "tracing-subscriber", -] - -[[package]] -name = "aptos-metrics-core" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "prometheus", -] - -[[package]] -name = "aptos-move-stdlib" -version = "0.1.1" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "hex", - "log", - "move-binary-format", - "move-command-line-common", - "move-compiler", - "move-core-types", - "move-docgen", - "move-errmapgen", - "move-prover", - "move-vm-runtime", - "move-vm-types", - "sha2 0.9.9", - "sha3", - "smallvec", - "walkdir", -] - -[[package]] -name = "aptos-mvhashmap" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "aptos-aggregator", - "aptos-crypto", - "aptos-infallible", - "aptos-types", - "bcs 0.1.4", - "crossbeam", - "dashmap", -] - -[[package]] -name = "aptos-node-identity" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "aptos-types", - "claims", - "hostname", - "once_cell", -] - -[[package]] -name = "aptos-openapi" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "async-trait", - "percent-encoding", - "poem", - "poem-openapi", - "serde 1.0.177", - "serde_json", -] - -[[package]] -name = "aptos-package-builder" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "aptos-framework", - "itertools", - "move-command-line-common", - "move-package", - "tempfile", -] - -[[package]] -name = "aptos-proxy" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "ipnet", -] - -[[package]] -name = "aptos-rest-client" -version = "0.0.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "aptos-api-types", - "aptos-crypto", - "aptos-infallible", - "aptos-logger", - "aptos-types", - "bcs 0.1.4", - "bytes", - "futures", - "hex", - "move-binary-format", - "move-core-types", - "poem-openapi", - "reqwest", - "serde 1.0.177", - "serde_json", - "thiserror", - "tokio", - "url", -] - -[[package]] -name = "aptos-schemadb" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "aptos-infallible", - "aptos-logger", - "aptos-metrics-core", - "once_cell", - "rocksdb", -] - -[[package]] -name = "aptos-scratchpad" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "aptos-crypto", - "aptos-infallible", - "aptos-metrics-core", - "aptos-types", - "bitvec 0.19.6", - "itertools", - "once_cell", - "rayon", - "thiserror", -] - -[[package]] -name = "aptos-sdk" -version = "0.0.3" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "aptos-cached-packages", - "aptos-crypto", - "aptos-global-constants", - "aptos-rest-client", - "aptos-types", - "bcs 0.1.4", - "ed25519-dalek-bip32", - "move-core-types", - "rand_core 0.5.1", - "serde 1.0.177", - "tiny-bip39", -] - -[[package]] -name = "aptos-sdk-builder" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "aptos-types", - "bcs 0.1.4", - "heck 0.3.3", - "move-core-types", - "once_cell", - "regex", - "serde-generate", - "serde-reflection 0.3.5", - "serde_yaml 0.8.26", - "structopt", - "textwrap 0.15.2", -] - -[[package]] -name = "aptos-secure-net" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "aptos-logger", - "aptos-metrics-core", - "once_cell", - "serde 1.0.177", - "thiserror", -] - -[[package]] -name = "aptos-secure-storage" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "aptos-crypto", - "aptos-github-client", - "aptos-infallible", - "aptos-logger", - "aptos-schemadb", - "aptos-temppath", - "aptos-time-service", - "aptos-vault-client", - "base64 0.13.1", - "bcs 0.1.4", - "chrono", - "enum_dispatch", - "rand 0.7.3", - "serde 1.0.177", - "serde_json", - "thiserror", -] - -[[package]] -name = "aptos-short-hex-str" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "mirai-annotations", - "serde 1.0.177", - "static_assertions", - "thiserror", -] - -[[package]] -name = "aptos-speculative-state-helper" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "aptos-infallible", - "crossbeam", - "once_cell", - "rayon", -] - -[[package]] -name = "aptos-state-view" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "aptos-crypto", - "aptos-types", - "bcs 0.1.4", - "serde 1.0.177", - "serde_bytes", - "serde_json", -] - -[[package]] -name = "aptos-storage-interface" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "aptos-crypto", - "aptos-logger", - "aptos-metrics-core", - "aptos-scratchpad", - "aptos-secure-net", - "aptos-state-view", - "aptos-types", - "aptos-vm", - "bcs 0.1.4", - "crossbeam-channel", - "dashmap", - "move-core-types", - "once_cell", - "parking_lot 0.12.1", - "rayon", - "serde 1.0.177", - "thiserror", -] - -[[package]] -name = "aptos-temppath" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "hex", - "rand 0.7.3", -] - -[[package]] -name = "aptos-time-service" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "aptos-infallible", - "enum_dispatch", - "futures", - "pin-project", - "thiserror", - "tokio", -] - -[[package]] -name = "aptos-types" -version = "0.0.3" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "aptos-bitvec", - "aptos-crypto", - "aptos-crypto-derive", - "bcs 0.1.4", - "chrono", - "derivative", - "hex", - "itertools", - "move-core-types", - "move-table-extension", - "num-derive", - "num-traits 0.2.15", - "once_cell", - "proptest", - "proptest-derive", - "rand 0.7.3", - "serde 1.0.177", - "serde_bytes", - "serde_json", - "serde_yaml 0.8.26", - "thiserror", - "tiny-keccak", -] - -[[package]] -name = "aptos-vault-client" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "aptos-crypto", - "base64 0.13.1", - "chrono", - "native-tls", - "once_cell", - "serde 1.0.177", - "serde_json", - "thiserror", - "ureq", -] - -[[package]] -name = "aptos-vm" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "aptos-aggregator", - "aptos-block-executor", - "aptos-crypto", - "aptos-crypto-derive", - "aptos-framework", - "aptos-gas", - "aptos-logger", - "aptos-metrics-core", - "aptos-move-stdlib", - "aptos-mvhashmap", - "aptos-state-view", - "aptos-types", - "aptos-vm-logging", - "bcs 0.1.4", - "dashmap", - "fail 0.5.1", - "move-binary-format", - "move-bytecode-utils", - "move-bytecode-verifier", - "move-core-types", - "move-table-extension", - "move-vm-runtime", - "move-vm-test-utils", - "move-vm-types", - "num_cpus", - "once_cell", - "rayon", - "read-write-set-dynamic", - "serde 1.0.177", - "serde_json", - "smallvec", - "tracing", -] - -[[package]] -name = "aptos-vm-logging" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "aptos-crypto", - "aptos-logger", - "aptos-metrics-core", - "aptos-speculative-state-helper", - "aptos-state-view", - "aptos-types", - "arc-swap", - "once_cell", - "serde 1.0.177", -] - -[[package]] -name = "arbitrary" -version = "1.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2d098ff73c1ca148721f37baad5ea6a465a13f9573aba8641fbbbae8164a54e" -dependencies = [ - "derive_arbitrary", -] - -[[package]] -name = "arc-swap" -version = "1.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bddcadddf5e9015d310179a59bb28c4d4b9920ad0f11e8e14dbadf654890c9a6" - -[[package]] -name = "ark-bls12-381" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c775f0d12169cba7aae4caeb547bb6a50781c7449a8aa53793827c9ec4abf488" -dependencies = [ - "ark-ec", - "ark-ff", - "ark-serialize", - "ark-std", -] - -[[package]] -name = "ark-ec" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "defd9a439d56ac24968cca0571f598a61bc8c55f71d50a89cda591cb750670ba" -dependencies = [ - "ark-ff", - "ark-poly", - "ark-serialize", - "ark-std", - "derivative", - "hashbrown 0.13.2", - "itertools", - "num-traits 0.2.15", - "zeroize", -] - -[[package]] -name = "ark-ff" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec847af850f44ad29048935519032c33da8aa03340876d351dfab5660d2966ba" -dependencies = [ - "ark-ff-asm", - "ark-ff-macros", - "ark-serialize", - "ark-std", - "derivative", - "digest 0.10.6", - "itertools", - "num-bigint", - "num-traits 0.2.15", - "paste", - "rustc_version", - "zeroize", -] - -[[package]] -name = "ark-ff-asm" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ed4aa4fe255d0bc6d79373f7e31d2ea147bcf486cba1be5ba7ea85abdb92348" -dependencies = [ - "quote 1.0.32", - "syn 1.0.109", -] - -[[package]] -name = "ark-ff-macros" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7abe79b0e4288889c4574159ab790824d0033b9fdcb2a112a3182fac2e514565" -dependencies = [ - "num-bigint", - "num-traits 0.2.15", - "proc-macro2 1.0.66", - "quote 1.0.32", - "syn 1.0.109", -] - -[[package]] -name = "ark-poly" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d320bfc44ee185d899ccbadfa8bc31aab923ce1558716e1997a1e74057fe86bf" -dependencies = [ - "ark-ff", - "ark-serialize", - "ark-std", - "derivative", - "hashbrown 0.13.2", -] - -[[package]] -name = "ark-serialize" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "adb7b85a02b83d2f22f89bd5cac66c9c89474240cb6207cb1efc16d098e822a5" -dependencies = [ - "ark-serialize-derive", - "ark-std", - "digest 0.10.6", - "num-bigint", -] - -[[package]] -name = "ark-serialize-derive" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae3281bc6d0fd7e549af32b52511e1302185bd688fd3359fa36423346ff682ea" -dependencies = [ - "proc-macro2 1.0.66", - "quote 1.0.32", - "syn 1.0.109", -] - -[[package]] -name = "ark-std" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94893f1e0c6eeab764ade8dc4c0db24caf4fe7cbbaafc0eba0a9030f447b5185" -dependencies = [ - "num-traits 0.2.15", - "rand 0.8.5", -] - -[[package]] -name = "arrayref" -version = "0.3.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b4930d2cb77ce62f89ee5d5289b4ac049559b1c45539271f5ed4fdc7db34545" - -[[package]] -name = "arrayvec" -version = "0.4.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd9fd44efafa8690358b7408d253adf110036b88f55672a933f01d616ad9b1b9" -dependencies = [ - "nodrop", -] - -[[package]] -name = "arrayvec" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23b62fc65de8e4e7f52534fb52b0f3ed04746ae267519eef2a83941e8085068b" - -[[package]] -name = "arrayvec" -version = "0.7.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8da52d66c7071e2e3fa2a1e5c6d088fec47b593032b254f5e980de8ea54454d6" - -[[package]] -name = "async-trait" -version = "0.1.68" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9ccdd8f2a161be9bd5c023df56f1b2a0bd1d83872ae53b71a84a12c9bf6e842" -dependencies = [ - "proc-macro2 1.0.66", - "quote 1.0.32", - "syn 2.0.27", -] - -[[package]] -name = "atty" -version = "0.2.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8" -dependencies = [ - "hermit-abi 0.1.19", - "libc", - "winapi 0.3.9", -] - -[[package]] -name = "autocfg" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" - -[[package]] -name = "backtrace" -version = "0.3.67" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "233d376d6d185f2a3093e58f283f60f880315b6c60075b01f36b3b85154564ca" -dependencies = [ - "addr2line", - "cc", - "cfg-if", - "libc", - "miniz_oxide", - "object", - "rustc-demangle", -] - -[[package]] -name = "base64" -version = "0.13.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8" - -[[package]] -name = "base64" -version = "0.20.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ea22880d78093b0cbe17c89f64a7d457941e65759157ec6cb31a31d652b05e5" - -[[package]] -name = "base64" -version = "0.21.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4a4ddaa51a5bc52a6948f74c06d20aaaddb71924eab79b8c97a8c556e942d6a" - -[[package]] -name = "bcs" -version = "0.1.4" -source = "git+https://github.com/aptos-labs/bcs.git?rev=d31fab9d81748e2594be5cd5cdf845786a30562d#d31fab9d81748e2594be5cd5cdf845786a30562d" -dependencies = [ - "serde 1.0.177", - "thiserror", -] - -[[package]] -name = "bcs" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4bd3ffe8b19a604421a5d461d4a70346223e535903fbc3067138bddbebddcf77" -dependencies = [ - "serde 1.0.177", - "thiserror", -] - -[[package]] -name = "better_any" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b359aebd937c17c725e19efcb661200883f04c49c53e7132224dac26da39d4a0" -dependencies = [ - "better_typeid_derive", -] - -[[package]] -name = "better_typeid_derive" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3deeecb812ca5300b7d3f66f730cc2ebd3511c3d36c691dd79c165d5b19a26e3" -dependencies = [ - "proc-macro2 1.0.66", - "quote 1.0.32", - "syn 1.0.109", -] - -[[package]] -name = "bincode" -version = "1.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1f45e9417d87227c7a56d22e471c6206462cba514c7590c09aff4cf6d1ddcad" -dependencies = [ - "serde 1.0.177", -] - -[[package]] -name = "bindgen" -version = "0.64.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4243e6031260db77ede97ad86c27e501d646a27ab57b59a574f725d98ab1fb4" -dependencies = [ - "bitflags", - "cexpr", - "clang-sys", - "lazy_static 1.4.0", - "lazycell", - "peeking_take_while", - "proc-macro2 1.0.66", - "quote 1.0.32", - "regex", - "rustc-hash", - "shlex", - "syn 1.0.109", -] - -[[package]] -name = "bit-set" -version = "0.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0700ddab506f33b20a03b13996eccd309a48e5ff77d0d95926aa0210fb4e95f1" -dependencies = [ - "bit-vec", -] - -[[package]] -name = "bit-vec" -version = "0.6.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "349f9b6a179ed607305526ca489b34ad0a41aed5f7980fa90eb03160b69598fb" - -[[package]] -name = "bitflags" -version = "1.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" - -[[package]] -name = "bitmaps" -version = "2.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "031043d04099746d8db04daf1fa424b2bc8bd69d92b25962dcde24da39ab64a2" -dependencies = [ - "typenum", -] - -[[package]] -name = "bitvec" -version = "0.19.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "55f93d0ef3363c364d5976646a38f04cf67cfe1d4c8d160cdea02cab2c116b33" -dependencies = [ - "funty", - "radium 0.5.3", - "tap", - "wyz", -] - -[[package]] -name = "bitvec" -version = "0.20.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7774144344a4faa177370406a7ff5f1da24303817368584c6206c8303eb07848" -dependencies = [ - "funty", - "radium 0.6.2", - "tap", - "wyz", -] - -[[package]] -name = "blake2-rfc" -version = "0.2.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d6d530bdd2d52966a6d03b7a964add7ae1a288d25214066fd4b600f0f796400" -dependencies = [ - "arrayvec 0.4.12", - "constant_time_eq", -] - -[[package]] -name = "block-buffer" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4152116fd6e9dadb291ae18fc1ec3575ed6d84c29642d97890f4b4a3417297e4" -dependencies = [ - "block-padding", - "generic-array", -] - -[[package]] -name = "block-buffer" -version = "0.10.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" -dependencies = [ - "generic-array", -] - -[[package]] -name = "block-padding" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d696c370c750c948ada61c69a0ee2cbbb9c50b1019ddb86d9317157a99c2cae" - -[[package]] -name = "blst" -version = "0.3.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a30d0edd9dd1c60ddb42b80341c7852f6f985279a5c1a83659dcb65899dec99" -dependencies = [ - "cc", - "glob", - "threadpool", - "which", - "zeroize", -] - -[[package]] -name = "bstr" -version = "1.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3d4260bcc2e8fc9df1eac4919a720effeb63a3f0952f5bf4944adfa18897f09" -dependencies = [ - "memchr", - "serde 1.0.177", -] - -[[package]] -name = "bumpalo" -version = "3.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d261e256854913907f67ed06efbc3338dfe6179796deefc1ff763fc1aee5535" - -[[package]] -name = "byte-slice-cast" -version = "1.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3ac9f8b63eca6fd385229b3675f6cc0dc5c8a5c8a54a59d4f52ffd670d87b0c" - -[[package]] -name = "byteorder" -version = "1.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610" - -[[package]] -name = "bytes" -version = "1.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "89b2fd2a0dcf38d7971e2194b6b6eebab45ae01067456a7fd93d5547a61b70be" - -[[package]] -name = "bzip2-sys" -version = "0.1.11+1.0.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "736a955f3fa7875102d57c82b8cac37ec45224a07fd32d58f9f7a186b6cd4cdc" -dependencies = [ - "cc", - "libc", - "pkg-config", -] - -[[package]] -name = "c_linked_list" -version = "1.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4964518bd3b4a8190e832886cdc0da9794f12e8e6c1613a9e90ff331c4c8724b" - -[[package]] -name = "cc" -version = "1.0.79" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50d30906286121d95be3d479533b458f87493b30a4b5f79a607db8f5d11aa91f" -dependencies = [ - "jobserver", -] - -[[package]] -name = "cexpr" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6fac387a98bb7c37292057cffc56d62ecb629900026402633ae9160df93a8766" -dependencies = [ - "nom 7.1.3", -] - -[[package]] -name = "cfg-if" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" - -[[package]] -name = "chrono" -version = "0.4.26" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec837a71355b28f6556dbd569b37b3f363091c0bd4b2e735674521b4c5fd9bc5" -dependencies = [ - "android-tzdata", - "iana-time-zone", - "js-sys", - "num-traits 0.2.15", - "serde 1.0.177", - "time 0.1.45", - "wasm-bindgen", - "winapi 0.3.9", -] - -[[package]] -name = "chrono-tz" -version = "0.6.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29c39203181991a7dd4343b8005bd804e7a9a37afb8ac070e43771e8c820bbde" -dependencies = [ - "chrono", - "chrono-tz-build", - "phf", -] - -[[package]] -name = "chrono-tz-build" -version = "0.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f509c3a87b33437b05e2458750a0700e5bdd6956176773e6c7d6dd15a283a0c" -dependencies = [ - "parse-zoneinfo", - "phf", - "phf_codegen", -] - -[[package]] -name = "chunked_transfer" -version = "1.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cca491388666e04d7248af3f60f0c40cfb0991c72205595d7c396e3510207d1a" - -[[package]] -name = "cipher" -version = "0.4.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "773f3b9af64447d2ce9850330c473515014aa235e6a783b02db81ff39e4a3dad" -dependencies = [ - "crypto-common", - "inout", -] - -[[package]] -name = "claims" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6995bbe186456c36307f8ea36be3eefe42f49d106896414e18efc4fb2f846b5" -dependencies = [ - "autocfg", -] - -[[package]] -name = "clang-sys" -version = "1.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c688fc74432808e3eb684cae8830a86be1d66a2bd58e1f248ed0960a590baf6f" -dependencies = [ - "glob", - "libc", - "libloading", -] - -[[package]] -name = "clap" -version = "2.34.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a0610544180c38b88101fecf2dd634b174a62eef6946f84dfc6a7127512b381c" -dependencies = [ - "ansi_term", - "atty", - "bitflags", - "strsim 0.8.0", - "textwrap 0.11.0", - "unicode-width", - "vec_map", -] - -[[package]] -name = "clap" -version = "3.2.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "71655c45cb9845d3270c9d6df84ebe72b4dad3c2ba3f7023ad47c144e4e473a5" -dependencies = [ - "atty", - "bitflags", - "clap_derive", - "clap_lex", - "indexmap", - "once_cell", - "strsim 0.10.0", - "termcolor", - "textwrap 0.16.0", -] - -[[package]] -name = "clap_derive" -version = "3.2.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea0c8bce528c4be4da13ea6fead8965e95b6073585a2f05204bd8f4119f82a65" -dependencies = [ - "heck 0.4.1", - "proc-macro-error", - "proc-macro2 1.0.66", - "quote 1.0.32", - "syn 1.0.109", -] - -[[package]] -name = "clap_lex" -version = "0.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2850f2f5a82cbf437dd5af4d49848fbdfc27c157c3d010345776f952765261c5" -dependencies = [ - "os_str_bytes", -] - -[[package]] -name = "codespan" -version = "0.11.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3362992a0d9f1dd7c3d0e89e0ab2bb540b7a95fea8cd798090e758fda2899b5e" -dependencies = [ - "codespan-reporting", - "serde 1.0.177", -] - -[[package]] -name = "codespan-reporting" -version = "0.11.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3538270d33cc669650c4b093848450d380def10c331d38c768e34cac80576e6e" -dependencies = [ - "serde 1.0.177", - "termcolor", - "unicode-width", -] - -[[package]] -name = "colored" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b3616f750b84d8f0de8a58bda93e08e2a81ad3f523089b05f1dffecab48c6cbd" -dependencies = [ - "atty", - "lazy_static 1.4.0", - "winapi 0.3.9", -] - -[[package]] -name = "config" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b1b9d958c2b1368a663f05538fc1b5975adce1e19f435acceae987aceeeb369" -dependencies = [ - "lazy_static 1.4.0", - "nom 5.1.2", - "rust-ini", - "serde 1.0.177", - "serde-hjson", - "serde_json", - "toml", - "yaml-rust", -] - -[[package]] -name = "constant_time_eq" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "245097e9a4535ee1e3e3931fcfcd55a796a44c643e8596ff6566d68f09b87bbc" - -[[package]] -name = "convert_case" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6245d59a3e82a7fc217c5828a6692dbc6dfb63a0c8c90495621f7b9d79704a0e" - -[[package]] -name = "cookie" -version = "0.16.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e859cd57d0710d9e06c381b550c06e76992472a8c6d527aecd2fc673dcc231fb" -dependencies = [ - "aes-gcm", - "base64 0.20.0", - "hkdf 0.12.3", - "hmac 0.12.1", - "percent-encoding", - "rand 0.8.5", - "sha2 0.10.6", - "subtle", - "time 0.3.20", - "version_check", -] - -[[package]] -name = "cookie_store" -version = "0.16.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e4b6aa369f41f5faa04bb80c9b1f4216ea81646ed6124d76ba5c49a7aafd9cd" -dependencies = [ - "cookie", - "idna 0.2.3", - "log", - "publicsuffix", - "serde 1.0.177", - "serde_json", - "time 0.3.20", - "url", -] - -[[package]] -name = "core-foundation" -version = "0.9.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "194a7a9e6de53fa55116934067c844d9d749312f75c6f6d0980e8c252f8c2146" -dependencies = [ - "core-foundation-sys", - "libc", -] - -[[package]] -name = "core-foundation-sys" -version = "0.8.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e496a50fda8aacccc86d7529e2c1e0892dbd0f898a6b5645b5561b89c3210efa" - -[[package]] -name = "cpufeatures" -version = "0.2.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "280a9f2d8b3a38871a3c8a46fb80db65e5e5ed97da80c4d08bf27fb63e35e181" -dependencies = [ - "libc", -] - -[[package]] -name = "crc32fast" -version = "1.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b540bd8bc810d3885c6ea91e2018302f68baba2129ab3e88f32389ee9370880d" -dependencies = [ - "cfg-if", -] - -[[package]] -name = "crossbeam" -version = "0.8.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2801af0d36612ae591caa9568261fddce32ce6e08a7275ea334a06a4ad021a2c" -dependencies = [ - "cfg-if", - "crossbeam-channel", - "crossbeam-deque", - "crossbeam-epoch", - "crossbeam-queue", - "crossbeam-utils", -] - -[[package]] -name = "crossbeam-channel" -version = "0.5.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a33c2bf77f2df06183c3aa30d1e96c0695a313d4f9c453cc3762a6db39f99200" -dependencies = [ - "cfg-if", - "crossbeam-utils", -] - -[[package]] -name = "crossbeam-deque" -version = "0.8.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce6fd6f855243022dcecf8702fef0c297d4338e226845fe067f6341ad9fa0cef" -dependencies = [ - "cfg-if", - "crossbeam-epoch", - "crossbeam-utils", -] - -[[package]] -name = "crossbeam-epoch" -version = "0.9.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "46bd5f3f85273295a9d14aedfb86f6aadbff6d8f5295c4a9edb08e819dcf5695" -dependencies = [ - "autocfg", - "cfg-if", - "crossbeam-utils", - "memoffset", - "scopeguard", -] - -[[package]] -name = "crossbeam-queue" -version = "0.3.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d1cfb3ea8a53f37c40dea2c7bedcbd88bdfae54f5e2175d6ecaff1c988353add" -dependencies = [ - "cfg-if", - "crossbeam-utils", -] - -[[package]] -name = "crossbeam-utils" -version = "0.8.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c063cd8cc95f5c377ed0d4b49a4b21f632396ff690e8470c29b3359b346984b" -dependencies = [ - "cfg-if", -] - -[[package]] -name = "crunchy" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7" - -[[package]] -name = "crypto-common" -version = "0.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" -dependencies = [ - "generic-array", - "rand_core 0.6.4", - "typenum", -] - -[[package]] -name = "crypto-mac" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b584a330336237c1eecd3e94266efb216c56ed91225d634cb2991c5f3fd1aeab" -dependencies = [ - "generic-array", - "subtle", -] - -[[package]] -name = "crypto-mac" -version = "0.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bff07008ec701e8028e2ceb8f83f0e4274ee62bd2dbdc4fefff2e9a91824081a" -dependencies = [ - "generic-array", - "subtle", -] - -[[package]] -name = "ctr" -version = "0.9.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0369ee1ad671834580515889b80f2ea915f23b8be8d0daa4bbaf2ac5c7590835" -dependencies = [ - "cipher", -] - -[[package]] -name = "curve25519-dalek" -version = "3.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90f9d052967f590a76e62eb387bd0bbb1b000182c3cefe5364db6b7211651bc0" -dependencies = [ - "byteorder", - "digest 0.9.0", - "rand_core 0.5.1", - "subtle", - "zeroize", -] - -[[package]] -name = "cxx" -version = "1.0.94" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f61f1b6389c3fe1c316bf8a4dccc90a38208354b330925bce1f74a6c4756eb93" -dependencies = [ - "cc", - "cxxbridge-flags", - "cxxbridge-macro", - "link-cplusplus", -] - -[[package]] -name = "cxx-build" -version = "1.0.94" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "12cee708e8962df2aeb38f594aae5d827c022b6460ac71a7a3e2c3c2aae5a07b" -dependencies = [ - "cc", - "codespan-reporting", - "once_cell", - "proc-macro2 1.0.66", - "quote 1.0.32", - "scratch", - "syn 2.0.27", -] - -[[package]] -name = "cxxbridge-flags" -version = "1.0.94" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7944172ae7e4068c533afbb984114a56c46e9ccddda550499caa222902c7f7bb" - -[[package]] -name = "cxxbridge-macro" -version = "1.0.94" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2345488264226bf682893e25de0769f3360aac9957980ec49361b083ddaa5bc5" -dependencies = [ - "proc-macro2 1.0.66", - "quote 1.0.32", - "syn 2.0.27", -] - -[[package]] -name = "darling" -version = "0.14.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b750cb3417fd1b327431a470f388520309479ab0bf5e323505daf0290cd3850" -dependencies = [ - "darling_core", - "darling_macro", -] - -[[package]] -name = "darling_core" -version = "0.14.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "109c1ca6e6b7f82cc233a97004ea8ed7ca123a9af07a8230878fcfda9b158bf0" -dependencies = [ - "fnv", - "ident_case", - "proc-macro2 1.0.66", - "quote 1.0.32", - "strsim 0.10.0", - "syn 1.0.109", -] - -[[package]] -name = "darling_macro" -version = "0.14.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4aab4dbc9f7611d8b55048a3a16d2d010c2c8334e46304b40ac1cc14bf3b48e" -dependencies = [ - "darling_core", - "quote 1.0.32", - "syn 1.0.109", -] - -[[package]] -name = "dashmap" -version = "5.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "907076dfda823b0b36d2a1bb5f90c96660a5bbcd7729e10727f07858f22c4edc" -dependencies = [ - "cfg-if", - "hashbrown 0.12.3", - "lock_api", - "once_cell", - "parking_lot_core 0.9.7", -] - -[[package]] -name = "derivation-path" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e5c37193a1db1d8ed868c03ec7b152175f26160a5b740e5e484143877e0adf0" - -[[package]] -name = "derivative" -version = "2.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fcc3dd5e9e9c0b295d6e1e4d811fb6f157d5ffd784b8d202fc62eac8035a770b" -dependencies = [ - "proc-macro2 1.0.66", - "quote 1.0.32", - "syn 1.0.109", -] - -[[package]] -name = "derive_arbitrary" -version = "1.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3cdeb9ec472d588e539a818b2dee436825730da08ad0017c4b1a17676bdc8b7" -dependencies = [ - "proc-macro2 1.0.66", - "quote 1.0.32", - "syn 1.0.109", -] - -[[package]] -name = "derive_more" -version = "0.99.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4fb810d30a7c1953f91334de7244731fc3f3c10d7fe163338a35b9f640960321" -dependencies = [ - "convert_case", - "proc-macro2 1.0.66", - "quote 1.0.32", - "rustc_version", - "syn 1.0.109", -] - -[[package]] -name = "deunicode" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "850878694b7933ca4c9569d30a34b55031b9b139ee1fc7b94a527c4ef960d690" - -[[package]] -name = "difference" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "524cbf6897b527295dff137cec09ecf3a05f4fddffd7dfcd1585403449e74198" - -[[package]] -name = "digest" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3dd60d1080a57a05ab032377049e0591415d2b31afd7028356dbf3cc6dcb066" -dependencies = [ - "generic-array", -] - -[[package]] -name = "digest" -version = "0.10.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8168378f4e5023e7218c89c891c0fd8ecdb5e5e4f18cb78f38cf245dd021e76f" -dependencies = [ - "block-buffer 0.10.4", - "crypto-common", - "subtle", -] - -[[package]] -name = "directories" -version = "4.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f51c5d4ddabd36886dd3e1438cb358cdcb0d7c499cb99cb4ac2e38e18b5cb210" -dependencies = [ - "dirs-sys", -] - -[[package]] -name = "dirs-next" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b98cf8ebf19c3d1b223e151f99a4f9f0690dca41414773390fc824184ac833e1" -dependencies = [ - "cfg-if", - "dirs-sys-next", -] - -[[package]] -name = "dirs-sys" -version = "0.3.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b1d1d91c932ef41c0f2663aa8b0ca0342d444d842c06914aa0a7e352d0bada6" -dependencies = [ - "libc", - "redox_users", - "winapi 0.3.9", -] - -[[package]] -name = "dirs-sys-next" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ebda144c4fe02d1f7ea1a7d9641b6fc6b580adcfa024ae48797ecdeb6825b4d" -dependencies = [ - "libc", - "redox_users", - "winapi 0.3.9", -] - -[[package]] -name = "econia-sdk" -version = "1.0.0" -dependencies = [ - "aptos-api-types", - "aptos-sdk", - "futures", - "hex", - "reqwest", - "serde 1.0.177", - "serde_json", - "serde_yaml 0.9.21", - "thiserror", - "types", -] - -[[package]] -name = "ed25519" -version = "1.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91cff35c70bba8a626e3185d8cd48cc11b5437e1a5bcd15b9b5fa3c64b6dfee7" -dependencies = [ - "serde 1.0.177", - "signature", -] - -[[package]] -name = "ed25519-dalek" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c762bae6dcaf24c4c84667b8579785430908723d5c889f469d76a41d59cc7a9d" -dependencies = [ - "curve25519-dalek", - "ed25519", - "rand 0.7.3", - "serde 1.0.177", - "serde_bytes", - "sha2 0.9.9", - "zeroize", -] - -[[package]] -name = "ed25519-dalek-bip32" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d2be62a4061b872c8c0873ee4fc6f101ce7b889d039f019c5fa2af471a59908" -dependencies = [ - "derivation-path", - "ed25519-dalek", - "hmac 0.12.1", - "sha2 0.10.6", -] - -[[package]] -name = "either" -version = "1.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7fcaabb2fef8c910e7f4c7ce9f67a1283a1715879a7c230ca9d6d1ae31f16d91" - -[[package]] -name = "encoding_rs" -version = "0.8.32" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "071a31f4ee85403370b58aca746f01041ede6f0da2730960ad001edc2b71b394" -dependencies = [ - "cfg-if", -] - -[[package]] -name = "enum_dispatch" -version = "0.3.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "11f36e95862220b211a6e2aa5eca09b4fa391b13cd52ceb8035a24bf65a79de2" -dependencies = [ - "once_cell", - "proc-macro2 1.0.66", - "quote 1.0.32", - "syn 1.0.109", -] - -[[package]] -name = "erased-serde" -version = "0.3.25" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4f2b0c2380453a92ea8b6c8e5f64ecaafccddde8ceab55ff7a8ac1029f894569" -dependencies = [ - "serde 1.0.177", -] - -[[package]] -name = "errno" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4bcfec3a70f97c962c307b2d2c56e358cf1d00b558d74262b5f929ee8cc7e73a" -dependencies = [ - "errno-dragonfly", - "libc", - "windows-sys 0.48.0", -] - -[[package]] -name = "errno-dragonfly" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa68f1b12764fab894d2755d2518754e71b4fd80ecfb822714a1206c2aab39bf" -dependencies = [ - "cc", - "libc", -] - -[[package]] -name = "ethnum" -version = "1.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0198b9d0078e0f30dedc7acbb21c974e838fc8fae3ee170128658a98cb2c1c04" - -[[package]] -name = "fail" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3be3c61c59fdc91f5dbc3ea31ee8623122ce80057058be560654c5d410d181a6" -dependencies = [ - "lazy_static 1.4.0", - "log", - "rand 0.7.3", -] - -[[package]] -name = "fail" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fe5e43d0f78a42ad591453aedb1d7ae631ce7ee445c7643691055a9ed8d3b01c" -dependencies = [ - "log", - "once_cell", - "rand 0.8.5", -] - -[[package]] -name = "fastrand" -version = "1.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e51093e27b0797c359783294ca4f0a911c270184cb10f85783b118614a1501be" -dependencies = [ - "instant", -] - -[[package]] -name = "fixed-hash" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cfcf0ed7fe52a17a03854ec54a9f76d6d84508d1c0e66bc1793301c73fc8493c" -dependencies = [ - "byteorder", - "rand 0.8.5", - "rustc-hex", - "static_assertions", -] - -[[package]] -name = "fixedbitset" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "37ab347416e802de484e4d03c7316c48f1ecb56574dfd4a46a80f173ce1de04d" - -[[package]] -name = "fixedbitset" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80" - -[[package]] -name = "flate2" -version = "1.0.25" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8a2db397cb1c8772f31494cb8917e48cd1e64f0fa7efac59fbd741a0a8ce841" -dependencies = [ - "crc32fast", - "miniz_oxide", -] - -[[package]] -name = "fnv" -version = "1.0.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" - -[[package]] -name = "foreign-types" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1" -dependencies = [ - "foreign-types-shared", -] - -[[package]] -name = "foreign-types-shared" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" - -[[package]] -name = "form_urlencoded" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a9c384f161156f5260c24a097c56119f9be8c798586aecc13afbcbe7b7e26bf8" -dependencies = [ - "percent-encoding", -] - -[[package]] -name = "funty" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fed34cd105917e91daa4da6b3728c47b068749d6a62c59811f06ed2ac71d9da7" - -[[package]] -name = "futures" -version = "0.3.24" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f21eda599937fba36daeb58a22e8f5cee2d14c4a17b5b7739c7c8e5e3b8230c" -dependencies = [ - "futures-channel", - "futures-core", - "futures-executor", - "futures-io", - "futures-sink", - "futures-task", - "futures-util", -] - -[[package]] -name = "futures-channel" -version = "0.3.28" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "955518d47e09b25bbebc7a18df10b81f0c766eaf4c4f1cccef2fca5f2a4fb5f2" -dependencies = [ - "futures-core", - "futures-sink", -] - -[[package]] -name = "futures-core" -version = "0.3.28" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4bca583b7e26f571124fe5b7561d49cb2868d79116cfa0eefce955557c6fee8c" - -[[package]] -name = "futures-executor" -version = "0.3.28" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ccecee823288125bd88b4d7f565c9e58e41858e47ab72e8ea2d64e93624386e0" -dependencies = [ - "futures-core", - "futures-task", - "futures-util", -] - -[[package]] -name = "futures-io" -version = "0.3.28" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4fff74096e71ed47f8e023204cfd0aa1289cd54ae5430a9523be060cdb849964" - -[[package]] -name = "futures-macro" -version = "0.3.28" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "89ca545a94061b6365f2c7355b4b32bd20df3ff95f02da9329b34ccc3bd6ee72" -dependencies = [ - "proc-macro2 1.0.66", - "quote 1.0.32", - "syn 2.0.27", -] - -[[package]] -name = "futures-sink" -version = "0.3.28" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f43be4fe21a13b9781a69afa4985b0f6ee0e1afab2c6f454a8cf30e2b2237b6e" - -[[package]] -name = "futures-task" -version = "0.3.28" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76d3d132be6c0e6aa1534069c705a74a5997a356c0dc2f86a47765e5617c5b65" - -[[package]] -name = "futures-util" -version = "0.3.28" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26b01e40b772d54cf6c6d721c1d1abd0647a0106a12ecaa1c186273392a69533" -dependencies = [ - "futures-channel", - "futures-core", - "futures-io", - "futures-macro", - "futures-sink", - "futures-task", - "memchr", - "pin-project-lite", - "pin-utils", - "slab", -] - -[[package]] -name = "gcc" -version = "0.3.55" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f5f3913fa0bfe7ee1fd8248b6b9f42a5af4b9d65ec2dd2c3c26132b950ecfc2" - -[[package]] -name = "generic-array" -version = "0.14.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" -dependencies = [ - "typenum", - "version_check", -] - -[[package]] -name = "get_if_addrs" -version = "0.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "abddb55a898d32925f3148bd281174a68eeb68bbfd9a5938a57b18f506ee4ef7" -dependencies = [ - "c_linked_list", - "get_if_addrs-sys", - "libc", - "winapi 0.2.8", -] - -[[package]] -name = "get_if_addrs-sys" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d04f9fb746cf36b191c00f3ede8bde9c8e64f9f4b05ae2694a9ccf5e3f5ab48" -dependencies = [ - "gcc", - "libc", -] - -[[package]] -name = "getrandom" -version = "0.1.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8fc3cb4d91f53b50155bdcfd23f6a4c39ae1969c2ae85982b135750cccaf5fce" -dependencies = [ - "cfg-if", - "js-sys", - "libc", - "wasi 0.9.0+wasi-snapshot-preview1", - "wasm-bindgen", -] - -[[package]] -name = "getrandom" -version = "0.2.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c85e1d9ab2eadba7e5040d4e09cbd6d072b76a557ad64e797c2cb9d4da21d7e4" -dependencies = [ - "cfg-if", - "libc", - "wasi 0.11.0+wasi-snapshot-preview1", -] - -[[package]] -name = "ghash" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d930750de5717d2dd0b8c0d42c076c0e884c81a73e6cab859bbd2339c71e3e40" -dependencies = [ - "opaque-debug", - "polyval", -] - -[[package]] -name = "gimli" -version = "0.27.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad0a93d233ebf96623465aad4046a8d3aa4da22d4f4beba5388838c8a434bbb4" - -[[package]] -name = "glob" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b" - -[[package]] -name = "globset" -version = "0.4.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "029d74589adefde59de1a0c4f4732695c32805624aec7b68d91503d4dba79afc" -dependencies = [ - "aho-corasick", - "bstr", - "fnv", - "log", - "regex", -] - -[[package]] -name = "globwalk" -version = "0.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93e3af942408868f6934a7b85134a3230832b9977cf66125df2f9edcfce4ddcc" -dependencies = [ - "bitflags", - "ignore", - "walkdir", -] - -[[package]] -name = "h2" -version = "0.3.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5be7b54589b581f624f566bf5d8eb2bab1db736c51528720b6bd36b96b55924d" -dependencies = [ - "bytes", - "fnv", - "futures-core", - "futures-sink", - "futures-util", - "http", - "indexmap", - "slab", - "tokio", - "tokio-util", - "tracing", -] - -[[package]] -name = "hashbrown" -version = "0.12.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" -dependencies = [ - "ahash 0.7.6", -] - -[[package]] -name = "hashbrown" -version = "0.13.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e" -dependencies = [ - "ahash 0.8.3", -] - -[[package]] -name = "headers" -version = "0.3.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3e372db8e5c0d213e0cd0b9be18be2aca3d44cf2fe30a9d46a65581cd454584" -dependencies = [ - "base64 0.13.1", - "bitflags", - "bytes", - "headers-core", - "http", - "httpdate", - "mime", - "sha1", -] - -[[package]] -name = "headers-core" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7f66481bfee273957b1f20485a4ff3362987f85b2c236580d81b4eb7a326429" -dependencies = [ - "http", -] - -[[package]] -name = "heck" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d621efb26863f0e9924c6ac577e8275e5e6b77455db64ffa6c65c904e9e132c" -dependencies = [ - "unicode-segmentation", -] - -[[package]] -name = "heck" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" - -[[package]] -name = "hermit-abi" -version = "0.1.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33" -dependencies = [ - "libc", -] - -[[package]] -name = "hermit-abi" -version = "0.2.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee512640fe35acbfb4bb779db6f0d80704c2cacfa2e39b601ef3e3f47d1ae4c7" -dependencies = [ - "libc", -] - -[[package]] -name = "hermit-abi" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fed44880c466736ef9a5c5b5facefb5ed0785676d0c02d612db14e54f0d84286" - -[[package]] -name = "hex" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" - -[[package]] -name = "hkdf" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "51ab2f639c231793c5f6114bdb9bbe50a7dbbfcd7c7c6bd8475dec2d991e964f" -dependencies = [ - "digest 0.9.0", - "hmac 0.10.1", -] - -[[package]] -name = "hkdf" -version = "0.12.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "791a029f6b9fc27657f6f188ec6e5e43f6911f6f878e0dc5501396e09809d437" -dependencies = [ - "hmac 0.12.1", -] - -[[package]] -name = "hmac" -version = "0.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "126888268dcc288495a26bf004b38c5fdbb31682f992c84ceb046a1f0fe38840" -dependencies = [ - "crypto-mac 0.8.0", - "digest 0.9.0", -] - -[[package]] -name = "hmac" -version = "0.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c1441c6b1e930e2817404b5046f1f989899143a12bf92de603b69f4e0aee1e15" -dependencies = [ - "crypto-mac 0.10.1", - "digest 0.9.0", -] - -[[package]] -name = "hmac" -version = "0.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e" -dependencies = [ - "digest 0.10.6", -] - -[[package]] -name = "hmac-drbg" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "17ea0a1394df5b6574da6e0c1ade9e78868c9fb0a4e5ef4428e32da4676b85b1" -dependencies = [ - "digest 0.9.0", - "generic-array", - "hmac 0.8.1", -] - -[[package]] -name = "hostname" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c731c3e10504cc8ed35cfe2f1db4c9274c3d35fa486e3b31df46f068ef3e867" -dependencies = [ - "libc", - "match_cfg", - "winapi 0.3.9", -] - -[[package]] -name = "http" -version = "0.2.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd6effc99afb63425aff9b05836f029929e345a6148a14b7ecd5ab67af944482" -dependencies = [ - "bytes", - "fnv", - "itoa", -] - -[[package]] -name = "http-body" -version = "0.4.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d5f38f16d184e36f2408a55281cd658ecbd3ca05cce6d6510a176eca393e26d1" -dependencies = [ - "bytes", - "http", - "pin-project-lite", -] - -[[package]] -name = "httparse" -version = "1.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d897f394bad6a705d5f4104762e116a75639e470d80901eed05a860a95cb1904" - -[[package]] -name = "httpdate" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4a1e36c821dbe04574f602848a19f742f4fb3c98d40449f11bcad18d6b17421" - -[[package]] -name = "humansize" -version = "1.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "02296996cb8796d7c6e3bc2d9211b7802812d36999a51bb754123ead7d37d026" - -[[package]] -name = "hyper" -version = "0.14.25" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cc5e554ff619822309ffd57d8734d77cd5ce6238bc956f037ea06c58238c9899" -dependencies = [ - "bytes", - "futures-channel", - "futures-core", - "futures-util", - "h2", - "http", - "http-body", - "httparse", - "httpdate", - "itoa", - "pin-project-lite", - "socket2", - "tokio", - "tower-service", - "tracing", - "want", -] - -[[package]] -name = "hyper-tls" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d6183ddfa99b85da61a140bea0efc93fdf56ceaa041b37d553518030827f9905" -dependencies = [ - "bytes", - "hyper", - "native-tls", - "tokio", - "tokio-native-tls", -] - -[[package]] -name = "iana-time-zone" -version = "0.1.56" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0722cd7114b7de04316e7ea5456a0bbb20e4adb46fd27a3697adb812cff0f37c" -dependencies = [ - "android_system_properties", - "core-foundation-sys", - "iana-time-zone-haiku", - "js-sys", - "wasm-bindgen", - "windows", -] - -[[package]] -name = "iana-time-zone-haiku" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0703ae284fc167426161c2e3f1da3ea71d94b21bedbcc9494e92b28e334e3dca" -dependencies = [ - "cxx", - "cxx-build", -] - -[[package]] -name = "ident_case" -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" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e14ddfc70884202db2244c223200c204c2bda1bc6e0998d11b5e024d657209e6" -dependencies = [ - "unicode-bidi", - "unicode-normalization", -] - -[[package]] -name = "ignore" -version = "0.4.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dbe7873dab538a9a44ad79ede1faf5f30d49f9a5c883ddbab48bce81b64b7492" -dependencies = [ - "globset", - "lazy_static 1.4.0", - "log", - "memchr", - "regex", - "same-file", - "thread_local", - "walkdir", - "winapi-util", -] - -[[package]] -name = "im" -version = "15.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d0acd33ff0285af998aaf9b57342af478078f53492322fafc47450e09397e0e9" -dependencies = [ - "bitmaps", - "rand_core 0.6.4", - "rand_xoshiro", - "sized-chunks", - "typenum", - "version_check", -] - -[[package]] -name = "impl-codec" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "161ebdfec3c8e3b52bf61c4f3550a1eea4f9579d10dc1b936f3171ebdcd6c443" -dependencies = [ - "parity-scale-codec", -] - -[[package]] -name = "impl-serde" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4551f042f3438e64dbd6226b20527fc84a6e1fe65688b58746a2f53623f25f5c" -dependencies = [ - "serde 1.0.177", -] - -[[package]] -name = "impl-trait-for-tuples" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "11d7a9f6330b71fea57921c9b61c47ee6e84f72d394754eff6163ae67e7395eb" -dependencies = [ - "proc-macro2 1.0.66", - "quote 1.0.32", - "syn 1.0.109", -] - -[[package]] -name = "include_dir" -version = "0.6.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24b56e147e6187d61e9d0f039f10e070d0c0a887e24fe0bb9ca3f29bfde62cab" -dependencies = [ - "glob", - "include_dir_impl", - "proc-macro-hack", -] - -[[package]] -name = "include_dir" -version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "18762faeff7122e89e0857b02f7ce6fcc0d101d5e9ad2ad7846cc01d61b7f19e" -dependencies = [ - "glob", - "include_dir_macros", -] - -[[package]] -name = "include_dir_impl" -version = "0.6.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a0c890c85da4bab7bce4204c707396bbd3c6c8a681716a51c8814cfc2b682df" -dependencies = [ - "anyhow", - "proc-macro-hack", - "proc-macro2 1.0.66", - "quote 1.0.32", - "syn 1.0.109", -] - -[[package]] -name = "include_dir_macros" -version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b139284b5cf57ecfa712bcc66950bb635b31aff41c188e8a4cfc758eca374a3f" -dependencies = [ - "proc-macro2 1.0.66", - "quote 1.0.32", -] - -[[package]] -name = "indexmap" -version = "1.9.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99" -dependencies = [ - "autocfg", - "hashbrown 0.12.3", -] - -[[package]] -name = "indoc" -version = "1.0.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bfa799dd5ed20a7e349f3b4639aa80d74549c81716d9ec4f994c9b5815598306" - -[[package]] -name = "inout" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a0c10553d664a4d0bcff9f4215d0aac67a639cc68ef660840afe309b807bc9f5" -dependencies = [ - "generic-array", -] - -[[package]] -name = "instant" -version = "0.1.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c" -dependencies = [ - "cfg-if", -] - -[[package]] -name = "internment" -version = "0.5.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ab388864246d58a276e60e7569a833d9cc4cd75c66e5ca77c177dad38e59996" -dependencies = [ - "ahash 0.7.6", - "dashmap", - "hashbrown 0.12.3", - "once_cell", - "parking_lot 0.12.1", -] - -[[package]] -name = "io-lifetimes" -version = "1.0.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c66c74d2ae7e79a5a8f7ac924adbe38ee42a859c6539ad869eb51f0b52dc220" -dependencies = [ - "hermit-abi 0.3.1", - "libc", - "windows-sys 0.48.0", -] - -[[package]] -name = "ipnet" -version = "2.7.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "12b6ee2129af8d4fb011108c73d99a1b83a85977f23b82460c0ae2e25bb4b57f" - -[[package]] -name = "itertools" -version = "0.10.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473" -dependencies = [ - "either", -] - -[[package]] -name = "itoa" -version = "1.0.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "453ad9f582a441959e5f0d088b02ce04cfe8d51a8eaf077f12ac6d3e94164ca6" - -[[package]] -name = "jobserver" -version = "0.1.26" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "936cfd212a0155903bcbc060e316fb6cc7cbf2e1907329391ebadc1fe0ce77c2" -dependencies = [ - "libc", -] - -[[package]] -name = "js-sys" -version = "0.3.61" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "445dde2150c55e483f3d8416706b97ec8e8237c307e5b7b4b8dd15e6af2a0730" -dependencies = [ - "wasm-bindgen", -] - -[[package]] -name = "keccak" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3afef3b6eff9ce9d8ff9b3601125eec7f0c8cbac7abd14f355d053fa56c98768" -dependencies = [ - "cpufeatures", -] - -[[package]] -name = "lazy_static" -version = "0.2.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76f033c7ad61445c5b347c7382dd1237847eb1bce590fe50365dcb33d546be73" - -[[package]] -name = "lazy_static" -version = "1.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" - -[[package]] -name = "lazycell" -version = "1.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55" - -[[package]] -name = "lexical-core" -version = "0.7.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6607c62aa161d23d17a9072cc5da0be67cdfc89d3afb1e8d9c842bebc2525ffe" -dependencies = [ - "arrayvec 0.5.2", - "bitflags", - "cfg-if", - "ryu", - "static_assertions", -] - -[[package]] -name = "libc" -version = "0.2.141" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3304a64d199bb964be99741b7a14d26972741915b3649639149b2479bb46f4b5" - -[[package]] -name = "libloading" -version = "0.7.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b67380fd3b2fbe7527a606e18729d21c6f3951633d0500574c4dc22d2d638b9f" -dependencies = [ - "cfg-if", - "winapi 0.3.9", -] - -[[package]] -name = "libm" -version = "0.2.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "348108ab3fba42ec82ff6e9564fc4ca0247bdccdc68dd8af9764bbc79c3c8ffb" - -[[package]] -name = "librocksdb-sys" -version = "0.10.0+7.9.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fe4d5874f5ff2bc616e55e8c6086d478fcda13faf9495768a4aa1c22042d30b" -dependencies = [ - "bindgen", - "bzip2-sys", - "cc", - "glob", - "libc", - "libz-sys", - "lz4-sys", - "zstd-sys", -] - -[[package]] -name = "libsecp256k1" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95b09eff1b35ed3b33b877ced3a691fc7a481919c7e29c53c906226fcf55e2a1" -dependencies = [ - "arrayref", - "base64 0.13.1", - "digest 0.9.0", - "hmac-drbg", - "libsecp256k1-core", - "libsecp256k1-gen-ecmult", - "libsecp256k1-gen-genmult", - "rand 0.8.5", - "serde 1.0.177", - "sha2 0.9.9", - "typenum", -] - -[[package]] -name = "libsecp256k1-core" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5be9b9bb642d8522a44d533eab56c16c738301965504753b03ad1de3425d5451" -dependencies = [ - "crunchy", - "digest 0.9.0", - "subtle", -] - -[[package]] -name = "libsecp256k1-gen-ecmult" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3038c808c55c87e8a172643a7d87187fc6c4174468159cb3090659d55bcb4809" -dependencies = [ - "libsecp256k1-core", -] - -[[package]] -name = "libsecp256k1-gen-genmult" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3db8d6ba2cec9eacc40e6e8ccc98931840301f1006e95647ceb2dd5c3aa06f7c" -dependencies = [ - "libsecp256k1-core", -] - -[[package]] -name = "libz-sys" -version = "1.1.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9702761c3935f8cc2f101793272e202c72b99da8f4224a19ddcf1279a6450bbf" -dependencies = [ - "cc", - "pkg-config", - "vcpkg", -] - -[[package]] -name = "link-cplusplus" -version = "1.0.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ecd207c9c713c34f95a097a5b029ac2ce6010530c7b49d7fea24d977dede04f5" -dependencies = [ - "cc", -] - -[[package]] -name = "linked-hash-map" -version = "0.5.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0717cef1bc8b636c6e1c1bbdefc09e6322da8a9321966e8928ef80d20f7f770f" - -[[package]] -name = "linux-raw-sys" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d59d8c75012853d2e872fb56bc8a2e53718e2cafe1a4c823143141c6d90c322f" - -[[package]] -name = "lock_api" -version = "0.4.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "435011366fe56583b16cf956f9df0095b405b82d76425bc8981c0e22e60ec4df" -dependencies = [ - "autocfg", - "scopeguard", -] - -[[package]] -name = "log" -version = "0.4.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "abb12e687cfb44aa40f41fc3978ef76448f9b6038cad6aef4259d3c095a2382e" -dependencies = [ - "cfg-if", - "serde 1.0.177", -] - -[[package]] -name = "lz4-sys" -version = "1.9.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57d27b317e207b10f69f5e75494119e391a96f48861ae870d1da6edac98ca900" -dependencies = [ - "cc", - "libc", -] - -[[package]] -name = "maplit" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e2e65a1a2e43cfcb47a895c4c8b10d1f4a61097f9f254f183aee60cad9c651d" - -[[package]] -name = "match_cfg" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ffbee8634e0d45d258acb448e7eaab3fce7a0a467395d4d9f228e3c1f01fb2e4" - -[[package]] -name = "matches" -version = "0.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2532096657941c2fea9c289d370a250971c689d4f143798ff67113ec042024a5" - -[[package]] -name = "memchr" -version = "2.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d" - -[[package]] -name = "memoffset" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d61c719bcfbcf5d62b3a09efa6088de8c54bc0bfcd3ea7ae39fcc186108b8de1" -dependencies = [ - "autocfg", -] - -[[package]] -name = "mime" -version = "0.3.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a" - -[[package]] -name = "minimal-lexical" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" - -[[package]] -name = "miniz_oxide" -version = "0.6.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b275950c28b37e794e8c55d88aeb5e139d0ce23fdbbeda68f8d7174abdf9e8fa" -dependencies = [ - "adler", -] - -[[package]] -name = "mio" -version = "0.8.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b9d9a46eff5b4ff64b45a9e316a6d1e0bc719ef429cbec4dc630684212bfdf9" -dependencies = [ - "libc", - "log", - "wasi 0.11.0+wasi-snapshot-preview1", - "windows-sys 0.45.0", -] - -[[package]] -name = "mirai-annotations" -version = "1.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c9be0862c1b3f26a88803c4a49de6889c10e608b3ee9344e6ef5b45fb37ad3d1" - -[[package]] -name = "more-asserts" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1fafa6961cabd9c63bcd77a45d7e3b7f3b552b70417831fb0f56db717e72407e" - -[[package]] -name = "move-abigen" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "bcs 0.1.4", - "heck 0.3.3", - "log", - "move-binary-format", - "move-bytecode-verifier", - "move-command-line-common", - "move-core-types", - "move-model", - "serde 1.0.177", -] - -[[package]] -name = "move-binary-format" -version = "0.0.3" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "move-core-types", - "once_cell", - "ref-cast", - "serde 1.0.177", - "variant_count", -] - -[[package]] -name = "move-borrow-graph" -version = "0.0.1" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" - -[[package]] -name = "move-bytecode-source-map" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "bcs 0.1.4", - "move-binary-format", - "move-command-line-common", - "move-core-types", - "move-ir-types", - "move-symbol-pool", - "serde 1.0.177", -] - -[[package]] -name = "move-bytecode-utils" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "move-binary-format", - "move-core-types", - "petgraph 0.5.1", - "serde-reflection 0.3.6", -] - -[[package]] -name = "move-bytecode-verifier" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "fail 0.4.0", - "move-binary-format", - "move-borrow-graph", - "move-core-types", - "petgraph 0.5.1", -] - -[[package]] -name = "move-command-line-common" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "difference", - "dirs-next", - "hex", - "move-core-types", - "num-bigint", - "once_cell", - "serde 1.0.177", - "sha2 0.9.9", - "walkdir", -] - -[[package]] -name = "move-compiler" -version = "0.0.1" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "bcs 0.1.4", - "clap 3.2.23", - "codespan-reporting", - "difference", - "hex", - "move-binary-format", - "move-borrow-graph", - "move-bytecode-source-map", - "move-bytecode-verifier", - "move-command-line-common", - "move-core-types", - "move-ir-to-bytecode", - "move-ir-types", - "move-symbol-pool", - "num-bigint", - "once_cell", - "petgraph 0.5.1", - "regex", - "sha3", - "tempfile", - "walkdir", -] - -[[package]] -name = "move-core-types" -version = "0.0.4" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "arbitrary", - "bcs 0.1.4", - "ethnum", - "hex", - "num", - "once_cell", - "primitive-types", - "proptest", - "proptest-derive", - "rand 0.8.5", - "ref-cast", - "serde 1.0.177", - "serde_bytes", - "uint", -] - -[[package]] -name = "move-coverage" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "bcs 0.1.4", - "clap 3.2.23", - "codespan", - "colored", - "move-binary-format", - "move-bytecode-source-map", - "move-command-line-common", - "move-core-types", - "move-ir-types", - "once_cell", - "petgraph 0.5.1", - "serde 1.0.177", -] - -[[package]] -name = "move-disassembler" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "clap 3.2.23", - "colored", - "move-binary-format", - "move-bytecode-source-map", - "move-bytecode-verifier", - "move-command-line-common", - "move-compiler", - "move-core-types", - "move-coverage", - "move-ir-types", -] - -[[package]] -name = "move-docgen" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "codespan", - "codespan-reporting", - "itertools", - "log", - "move-compiler", - "move-model", - "num", - "once_cell", - "regex", - "serde 1.0.177", -] - -[[package]] -name = "move-errmapgen" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "bcs 0.1.4", - "log", - "move-command-line-common", - "move-core-types", - "move-model", - "serde 1.0.177", -] - -[[package]] -name = "move-ir-to-bytecode" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "codespan-reporting", - "log", - "move-binary-format", - "move-bytecode-source-map", - "move-command-line-common", - "move-core-types", - "move-ir-to-bytecode-syntax", - "move-ir-types", - "move-symbol-pool", - "ouroboros", - "thiserror", -] - -[[package]] -name = "move-ir-to-bytecode-syntax" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "hex", - "move-command-line-common", - "move-core-types", - "move-ir-types", - "move-symbol-pool", -] - -[[package]] -name = "move-ir-types" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "hex", - "move-command-line-common", - "move-core-types", - "move-symbol-pool", - "once_cell", - "serde 1.0.177", -] - -[[package]] -name = "move-model" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "codespan", - "codespan-reporting", - "internment", - "itertools", - "log", - "move-binary-format", - "move-bytecode-source-map", - "move-bytecode-verifier", - "move-command-line-common", - "move-compiler", - "move-core-types", - "move-disassembler", - "move-ir-types", - "move-symbol-pool", - "num", - "once_cell", - "regex", - "serde 1.0.177", -] - -[[package]] -name = "move-package" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "bcs 0.1.4", - "clap 3.2.23", - "colored", - "dirs-next", - "itertools", - "move-abigen", - "move-binary-format", - "move-bytecode-source-map", - "move-bytecode-utils", - "move-command-line-common", - "move-compiler", - "move-core-types", - "move-docgen", - "move-model", - "move-symbol-pool", - "named-lock", - "once_cell", - "petgraph 0.5.1", - "ptree", - "regex", - "reqwest", - "serde 1.0.177", - "serde_yaml 0.8.26", - "sha2 0.9.9", - "tempfile", - "toml", - "walkdir", - "whoami", -] - -[[package]] -name = "move-prover" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "async-trait", - "atty", - "clap 3.2.23", - "codespan", - "codespan-reporting", - "futures", - "hex", - "itertools", - "log", - "move-abigen", - "move-binary-format", - "move-command-line-common", - "move-compiler", - "move-core-types", - "move-docgen", - "move-errmapgen", - "move-ir-types", - "move-model", - "move-prover-boogie-backend", - "move-stackless-bytecode", - "num", - "once_cell", - "pretty", - "rand 0.8.5", - "serde 1.0.177", - "serde_json", - "simplelog", - "tokio", - "toml", -] - -[[package]] -name = "move-prover-boogie-backend" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "async-trait", - "codespan", - "codespan-reporting", - "futures", - "itertools", - "log", - "move-binary-format", - "move-command-line-common", - "move-compiler", - "move-core-types", - "move-model", - "move-stackless-bytecode", - "num", - "once_cell", - "pretty", - "rand 0.8.5", - "regex", - "serde 1.0.177", - "serde_json", - "tera", - "tokio", -] - -[[package]] -name = "move-read-write-set-types" -version = "0.0.3" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "move-binary-format", - "move-core-types", - "serde 1.0.177", -] - -[[package]] -name = "move-resource-viewer" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "bcs 0.1.4", - "hex", - "move-binary-format", - "move-bytecode-utils", - "move-core-types", - "once_cell", - "serde 1.0.177", -] - -[[package]] -name = "move-stackless-bytecode" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "codespan", - "codespan-reporting", - "ethnum", - "im", - "itertools", - "log", - "move-binary-format", - "move-borrow-graph", - "move-bytecode-verifier", - "move-command-line-common", - "move-compiler", - "move-core-types", - "move-ir-to-bytecode", - "move-model", - "move-read-write-set-types", - "num", - "once_cell", - "paste", - "petgraph 0.5.1", - "serde 1.0.177", -] - -[[package]] -name = "move-symbol-pool" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "once_cell", - "serde 1.0.177", -] - -[[package]] -name = "move-table-extension" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "bcs 0.1.4", - "better_any", - "move-binary-format", - "move-core-types", - "move-vm-runtime", - "move-vm-types", - "once_cell", - "sha3", - "smallvec", -] - -[[package]] -name = "move-vm-runtime" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "better_any", - "fail 0.4.0", - "move-binary-format", - "move-bytecode-verifier", - "move-core-types", - "move-vm-types", - "once_cell", - "parking_lot 0.11.2", - "sha3", - "tracing", -] - -[[package]] -name = "move-vm-test-utils" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "move-binary-format", - "move-core-types", - "move-table-extension", - "move-vm-types", - "once_cell", - "serde 1.0.177", -] - -[[package]] -name = "move-vm-types" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "bcs 0.1.4", - "move-binary-format", - "move-core-types", - "once_cell", - "serde 1.0.177", - "smallvec", -] - -[[package]] -name = "multer" -version = "2.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01acbdc23469fd8fe07ab135923371d5f5a422fbf9c522158677c8eb15bc51c2" -dependencies = [ - "bytes", - "encoding_rs", - "futures-util", - "http", - "httparse", - "log", - "memchr", - "mime", - "spin 0.9.8", - "tokio", - "version_check", -] - -[[package]] -name = "named-lock" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "40a3eb6b7c682b65d1f631ec3176829d72ab450b3aacdd3f719bf220822e59ac" -dependencies = [ - "libc", - "once_cell", - "parking_lot 0.12.1", - "thiserror", - "widestring", - "winapi 0.3.9", -] - -[[package]] -name = "native-tls" -version = "0.2.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07226173c32f2926027b63cce4bcd8076c3552846cbe7925f3aaffeac0a3b92e" -dependencies = [ - "lazy_static 1.4.0", - "libc", - "log", - "openssl", - "openssl-probe", - "openssl-sys", - "schannel", - "security-framework", - "security-framework-sys", - "tempfile", -] - -[[package]] -name = "nodrop" -version = "0.1.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72ef4a56884ca558e5ddb05a1d1e7e1bfd9a68d9ed024c21704cc98872dae1bb" - -[[package]] -name = "nom" -version = "5.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ffb4262d26ed83a1c0a33a38fe2bb15797329c85770da05e6b828ddb782627af" -dependencies = [ - "lexical-core", - "memchr", - "version_check", -] - -[[package]] -name = "nom" -version = "7.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a" -dependencies = [ - "memchr", - "minimal-lexical", -] - -[[package]] -name = "nu-ansi-term" -version = "0.46.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77a8165726e8236064dbb45459242600304b42a5ea24ee2948e18e023bf7ba84" -dependencies = [ - "overload", - "winapi 0.3.9", -] - -[[package]] -name = "num" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43db66d1170d347f9a065114077f7dccb00c1b9478c89384490a3425279a4606" -dependencies = [ - "num-bigint", - "num-complex", - "num-integer", - "num-iter", - "num-rational", - "num-traits 0.2.15", -] - -[[package]] -name = "num-bigint" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f93ab6289c7b344a8a9f60f88d80aa20032336fe78da341afc91c8a2341fc75f" -dependencies = [ - "autocfg", - "num-integer", - "num-traits 0.2.15", -] - -[[package]] -name = "num-complex" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "02e0d21255c828d6f128a1e41534206671e8c3ea0c62f32291e808dc82cff17d" -dependencies = [ - "num-traits 0.2.15", -] - -[[package]] -name = "num-derive" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "876a53fff98e03a936a674b29568b0e605f06b29372c2489ff4de23f1949743d" -dependencies = [ - "proc-macro2 1.0.66", - "quote 1.0.32", - "syn 1.0.109", -] - -[[package]] -name = "num-integer" -version = "0.1.45" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "225d3389fb3509a24c93f5c29eb6bde2586b98d9f016636dff58d7c6f7569cd9" -dependencies = [ - "autocfg", - "num-traits 0.2.15", -] - -[[package]] -name = "num-iter" -version = "0.1.43" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d03e6c028c5dc5cac6e2dec0efda81fc887605bb3d884578bb6d6bf7514e252" -dependencies = [ - "autocfg", - "num-integer", - "num-traits 0.2.15", -] - -[[package]] -name = "num-rational" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0638a1c9d0a3c0914158145bc76cff373a75a627e6ecbfb71cbe6f453a5a19b0" -dependencies = [ - "autocfg", - "num-bigint", - "num-integer", - "num-traits 0.2.15", -] - -[[package]] -name = "num-traits" -version = "0.1.43" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "92e5113e9fd4cc14ded8e499429f396a20f98c772a47cc8622a736e1ec843c31" -dependencies = [ - "num-traits 0.2.15", -] - -[[package]] -name = "num-traits" -version = "0.2.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "578ede34cf02f8924ab9447f50c28075b4d3e5b269972345e7e0372b38c6cdcd" -dependencies = [ - "autocfg", - "libm", -] - -[[package]] -name = "num_cpus" -version = "1.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fac9e2da13b5eb447a6ce3d392f23a29d8694bff781bf03a16cd9ac8697593b" -dependencies = [ - "hermit-abi 0.2.6", - "libc", -] - -[[package]] -name = "object" -version = "0.30.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea86265d3d3dcb6a27fc51bd29a4bf387fae9d2986b823079d4986af253eb439" -dependencies = [ - "memchr", -] - -[[package]] -name = "once_cell" -version = "1.17.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b7e5500299e16ebb147ae15a00a942af264cf3688f47923b8fc2cd5858f23ad3" - -[[package]] -name = "opaque-debug" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "624a8340c38c1b80fd549087862da4ba43e08858af025b236e509b6649fc13d5" - -[[package]] -name = "openssl" -version = "0.10.50" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e30d8bc91859781f0a943411186324d580f2bbeb71b452fe91ae344806af3f1" -dependencies = [ - "bitflags", - "cfg-if", - "foreign-types", - "libc", - "once_cell", - "openssl-macros", - "openssl-sys", -] - -[[package]] -name = "openssl-macros" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c" -dependencies = [ - "proc-macro2 1.0.66", - "quote 1.0.32", - "syn 2.0.27", -] - -[[package]] -name = "openssl-probe" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" - -[[package]] -name = "openssl-sys" -version = "0.9.85" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d3d193fb1488ad46ffe3aaabc912cc931d02ee8518fe2959aea8ef52718b0c0" -dependencies = [ - "cc", - "libc", - "pkg-config", - "vcpkg", -] - -[[package]] -name = "ordered-float" -version = "2.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7940cf2ca942593318d07fcf2596cdca60a85c9e7fab408a5e21a4f9dcd40d87" -dependencies = [ - "num-traits 0.2.15", -] - -[[package]] -name = "os_str_bytes" -version = "6.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ceedf44fb00f2d1984b0bc98102627ce622e083e49a5bacdb3e514fa4238e267" - -[[package]] -name = "ouroboros" -version = "0.9.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fbeff60e3e37407a80ead3e9458145b456e978c4068cddbfea6afb48572962ca" -dependencies = [ - "ouroboros_macro", - "stable_deref_trait", -] - -[[package]] -name = "ouroboros_macro" -version = "0.9.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03f2cb802b5bdfdf52f1ffa0b54ce105e4d346e91990dd571f86c91321ad49e2" -dependencies = [ - "Inflector", - "proc-macro-error", - "proc-macro2 1.0.66", - "quote 1.0.32", - "syn 1.0.109", -] - -[[package]] -name = "overload" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b15813163c1d831bf4a13c3610c05c0d03b39feb07f7e09fa234dac9b15aaf39" - -[[package]] -name = "parity-scale-codec" -version = "2.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "373b1a4c1338d9cd3d1fa53b3a11bdab5ab6bd80a20f7f7becd76953ae2be909" -dependencies = [ - "arrayvec 0.7.2", - "bitvec 0.20.4", - "byte-slice-cast", - "impl-trait-for-tuples", - "parity-scale-codec-derive", - "serde 1.0.177", -] - -[[package]] -name = "parity-scale-codec-derive" -version = "2.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1557010476e0595c9b568d16dcfb81b93cdeb157612726f5170d31aa707bed27" -dependencies = [ - "proc-macro-crate", - "proc-macro2 1.0.66", - "quote 1.0.32", - "syn 1.0.109", -] - -[[package]] -name = "parking_lot" -version = "0.11.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d17b78036a60663b797adeaee46f5c9dfebb86948d1255007a1d6be0271ff99" -dependencies = [ - "instant", - "lock_api", - "parking_lot_core 0.8.6", -] - -[[package]] -name = "parking_lot" -version = "0.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f" -dependencies = [ - "lock_api", - "parking_lot_core 0.9.7", -] - -[[package]] -name = "parking_lot_core" -version = "0.8.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "60a2cfe6f0ad2bfc16aefa463b497d5c7a5ecd44a23efa72aa342d90177356dc" -dependencies = [ - "cfg-if", - "instant", - "libc", - "redox_syscall 0.2.16", - "smallvec", - "winapi 0.3.9", -] - -[[package]] -name = "parking_lot_core" -version = "0.9.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9069cbb9f99e3a5083476ccb29ceb1de18b9118cafa53e90c9551235de2b9521" -dependencies = [ - "cfg-if", - "libc", - "redox_syscall 0.2.16", - "smallvec", - "windows-sys 0.45.0", -] - -[[package]] -name = "parse-zoneinfo" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c705f256449c60da65e11ff6626e0c16a0a0b96aaa348de61376b249bc340f41" -dependencies = [ - "regex", -] - -[[package]] -name = "paste" -version = "1.0.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f746c4065a8fa3fe23974dd82f15431cc8d40779821001404d10d2e79ca7d79" - -[[package]] -name = "pbkdf2" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "216eaa586a190f0a738f2f918511eecfa90f13295abec0e457cdebcceda80cbd" -dependencies = [ - "crypto-mac 0.8.0", -] - -[[package]] -name = "peeking_take_while" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19b17cddbe7ec3f8bc800887bab5e717348c95ea2ca0b1bf0837fb964dc67099" - -[[package]] -name = "percent-encoding" -version = "2.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "478c572c3d73181ff3c2539045f6eb99e5491218eae919370993b890cdbdd98e" - -[[package]] -name = "pest" -version = "2.5.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b1403e8401ad5dedea73c626b99758535b342502f8d1e361f4a2dd952749122" -dependencies = [ - "thiserror", - "ucd-trie", -] - -[[package]] -name = "pest_derive" -version = "2.5.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be99c4c1d2fc2769b1d00239431d711d08f6efedcecb8b6e30707160aee99c15" -dependencies = [ - "pest", - "pest_generator", -] - -[[package]] -name = "pest_generator" -version = "2.5.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e56094789873daa36164de2e822b3888c6ae4b4f9da555a1103587658c805b1e" -dependencies = [ - "pest", - "pest_meta", - "proc-macro2 1.0.66", - "quote 1.0.32", - "syn 2.0.27", -] - -[[package]] -name = "pest_meta" -version = "2.5.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6733073c7cff3d8459fda0e42f13a047870242aed8b509fe98000928975f359e" -dependencies = [ - "once_cell", - "pest", - "sha2 0.10.6", -] - -[[package]] -name = "petgraph" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "467d164a6de56270bd7c4d070df81d07beace25012d5103ced4e9ff08d6afdb7" -dependencies = [ - "fixedbitset 0.2.0", - "indexmap", -] - -[[package]] -name = "petgraph" -version = "0.6.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4dd7d28ee937e54fe3080c91faa1c3a46c06de6252988a7f4592ba2310ef22a4" -dependencies = [ - "fixedbitset 0.4.2", - "indexmap", -] - -[[package]] -name = "phf" -version = "0.11.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "928c6535de93548188ef63bb7c4036bd415cd8f36ad25af44b9789b2ee72a48c" -dependencies = [ - "phf_shared", -] - -[[package]] -name = "phf_codegen" -version = "0.11.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a56ac890c5e3ca598bbdeaa99964edb5b0258a583a9eb6ef4e89fc85d9224770" -dependencies = [ - "phf_generator", - "phf_shared", -] - -[[package]] -name = "phf_generator" -version = "0.11.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1181c94580fa345f50f19d738aaa39c0ed30a600d95cb2d3e23f94266f14fbf" -dependencies = [ - "phf_shared", - "rand 0.8.5", -] - -[[package]] -name = "phf_shared" -version = "0.11.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e1fb5f6f826b772a8d4c0394209441e7d37cbbb967ae9c7e0e8134365c9ee676" -dependencies = [ - "siphasher", - "uncased", -] - -[[package]] -name = "pin-project" -version = "1.0.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad29a609b6bcd67fee905812e544992d216af9d755757c05ed2d0e15a74c6ecc" -dependencies = [ - "pin-project-internal", -] - -[[package]] -name = "pin-project-internal" -version = "1.0.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "069bdb1e05adc7a8990dce9cc75370895fbe4e3d58b9b73bf1aee56359344a55" -dependencies = [ - "proc-macro2 1.0.66", - "quote 1.0.32", - "syn 1.0.109", -] - -[[package]] -name = "pin-project-lite" -version = "0.2.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e0a7ae3ac2f1173085d398531c705756c94a4c56843785df85a60c1a0afac116" - -[[package]] -name = "pin-utils" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" - -[[package]] -name = "pkg-config" -version = "0.3.26" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ac9a59f73473f1b8d852421e59e64809f025994837ef743615c6d0c5b305160" - -[[package]] -name = "poem" -version = "1.3.55" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0608069d4999c3c02d49dff261663f2e73a8f7b00b7cd364fb5e93e419dafa1" -dependencies = [ - "anyhow", - "async-trait", - "bytes", - "chrono", - "cookie", - "futures-util", - "headers", - "http", - "hyper", - "mime", - "multer", - "parking_lot 0.12.1", - "percent-encoding", - "pin-project-lite", - "poem-derive", - "quick-xml", - "regex", - "rfc7239", - "rustls-pemfile", - "serde 1.0.177", - "serde_json", - "serde_urlencoded", - "serde_yaml 0.9.21", - "smallvec", - "tempfile", - "thiserror", - "time 0.3.20", - "tokio", - "tokio-rustls", - "tokio-stream", - "tokio-util", - "tracing", -] - -[[package]] -name = "poem-derive" -version = "1.3.55" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b839bad877aa933dd00901abd127a44496130e3def48e079d60e43f2c8a33cc" -dependencies = [ - "proc-macro-crate", - "proc-macro2 1.0.66", - "quote 1.0.32", - "syn 1.0.109", -] - -[[package]] -name = "poem-openapi" -version = "2.0.26" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1077defedfd8ff15990bb42993970ac75bc46dd8a5b3c0b452ab4e2041b825a4" -dependencies = [ - "base64 0.21.0", - "bytes", - "derive_more", - "futures-util", - "mime", - "num-traits 0.2.15", - "poem", - "poem-openapi-derive", - "quick-xml", - "regex", - "serde 1.0.177", - "serde_json", - "serde_urlencoded", - "serde_yaml 0.9.21", - "thiserror", - "tokio", - "url", -] - -[[package]] -name = "poem-openapi-derive" -version = "2.0.26" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75bf9dc3b9c42bb8744bc633f9581f740b429122e1840fa37c06beeefc35a719" -dependencies = [ - "darling", - "http", - "indexmap", - "mime", - "proc-macro-crate", - "proc-macro2 1.0.66", - "quote 1.0.32", - "regex", - "syn 1.0.109", - "thiserror", -] - -[[package]] -name = "polyval" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ef234e08c11dfcb2e56f79fd70f6f2eb7f025c0ce2333e82f4f0518ecad30c6" -dependencies = [ - "cfg-if", - "cpufeatures", - "opaque-debug", - "universal-hash", -] - -[[package]] -name = "ppv-lite86" -version = "0.2.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" - -[[package]] -name = "pretty" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad9940b913ee56ddd94aec2d3cd179dd47068236f42a1a6415ccf9d880ce2a61" -dependencies = [ - "arrayvec 0.5.2", - "typed-arena", -] - -[[package]] -name = "primitive-types" -version = "0.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05e4722c697a58a99d5d06a08c30821d7c082a4632198de1eaa5a6c22ef42373" -dependencies = [ - "fixed-hash", - "impl-codec", - "impl-serde", - "uint", -] - -[[package]] -name = "proc-macro-crate" -version = "1.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f4c021e1093a56626774e81216a4ce732a735e5bad4868a03f3ed65ca0c3919" -dependencies = [ - "once_cell", - "toml_edit", -] - -[[package]] -name = "proc-macro-error" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c" -dependencies = [ - "proc-macro-error-attr", - "proc-macro2 1.0.66", - "quote 1.0.32", - "syn 1.0.109", - "version_check", -] - -[[package]] -name = "proc-macro-error-attr" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869" -dependencies = [ - "proc-macro2 1.0.66", - "quote 1.0.32", - "version_check", -] - -[[package]] -name = "proc-macro-hack" -version = "0.5.20+deprecated" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc375e1527247fe1a97d8b7156678dfe7c1af2fc075c9a4db3690ecd2a148068" - -[[package]] -name = "proc-macro2" -version = "0.4.30" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf3d2011ab5c909338f7887f4fc896d35932e29146c12c8d01da6b22a80ba759" -dependencies = [ - "unicode-xid", -] - -[[package]] -name = "proc-macro2" -version = "1.0.66" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "18fb31db3f9bddb2ea821cde30a9f70117e3f119938b5ee630b7403aa6e2ead9" -dependencies = [ - "unicode-ident", -] - -[[package]] -name = "prometheus" -version = "0.13.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "449811d15fbdf5ceb5c1144416066429cf82316e2ec8ce0c1f6f8a02e7bbcf8c" -dependencies = [ - "cfg-if", - "fnv", - "lazy_static 1.4.0", - "memchr", - "parking_lot 0.12.1", - "thiserror", -] - -[[package]] -name = "proptest" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29f1b898011ce9595050a68e60f90bad083ff2987a695a42357134c8381fba70" -dependencies = [ - "bit-set", - "bitflags", - "byteorder", - "lazy_static 1.4.0", - "num-traits 0.2.15", - "quick-error 2.0.1", - "rand 0.8.5", - "rand_chacha 0.3.1", - "rand_xorshift", - "regex-syntax", - "rusty-fork", - "tempfile", - "unarray", -] - -[[package]] -name = "proptest-derive" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90b46295382dc76166cb7cf2bb4a97952464e4b7ed5a43e6cd34e1fec3349ddc" -dependencies = [ - "proc-macro2 0.4.30", - "quote 0.6.13", - "syn 0.15.44", -] - -[[package]] -name = "psl-types" -version = "2.0.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33cb294fe86a74cbcf50d4445b37da762029549ebeea341421c7c70370f86cac" - -[[package]] -name = "ptree" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a0de80796b316aec75344095a6d2ef68ec9b8f573b9e7adc821149ba3598e270" -dependencies = [ - "ansi_term", - "atty", - "config", - "directories", - "petgraph 0.6.3", - "serde 1.0.177", - "serde-value", - "tint", -] - -[[package]] -name = "publicsuffix" -version = "2.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96a8c1bda5ae1af7f99a2962e49df150414a43d62404644d98dd5c3a93d07457" -dependencies = [ - "idna 0.3.0", - "psl-types", -] - -[[package]] -name = "qstring" -version = "0.7.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d464fae65fff2680baf48019211ce37aaec0c78e9264c84a3e484717f965104e" -dependencies = [ - "percent-encoding", -] - -[[package]] -name = "quick-error" -version = "1.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0" - -[[package]] -name = "quick-error" -version = "2.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a993555f31e5a609f617c12db6250dedcac1b0a85076912c436e6fc9b2c8e6a3" - -[[package]] -name = "quick-xml" -version = "0.26.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f50b1c63b38611e7d4d7f68b82d3ad0cc71a2ad2e7f61fc10f1328d917c93cd" -dependencies = [ - "memchr", - "serde 1.0.177", -] - -[[package]] -name = "quote" -version = "0.6.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ce23b6b870e8f94f81fb0a363d65d86675884b34a09043c81e5562f11c1f8e1" -dependencies = [ - "proc-macro2 0.4.30", -] - -[[package]] -name = "quote" -version = "1.0.32" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50f3b39ccfb720540debaa0164757101c08ecb8d326b15358ce76a62c7e85965" -dependencies = [ - "proc-macro2 1.0.66", -] - -[[package]] -name = "radium" -version = "0.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "941ba9d78d8e2f7ce474c015eea4d9c6d25b6a3327f9832ee29a4de27f91bbb8" - -[[package]] -name = "radium" -version = "0.6.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "643f8f41a8ebc4c5dc4515c82bb8abd397b527fc20fd681b7c011c2aee5d44fb" - -[[package]] -name = "rand" -version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03" -dependencies = [ - "getrandom 0.1.16", - "libc", - "rand_chacha 0.2.2", - "rand_core 0.5.1", - "rand_hc", -] - -[[package]] -name = "rand" -version = "0.8.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" -dependencies = [ - "libc", - "rand_chacha 0.3.1", - "rand_core 0.6.4", -] - -[[package]] -name = "rand_chacha" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4c8ed856279c9737206bf725bf36935d8666ead7aa69b52be55af369d193402" -dependencies = [ - "ppv-lite86", - "rand_core 0.5.1", -] - -[[package]] -name = "rand_chacha" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" -dependencies = [ - "ppv-lite86", - "rand_core 0.6.4", -] - -[[package]] -name = "rand_core" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19" -dependencies = [ - "getrandom 0.1.16", -] - -[[package]] -name = "rand_core" -version = "0.6.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" -dependencies = [ - "getrandom 0.2.9", -] - -[[package]] -name = "rand_hc" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c" -dependencies = [ - "rand_core 0.5.1", -] - -[[package]] -name = "rand_xorshift" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d25bf25ec5ae4a3f1b92f929810509a2f53d7dca2f50b794ff57e3face536c8f" -dependencies = [ - "rand_core 0.6.4", -] - -[[package]] -name = "rand_xoshiro" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f97cdb2a36ed4183de61b2f824cc45c9f1037f28afe0a322e9fff4c108b5aaa" -dependencies = [ - "rand_core 0.6.4", -] - -[[package]] -name = "rayon" -version = "1.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d2df5196e37bcc87abebc0053e20787d73847bb33134a69841207dd0a47f03b" -dependencies = [ - "either", - "rayon-core", -] - -[[package]] -name = "rayon-core" -version = "1.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b8f95bd6966f5c87776639160a66bd8ab9895d9d4ab01ddba9fc60661aebe8d" -dependencies = [ - "crossbeam-channel", - "crossbeam-deque", - "crossbeam-utils", - "num_cpus", -] - -[[package]] -name = "read-write-set-dynamic" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "move-binary-format", - "move-bytecode-utils", - "move-core-types", - "move-read-write-set-types", -] - -[[package]] -name = "redox_syscall" -version = "0.2.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a" -dependencies = [ - "bitflags", -] - -[[package]] -name = "redox_syscall" -version = "0.3.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "567664f262709473930a4bf9e51bf2ebf3348f2e748ccc50dea20646858f8f29" -dependencies = [ - "bitflags", -] - -[[package]] -name = "redox_users" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b033d837a7cf162d7993aded9304e30a83213c648b6e389db233191f891e5c2b" -dependencies = [ - "getrandom 0.2.9", - "redox_syscall 0.2.16", - "thiserror", -] - -[[package]] -name = "ref-cast" -version = "1.0.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f43faa91b1c8b36841ee70e97188a869d37ae21759da6846d4be66de5bf7b12c" -dependencies = [ - "ref-cast-impl", -] - -[[package]] -name = "ref-cast-impl" -version = "1.0.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d2275aab483050ab2a7364c1a46604865ee7d6906684e08db0f090acf74f9e7" -dependencies = [ - "proc-macro2 1.0.66", - "quote 1.0.32", - "syn 2.0.27", -] - -[[package]] -name = "regex" -version = "1.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b1f693b24f6ac912f4893ef08244d70b6067480d2f1a46e950c9691e6749d1d" -dependencies = [ - "aho-corasick", - "memchr", - "regex-syntax", -] - -[[package]] -name = "regex-syntax" -version = "0.6.29" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1" - -[[package]] -name = "reqwest" -version = "0.11.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "27b71749df584b7f4cac2c426c127a7c785a5106cc98f7a8feb044115f0fa254" -dependencies = [ - "base64 0.21.0", - "bytes", - "cookie", - "cookie_store", - "encoding_rs", - "futures-core", - "futures-util", - "h2", - "http", - "http-body", - "hyper", - "hyper-tls", - "ipnet", - "js-sys", - "log", - "mime", - "native-tls", - "once_cell", - "percent-encoding", - "pin-project-lite", - "serde 1.0.177", - "serde_json", - "serde_urlencoded", - "tokio", - "tokio-native-tls", - "tokio-util", - "tower-service", - "url", - "wasm-bindgen", - "wasm-bindgen-futures", - "wasm-streams", - "web-sys", - "winreg", -] - -[[package]] -name = "rfc7239" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "087317b3cf7eb481f13bd9025d729324b7cd068d6f470e2d76d049e191f5ba47" -dependencies = [ - "uncased", -] - -[[package]] -name = "ring" -version = "0.16.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3053cf52e236a3ed746dfc745aa9cacf1b791d846bdaf412f60a8d7d6e17c8fc" -dependencies = [ - "cc", - "libc", - "once_cell", - "spin 0.5.2", - "untrusted", - "web-sys", - "winapi 0.3.9", -] - -[[package]] -name = "ripemd" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd124222d17ad93a644ed9d011a40f4fb64aa54275c08cc216524a9ea82fb09f" -dependencies = [ - "digest 0.10.6", -] - -[[package]] -name = "rocksdb" -version = "0.20.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "015439787fce1e75d55f279078d33ff14b4af5d93d995e8838ee4631301c8a99" -dependencies = [ - "libc", - "librocksdb-sys", -] - -[[package]] -name = "rust-ini" -version = "0.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e52c148ef37f8c375d49d5a73aa70713125b7f19095948a923f80afdeb22ec2" - -[[package]] -name = "rustc-demangle" -version = "0.1.22" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4a36c42d1873f9a77c53bde094f9664d9891bc604a45b4798fd2c389ed12e5b" - -[[package]] -name = "rustc-hash" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" - -[[package]] -name = "rustc-hex" -version = "2.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e75f6a532d0fd9f7f13144f392b6ad56a32696bfcd9c78f797f16bbb6f072d6" - -[[package]] -name = "rustc_version" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366" -dependencies = [ - "semver", -] - -[[package]] -name = "rustix" -version = "0.37.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85597d61f83914ddeba6a47b3b8ffe7365107221c2e557ed94426489fefb5f77" -dependencies = [ - "bitflags", - "errno", - "io-lifetimes", - "libc", - "linux-raw-sys", - "windows-sys 0.48.0", -] - -[[package]] -name = "rustls" -version = "0.20.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fff78fc74d175294f4e83b28343315ffcfb114b156f0185e9741cb5570f50e2f" -dependencies = [ - "log", - "ring", - "sct", - "webpki", -] - -[[package]] -name = "rustls-pemfile" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d194b56d58803a43635bdc398cd17e383d6f71f9182b9a192c127ca42494a59b" -dependencies = [ - "base64 0.21.0", -] - -[[package]] -name = "rustversion" -version = "1.0.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4f3208ce4d8448b3f3e7d168a73f5e0c43a61e32930de3bceeccedb388b6bf06" - -[[package]] -name = "rusty-fork" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb3dcc6e454c328bb824492db107ab7c0ae8fcffe4ad210136ef014458c1bc4f" -dependencies = [ - "fnv", - "quick-error 1.2.3", - "tempfile", - "wait-timeout", -] - -[[package]] -name = "ryu" -version = "1.0.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f91339c0467de62360649f8d3e185ca8de4224ff281f66000de5eb2a77a79041" - -[[package]] -name = "same-file" -version = "1.0.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" -dependencies = [ - "winapi-util", -] - -[[package]] -name = "schannel" -version = "0.1.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "713cfb06c7059f3588fb8044c0fad1d09e3c01d225e25b9220dbfdcf16dbb1b3" -dependencies = [ - "windows-sys 0.42.0", -] - -[[package]] -name = "scopeguard" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd" - -[[package]] -name = "scratch" -version = "1.0.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1792db035ce95be60c3f8853017b3999209281c24e2ba5bc8e59bf97a0c590c1" - -[[package]] -name = "sct" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d53dcdb7c9f8158937a7981b48accfd39a43af418591a5d008c7b22b5e1b7ca4" -dependencies = [ - "ring", - "untrusted", -] - -[[package]] -name = "security-framework" -version = "2.8.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a332be01508d814fed64bf28f798a146d73792121129962fdf335bb3c49a4254" -dependencies = [ - "bitflags", - "core-foundation", - "core-foundation-sys", - "libc", - "security-framework-sys", -] - -[[package]] -name = "security-framework-sys" -version = "2.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "31c9bb296072e961fcbd8853511dd39c2d8be2deb1e17c6860b1d30732b323b4" -dependencies = [ - "core-foundation-sys", - "libc", -] - -[[package]] -name = "semver" -version = "1.0.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bebd363326d05ec3e2f532ab7660680f3b02130d780c299bca73469d521bc0ed" - -[[package]] -name = "serde" -version = "0.8.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9dad3f759919b92c3068c696c15c3d17238234498bbdcc80f2c469606f948ac8" - -[[package]] -name = "serde" -version = "1.0.177" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "63ba2516aa6bf82e0b19ca8b50019d52df58455d3cf9bdaf6315225fdd0c560a" -dependencies = [ - "serde_derive", -] - -[[package]] -name = "serde-generate" -version = "0.20.6" -source = "git+https://github.com/aptos-labs/serde-reflection?rev=839aed62a20ddccf043c08961cfe74875741ccba#839aed62a20ddccf043c08961cfe74875741ccba" -dependencies = [ - "bcs 0.1.5", - "bincode", - "heck 0.3.3", - "include_dir 0.6.2", - "maplit", - "serde 1.0.177", - "serde-reflection 0.3.5", - "serde_bytes", - "serde_yaml 0.8.26", - "structopt", - "textwrap 0.13.4", -] - -[[package]] -name = "serde-hjson" -version = "0.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a3a4e0ea8a88553209f6cc6cfe8724ecad22e1acf372793c27d995290fe74f8" -dependencies = [ - "lazy_static 1.4.0", - "num-traits 0.1.43", - "regex", - "serde 0.8.23", -] - -[[package]] -name = "serde-name" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "12c47087018ec281d1cdab673d36aea22d816b54d498264029c05d5fa1910da6" -dependencies = [ - "serde 1.0.177", - "thiserror", -] - -[[package]] -name = "serde-reflection" -version = "0.3.5" -source = "git+https://github.com/aptos-labs/serde-reflection?rev=839aed62a20ddccf043c08961cfe74875741ccba#839aed62a20ddccf043c08961cfe74875741ccba" -dependencies = [ - "once_cell", - "serde 1.0.177", - "thiserror", -] - -[[package]] -name = "serde-reflection" -version = "0.3.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f05a5f801ac62a51a49d378fdb3884480041b99aced450b28990673e8ff99895" -dependencies = [ - "once_cell", - "serde 1.0.177", - "thiserror", -] - -[[package]] -name = "serde-value" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3a1a3341211875ef120e117ea7fd5228530ae7e7036a779fdc9117be6b3282c" -dependencies = [ - "ordered-float", - "serde 1.0.177", -] - -[[package]] -name = "serde_bytes" -version = "0.11.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "416bda436f9aab92e02c8e10d49a15ddd339cea90b6e340fe51ed97abb548294" -dependencies = [ - "serde 1.0.177", -] - -[[package]] -name = "serde_derive" -version = "1.0.177" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "401797fe7833d72109fedec6bfcbe67c0eed9b99772f26eb8afd261f0abc6fd3" -dependencies = [ - "proc-macro2 1.0.66", - "quote 1.0.32", - "syn 2.0.27", -] - -[[package]] -name = "serde_json" -version = "1.0.95" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d721eca97ac802aa7777b701877c8004d950fc142651367300d21c1cc0194744" -dependencies = [ - "indexmap", - "itoa", - "ryu", - "serde 1.0.177", -] - -[[package]] -name = "serde_urlencoded" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3491c14715ca2294c4d6a88f15e84739788c1d030eed8c110436aafdaa2f3fd" -dependencies = [ - "form_urlencoded", - "itoa", - "ryu", - "serde 1.0.177", -] - -[[package]] -name = "serde_yaml" -version = "0.8.26" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "578a7433b776b56a35785ed5ce9a7e777ac0598aac5a6dd1b4b18a307c7fc71b" -dependencies = [ - "indexmap", - "ryu", - "serde 1.0.177", - "yaml-rust", -] - -[[package]] -name = "serde_yaml" -version = "0.9.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9d684e3ec7de3bf5466b32bd75303ac16f0736426e5a4e0d6e489559ce1249c" -dependencies = [ - "indexmap", - "itoa", - "ryu", - "serde 1.0.177", - "unsafe-libyaml", -] - -[[package]] -name = "sha1" -version = "0.10.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f04293dc80c3993519f2d7f6f511707ee7094fe0c6d3406feb330cdb3540eba3" -dependencies = [ - "cfg-if", - "cpufeatures", - "digest 0.10.6", -] - -[[package]] -name = "sha2" -version = "0.9.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d58a1e1bf39749807d89cf2d98ac2dfa0ff1cb3faa38fbb64dd88ac8013d800" -dependencies = [ - "block-buffer 0.9.0", - "cfg-if", - "cpufeatures", - "digest 0.9.0", - "opaque-debug", -] - -[[package]] -name = "sha2" -version = "0.10.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "82e6b795fe2e3b1e845bafcb27aa35405c4d47cdfc92af5fc8d3002f76cebdc0" -dependencies = [ - "cfg-if", - "cpufeatures", - "digest 0.10.6", -] - -[[package]] -name = "sha3" -version = "0.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f81199417d4e5de3f04b1e871023acea7389672c4135918f05aa9cbf2f2fa809" -dependencies = [ - "block-buffer 0.9.0", - "digest 0.9.0", - "keccak", - "opaque-debug", -] - -[[package]] -name = "sharded-slab" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "900fba806f70c630b0a382d0d825e17a0f19fcd059a2ade1ff237bcddf446b31" -dependencies = [ - "lazy_static 1.4.0", -] - -[[package]] -name = "shlex" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43b2853a4d09f215c24cc5489c992ce46052d359b5109343cbafbf26bc62f8a3" - -[[package]] -name = "signal-hook-registry" -version = "1.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d8229b473baa5980ac72ef434c4415e70c4b5e71b423043adb4ba059f89c99a1" -dependencies = [ - "libc", -] - -[[package]] -name = "signature" -version = "1.6.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "74233d3b3b2f6d4b006dc19dee745e73e2a6bfb6f93607cd3b02bd5b00797d7c" - -[[package]] -name = "simplelog" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4bc0ffd69814a9b251d43afcabf96dad1b29f5028378056257be9e3fecc9f720" -dependencies = [ - "chrono", - "log", - "termcolor", -] - -[[package]] -name = "siphasher" -version = "0.3.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7bd3e3206899af3f8b12af284fafc038cc1dc2b41d1b89dd17297221c5d225de" - -[[package]] -name = "sized-chunks" -version = "0.6.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "16d69225bde7a69b235da73377861095455d298f2b970996eec25ddbb42b3d1e" -dependencies = [ - "bitmaps", - "typenum", -] - -[[package]] -name = "slab" -version = "0.4.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6528351c9bc8ab22353f9d776db39a20288e8d6c37ef8cfe3317cf875eecfc2d" -dependencies = [ - "autocfg", -] - -[[package]] -name = "slug" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b3bc762e6a4b6c6fcaade73e77f9ebc6991b676f88bb2358bddb56560f073373" -dependencies = [ - "deunicode", -] - -[[package]] -name = "smallvec" -version = "1.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a507befe795404456341dfab10cef66ead4c041f62b8b11bbb92bffe5d0953e0" - -[[package]] -name = "smawk" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f67ad224767faa3c7d8b6d91985b78e70a1324408abcb1cfcc2be4c06bc06043" - -[[package]] -name = "socket2" -version = "0.4.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "64a4a911eed85daf18834cfaa86a79b7d266ff93ff5ba14005426219480ed662" -dependencies = [ - "libc", - "winapi 0.3.9", -] - -[[package]] -name = "spin" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d" - -[[package]] -name = "spin" -version = "0.9.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67" - -[[package]] -name = "stable_deref_trait" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" - -[[package]] -name = "static_assertions" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" - -[[package]] -name = "strsim" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a" - -[[package]] -name = "strsim" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" - -[[package]] -name = "structopt" -version = "0.3.26" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c6b5c64445ba8094a6ab0c3cd2ad323e07171012d9c98b0b15651daf1787a10" -dependencies = [ - "clap 2.34.0", - "lazy_static 1.4.0", - "structopt-derive", -] - -[[package]] -name = "structopt-derive" -version = "0.4.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dcb5ae327f9cc13b68763b5749770cb9e048a99bd9dfdfa58d0cf05d5f64afe0" -dependencies = [ - "heck 0.3.3", - "proc-macro-error", - "proc-macro2 1.0.66", - "quote 1.0.32", - "syn 1.0.109", -] - -[[package]] -name = "strum" -version = "0.24.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "063e6045c0e62079840579a7e47a355ae92f60eb74daaf156fb1e84ba164e63f" - -[[package]] -name = "strum_macros" -version = "0.24.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e385be0d24f186b4ce2f9982191e7101bb737312ad61c1f2f984f34bcf85d59" -dependencies = [ - "heck 0.4.1", - "proc-macro2 1.0.66", - "quote 1.0.32", - "rustversion", - "syn 1.0.109", -] - -[[package]] -name = "subtle" -version = "2.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6bdef32e8150c2a081110b42772ffe7d7c9032b606bc226c8260fd97e0976601" - -[[package]] -name = "syn" -version = "0.15.44" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ca4b3b69a77cbe1ffc9e198781b7acb0c7365a883670e8f1c1bc66fba79a5c5" -dependencies = [ - "proc-macro2 0.4.30", - "quote 0.6.13", - "unicode-xid", -] - -[[package]] -name = "syn" -version = "1.0.109" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" -dependencies = [ - "proc-macro2 1.0.66", - "quote 1.0.32", - "unicode-ident", -] - -[[package]] -name = "syn" -version = "2.0.27" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b60f673f44a8255b9c8c657daf66a596d435f2da81a555b06dc644d080ba45e0" -dependencies = [ - "proc-macro2 1.0.66", - "quote 1.0.32", - "unicode-ident", -] - -[[package]] -name = "tap" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" - -[[package]] -name = "tempfile" -version = "3.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9fbec84f381d5795b08656e4912bec604d162bff9291d6189a78f4c8ab87998" -dependencies = [ - "cfg-if", - "fastrand", - "redox_syscall 0.3.5", - "rustix", - "windows-sys 0.45.0", -] - -[[package]] -name = "tera" -version = "1.17.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3df578c295f9ec044ff1c829daf31bb7581d5b3c2a7a3d87419afe1f2531438c" -dependencies = [ - "chrono", - "chrono-tz", - "globwalk", - "humansize", - "lazy_static 1.4.0", - "percent-encoding", - "pest", - "pest_derive", - "rand 0.8.5", - "regex", - "serde 1.0.177", - "serde_json", - "slug", - "unic-segment", -] - -[[package]] -name = "termcolor" -version = "1.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bab24d30b911b2376f3a13cc2cd443142f0c81dda04c118693e35b3835757755" -dependencies = [ - "winapi-util", -] - -[[package]] -name = "textwrap" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060" -dependencies = [ - "unicode-width", -] - -[[package]] -name = "textwrap" -version = "0.13.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd05616119e612a8041ef58f2b578906cc2531a6069047ae092cfb86a325d835" -dependencies = [ - "smawk", - "unicode-width", -] - -[[package]] -name = "textwrap" -version = "0.15.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b7b3e525a49ec206798b40326a44121291b530c963cfb01018f63e135bac543d" -dependencies = [ - "smawk", - "unicode-linebreak", - "unicode-width", -] - -[[package]] -name = "textwrap" -version = "0.16.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "222a222a5bfe1bba4a77b45ec488a741b3cb8872e5e499451fd7d0129c9c7c3d" - -[[package]] -name = "thiserror" -version = "1.0.44" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "611040a08a0439f8248d1990b111c95baa9c704c805fa1f62104b39655fd7f90" -dependencies = [ - "thiserror-impl", -] - -[[package]] -name = "thiserror-impl" -version = "1.0.44" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "090198534930841fab3a5d1bb637cde49e339654e606195f8d9c76eeb081dc96" -dependencies = [ - "proc-macro2 1.0.66", - "quote 1.0.32", - "syn 2.0.27", -] - -[[package]] -name = "thread_local" -version = "1.1.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3fdd6f064ccff2d6567adcb3873ca630700f00b5ad3f060c25b5dcfd9a4ce152" -dependencies = [ - "cfg-if", - "once_cell", -] - -[[package]] -name = "threadpool" -version = "1.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d050e60b33d41c19108b32cea32164033a9013fe3b46cbd4457559bfbf77afaa" -dependencies = [ - "num_cpus", -] - -[[package]] -name = "time" -version = "0.1.45" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b797afad3f312d1c66a56d11d0316f916356d11bd158fbc6ca6389ff6bf805a" -dependencies = [ - "libc", - "wasi 0.10.0+wasi-snapshot-preview1", - "winapi 0.3.9", -] - -[[package]] -name = "time" -version = "0.3.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd0cbfecb4d19b5ea75bb31ad904eb5b9fa13f21079c3b92017ebdf4999a5890" -dependencies = [ - "itoa", - "serde 1.0.177", - "time-core", - "time-macros", -] - -[[package]] -name = "time-core" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e153e1f1acaef8acc537e68b44906d2db6436e2b35ac2c6b42640fff91f00fd" - -[[package]] -name = "time-macros" -version = "0.2.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fd80a657e71da814b8e5d60d3374fc6d35045062245d80224748ae522dd76f36" -dependencies = [ - "time-core", -] - -[[package]] -name = "tint" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7af24570664a3074673dbbf69a65bdae0ae0b72f2949b1adfbacb736ee4d6896" -dependencies = [ - "lazy_static 0.2.11", -] - -[[package]] -name = "tiny-bip39" -version = "0.8.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ffc59cb9dfc85bb312c3a78fd6aa8a8582e310b0fa885d5bb877f6dcc601839d" -dependencies = [ - "anyhow", - "hmac 0.8.1", - "once_cell", - "pbkdf2", - "rand 0.7.3", - "rustc-hash", - "sha2 0.9.9", - "thiserror", - "unicode-normalization", - "wasm-bindgen", - "zeroize", -] - -[[package]] -name = "tiny-keccak" -version = "2.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c9d3793400a45f954c52e73d068316d76b6f4e36977e3fcebb13a2721e80237" -dependencies = [ - "crunchy", -] - -[[package]] -name = "tinyvec" -version = "1.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87cc5ceb3875bb20c2890005a4e226a4651264a5c75edb2421b52861a0a0cb50" -dependencies = [ - "tinyvec_macros", -] - -[[package]] -name = "tinyvec_macros" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" - -[[package]] -name = "tokio" -version = "1.27.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d0de47a4eecbe11f498978a9b29d792f0d2692d1dd003650c24c76510e3bc001" -dependencies = [ - "autocfg", - "bytes", - "libc", - "mio", - "num_cpus", - "parking_lot 0.12.1", - "pin-project-lite", - "signal-hook-registry", - "socket2", - "tokio-macros", - "windows-sys 0.45.0", -] - -[[package]] -name = "tokio-macros" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61a573bdc87985e9d6ddeed1b3d864e8a302c847e40d647746df2f1de209d1ce" -dependencies = [ - "proc-macro2 1.0.66", - "quote 1.0.32", - "syn 2.0.27", -] - -[[package]] -name = "tokio-native-tls" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbae76ab933c85776efabc971569dd6119c580d8f5d448769dec1764bf796ef2" -dependencies = [ - "native-tls", - "tokio", -] - -[[package]] -name = "tokio-rustls" -version = "0.23.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c43ee83903113e03984cb9e5cebe6c04a5116269e900e3ddba8f068a62adda59" -dependencies = [ - "rustls", - "tokio", - "webpki", -] - -[[package]] -name = "tokio-stream" -version = "0.1.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8fb52b74f05dbf495a8fba459fdc331812b96aa086d9eb78101fa0d4569c3313" -dependencies = [ - "futures-core", - "pin-project-lite", - "tokio", -] - -[[package]] -name = "tokio-util" -version = "0.7.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5427d89453009325de0d8f342c9490009f76e999cb7672d77e46267448f7e6b2" -dependencies = [ - "bytes", - "futures-core", - "futures-sink", - "pin-project-lite", - "tokio", - "tracing", -] - -[[package]] -name = "toml" -version = "0.5.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4f7f0dd8d50a853a531c426359045b1998f04219d88799810762cd4ad314234" -dependencies = [ - "serde 1.0.177", -] - -[[package]] -name = "toml_datetime" -version = "0.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ab8ed2edee10b50132aed5f331333428b011c99402b5a534154ed15746f9622" - -[[package]] -name = "toml_edit" -version = "0.19.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "239410c8609e8125456927e6707163a3b1fdb40561e4b803bc041f466ccfdc13" -dependencies = [ - "indexmap", - "toml_datetime", - "winnow", -] - -[[package]] -name = "tower-service" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6bc1c9ce2b5135ac7f93c72918fc37feb872bdc6a5533a8b85eb4b86bfdae52" - -[[package]] -name = "tracing" -version = "0.1.37" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ce8c33a8d48bd45d624a6e523445fd21ec13d3653cd51f681abf67418f54eb8" -dependencies = [ - "cfg-if", - "pin-project-lite", - "tracing-attributes", - "tracing-core", -] - -[[package]] -name = "tracing-attributes" -version = "0.1.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4017f8f45139870ca7e672686113917c71c7a6e02d4924eda67186083c03081a" -dependencies = [ - "proc-macro2 1.0.66", - "quote 1.0.32", - "syn 1.0.109", -] - -[[package]] -name = "tracing-core" -version = "0.1.30" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24eb03ba0eab1fd845050058ce5e616558e8f8d8fca633e6b163fe25c797213a" -dependencies = [ - "once_cell", - "valuable", -] - -[[package]] -name = "tracing-log" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78ddad33d2d10b1ed7eb9d1f518a5674713876e97e5bb9b7345a7984fbb4f922" -dependencies = [ - "lazy_static 1.4.0", - "log", - "tracing-core", -] - -[[package]] -name = "tracing-subscriber" -version = "0.3.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a6176eae26dd70d0c919749377897b54a9276bd7061339665dd68777926b5a70" -dependencies = [ - "nu-ansi-term", - "sharded-slab", - "smallvec", - "thread_local", - "tracing-core", - "tracing-log", -] - -[[package]] -name = "try-lock" -version = "0.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3528ecfd12c466c6f163363caf2d02a71161dd5e1cc6ae7b34207ea2d42d81ed" - -[[package]] -name = "typed-arena" -version = "2.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6af6ae20167a9ece4bcb41af5b80f8a1f1df981f6391189ce00fd257af04126a" - -[[package]] -name = "typenum" -version = "1.16.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "497961ef93d974e23eb6f433eb5fe1b7930b659f06d12dec6fc44a8f554c0bba" - -[[package]] -name = "types" -version = "0.1.0" -dependencies = [ - "chrono", - "serde 1.0.177", - "thiserror", -] - -[[package]] -name = "ucd-trie" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e79c4d996edb816c91e4308506774452e55e95c3c9de07b6729e17e15a5ef81" - -[[package]] -name = "uint" -version = "0.9.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76f64bba2c53b04fcab63c01a7d7427eadc821e3bc48c34dc9ba29c501164b52" -dependencies = [ - "byteorder", - "crunchy", - "hex", - "static_assertions", -] - -[[package]] -name = "unarray" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eaea85b334db583fe3274d12b4cd1880032beab409c0d774be044d4480ab9a94" - -[[package]] -name = "uncased" -version = "0.9.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09b01702b0fd0b3fadcf98e098780badda8742d4f4a7676615cad90e8ac73622" -dependencies = [ - "version_check", -] - -[[package]] -name = "unic-char-property" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8c57a407d9b6fa02b4795eb81c5b6652060a15a7903ea981f3d723e6c0be221" -dependencies = [ - "unic-char-range", -] - -[[package]] -name = "unic-char-range" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0398022d5f700414f6b899e10b8348231abf9173fa93144cbc1a43b9793c1fbc" - -[[package]] -name = "unic-common" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "80d7ff825a6a654ee85a63e80f92f054f904f21e7d12da4e22f9834a4aaa35bc" - -[[package]] -name = "unic-segment" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e4ed5d26be57f84f176157270c112ef57b86debac9cd21daaabbe56db0f88f23" -dependencies = [ - "unic-ucd-segment", -] - -[[package]] -name = "unic-ucd-segment" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2079c122a62205b421f499da10f3ee0f7697f012f55b675e002483c73ea34700" -dependencies = [ - "unic-char-property", - "unic-char-range", - "unic-ucd-version", -] - -[[package]] -name = "unic-ucd-version" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96bd2f2237fe450fcd0a1d2f5f4e91711124f7857ba2e964247776ebeeb7b0c4" -dependencies = [ - "unic-common", -] - -[[package]] -name = "unicode-bidi" -version = "0.3.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "92888ba5573ff080736b3648696b70cafad7d250551175acbaa4e0385b3e1460" - -[[package]] -name = "unicode-ident" -version = "1.0.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5464a87b239f13a63a501f2701565754bae92d243d4bb7eb12f6d57d2269bf4" - -[[package]] -name = "unicode-linebreak" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c5faade31a542b8b35855fff6e8def199853b2da8da256da52f52f1316ee3137" -dependencies = [ - "hashbrown 0.12.3", - "regex", -] - -[[package]] -name = "unicode-normalization" -version = "0.1.22" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c5713f0fc4b5db668a2ac63cdb7bb4469d8c9fed047b1d0292cc7b0ce2ba921" -dependencies = [ - "tinyvec", -] - -[[package]] -name = "unicode-segmentation" -version = "1.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1dd624098567895118886609431a7c3b8f516e41d30e0643f03d94592a147e36" - -[[package]] -name = "unicode-width" -version = "0.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0edd1e5b14653f783770bce4a4dabb4a5108a5370a5f5d8cfe8710c361f6c8b" - -[[package]] -name = "unicode-xid" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc72304796d0818e357ead4e000d19c9c174ab23dc11093ac919054d20a6a7fc" - -[[package]] -name = "universal-hash" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d3160b73c9a19f7e2939a2fdad446c57c1bbbbf4d919d3213ff1267a580d8b5" -dependencies = [ - "crypto-common", - "subtle", -] - -[[package]] -name = "unsafe-libyaml" -version = "0.2.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1865806a559042e51ab5414598446a5871b561d21b6764f2eabb0dd481d880a6" - -[[package]] -name = "untrusted" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a156c684c91ea7d62626509bce3cb4e1d9ed5c4d978f7b4352658f96a4c26b4a" - -[[package]] -name = "ureq" -version = "1.5.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b8b063c2d59218ae09f22b53c42eaad0d53516457905f5235ca4bc9e99daa71" -dependencies = [ - "base64 0.13.1", - "chunked_transfer", - "log", - "native-tls", - "once_cell", - "qstring", - "serde 1.0.177", - "serde_json", - "url", -] - -[[package]] -name = "url" -version = "2.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d68c799ae75762b8c3fe375feb6600ef5602c883c5d21eb51c09f22b83c4643" -dependencies = [ - "form_urlencoded", - "idna 0.3.0", - "percent-encoding", - "serde 1.0.177", -] - -[[package]] -name = "valuable" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d" - -[[package]] -name = "variant_count" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aae2faf80ac463422992abf4de234731279c058aaf33171ca70277c98406b124" -dependencies = [ - "quote 1.0.32", - "syn 1.0.109", -] - -[[package]] -name = "vcpkg" -version = "0.2.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426" - -[[package]] -name = "vec_map" -version = "0.8.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191" - -[[package]] -name = "version_check" -version = "0.9.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" - -[[package]] -name = "wait-timeout" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f200f5b12eb75f8c1ed65abd4b2db8a6e1b138a20de009dacee265a2498f3f6" -dependencies = [ - "libc", -] - -[[package]] -name = "walkdir" -version = "2.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "36df944cda56c7d8d8b7496af378e6b16de9284591917d307c9b4d313c44e698" -dependencies = [ - "same-file", - "winapi-util", -] - -[[package]] -name = "want" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ce8a968cb1cd110d136ff8b819a556d6fb6d919363c61534f6860c7eb172ba0" -dependencies = [ - "log", - "try-lock", -] - -[[package]] -name = "wasi" -version = "0.9.0+wasi-snapshot-preview1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519" - -[[package]] -name = "wasi" -version = "0.10.0+wasi-snapshot-preview1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a143597ca7c7793eff794def352d41792a93c481eb1042423ff7ff72ba2c31f" - -[[package]] -name = "wasi" -version = "0.11.0+wasi-snapshot-preview1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" - -[[package]] -name = "wasm-bindgen" -version = "0.2.84" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "31f8dcbc21f30d9b8f2ea926ecb58f6b91192c17e9d33594b3df58b2007ca53b" -dependencies = [ - "cfg-if", - "wasm-bindgen-macro", -] - -[[package]] -name = "wasm-bindgen-backend" -version = "0.2.84" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95ce90fd5bcc06af55a641a86428ee4229e44e07033963a2290a8e241607ccb9" -dependencies = [ - "bumpalo", - "log", - "once_cell", - "proc-macro2 1.0.66", - "quote 1.0.32", - "syn 1.0.109", - "wasm-bindgen-shared", -] - -[[package]] -name = "wasm-bindgen-futures" -version = "0.4.34" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f219e0d211ba40266969f6dbdd90636da12f75bee4fc9d6c23d1260dadb51454" -dependencies = [ - "cfg-if", - "js-sys", - "wasm-bindgen", - "web-sys", -] - -[[package]] -name = "wasm-bindgen-macro" -version = "0.2.84" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c21f77c0bedc37fd5dc21f897894a5ca01e7bb159884559461862ae90c0b4c5" -dependencies = [ - "quote 1.0.32", - "wasm-bindgen-macro-support", -] - -[[package]] -name = "wasm-bindgen-macro-support" -version = "0.2.84" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2aff81306fcac3c7515ad4e177f521b5c9a15f2b08f4e32d823066102f35a5f6" -dependencies = [ - "proc-macro2 1.0.66", - "quote 1.0.32", - "syn 1.0.109", - "wasm-bindgen-backend", - "wasm-bindgen-shared", -] - -[[package]] -name = "wasm-bindgen-shared" -version = "0.2.84" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0046fef7e28c3804e5e38bfa31ea2a0f73905319b677e57ebe37e49358989b5d" - -[[package]] -name = "wasm-streams" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6bbae3363c08332cadccd13b67db371814cd214c2524020932f0804b8cf7c078" -dependencies = [ - "futures-util", - "js-sys", - "wasm-bindgen", - "wasm-bindgen-futures", - "web-sys", -] - -[[package]] -name = "web-sys" -version = "0.3.61" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e33b99f4b23ba3eec1a53ac264e35a755f00e966e0065077d6027c0f575b0b97" -dependencies = [ - "js-sys", - "wasm-bindgen", -] - -[[package]] -name = "webpki" -version = "0.22.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f095d78192e208183081cc07bc5515ef55216397af48b873e5edcd72637fa1bd" -dependencies = [ - "ring", - "untrusted", -] - -[[package]] -name = "which" -version = "4.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2441c784c52b289a054b7201fc93253e288f094e2f4be9058343127c4226a269" -dependencies = [ - "either", - "libc", - "once_cell", -] - -[[package]] -name = "whoami" -version = "1.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c70234412ca409cc04e864e89523cb0fc37f5e1344ebed5a3ebf4192b6b9f68" -dependencies = [ - "wasm-bindgen", - "web-sys", -] - -[[package]] -name = "widestring" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "17882f045410753661207383517a6f62ec3dbeb6a4ed2acce01f0728238d1983" - -[[package]] -name = "winapi" -version = "0.2.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "167dc9d6949a9b857f3451275e911c3f44255842c1f7a76f33c55103a909087a" - -[[package]] -name = "winapi" -version = "0.3.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" -dependencies = [ - "winapi-i686-pc-windows-gnu", - "winapi-x86_64-pc-windows-gnu", -] - -[[package]] -name = "winapi-i686-pc-windows-gnu" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" - -[[package]] -name = "winapi-util" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178" -dependencies = [ - "winapi 0.3.9", -] - -[[package]] -name = "winapi-x86_64-pc-windows-gnu" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" - -[[package]] -name = "windows" -version = "0.48.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e686886bc078bc1b0b600cac0147aadb815089b6e4da64016cbd754b6342700f" -dependencies = [ - "windows-targets 0.48.0", -] - -[[package]] -name = "windows-sys" -version = "0.42.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a3e1820f08b8513f676f7ab6c1f99ff312fb97b553d30ff4dd86f9f15728aa7" -dependencies = [ - "windows_aarch64_gnullvm 0.42.2", - "windows_aarch64_msvc 0.42.2", - "windows_i686_gnu 0.42.2", - "windows_i686_msvc 0.42.2", - "windows_x86_64_gnu 0.42.2", - "windows_x86_64_gnullvm 0.42.2", - "windows_x86_64_msvc 0.42.2", -] - -[[package]] -name = "windows-sys" -version = "0.45.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75283be5efb2831d37ea142365f009c02ec203cd29a3ebecbc093d52315b66d0" -dependencies = [ - "windows-targets 0.42.2", -] - -[[package]] -name = "windows-sys" -version = "0.48.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" -dependencies = [ - "windows-targets 0.48.0", -] - -[[package]] -name = "windows-targets" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e5180c00cd44c9b1c88adb3693291f1cd93605ded80c250a75d472756b4d071" -dependencies = [ - "windows_aarch64_gnullvm 0.42.2", - "windows_aarch64_msvc 0.42.2", - "windows_i686_gnu 0.42.2", - "windows_i686_msvc 0.42.2", - "windows_x86_64_gnu 0.42.2", - "windows_x86_64_gnullvm 0.42.2", - "windows_x86_64_msvc 0.42.2", -] - -[[package]] -name = "windows-targets" -version = "0.48.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b1eb6f0cd7c80c79759c929114ef071b87354ce476d9d94271031c0497adfd5" -dependencies = [ - "windows_aarch64_gnullvm 0.48.0", - "windows_aarch64_msvc 0.48.0", - "windows_i686_gnu 0.48.0", - "windows_i686_msvc 0.48.0", - "windows_x86_64_gnu 0.48.0", - "windows_x86_64_gnullvm 0.48.0", - "windows_x86_64_msvc 0.48.0", -] - -[[package]] -name = "windows_aarch64_gnullvm" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8" - -[[package]] -name = "windows_aarch64_gnullvm" -version = "0.48.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91ae572e1b79dba883e0d315474df7305d12f569b400fcf90581b06062f7e1bc" - -[[package]] -name = "windows_aarch64_msvc" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43" - -[[package]] -name = "windows_aarch64_msvc" -version = "0.48.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2ef27e0d7bdfcfc7b868b317c1d32c641a6fe4629c171b8928c7b08d98d7cf3" - -[[package]] -name = "windows_i686_gnu" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f" - -[[package]] -name = "windows_i686_gnu" -version = "0.48.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "622a1962a7db830d6fd0a69683c80a18fda201879f0f447f065a3b7467daa241" - -[[package]] -name = "windows_i686_msvc" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060" - -[[package]] -name = "windows_i686_msvc" -version = "0.48.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4542c6e364ce21bf45d69fdd2a8e455fa38d316158cfd43b3ac1c5b1b19f8e00" - -[[package]] -name = "windows_x86_64_gnu" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36" - -[[package]] -name = "windows_x86_64_gnu" -version = "0.48.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca2b8a661f7628cbd23440e50b05d705db3686f894fc9580820623656af974b1" - -[[package]] -name = "windows_x86_64_gnullvm" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3" - -[[package]] -name = "windows_x86_64_gnullvm" -version = "0.48.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7896dbc1f41e08872e9d5e8f8baa8fdd2677f29468c4e156210174edc7f7b953" - -[[package]] -name = "windows_x86_64_msvc" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0" - -[[package]] -name = "windows_x86_64_msvc" -version = "0.48.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a515f5799fe4961cb532f983ce2b23082366b898e52ffbce459c86f67c8378a" - -[[package]] -name = "winnow" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae8970b36c66498d8ff1d66685dc86b91b29db0c7739899012f63a63814b4b28" -dependencies = [ - "memchr", -] - -[[package]] -name = "winreg" -version = "0.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "80d0f4e272c85def139476380b12f9ac60926689dd2e01d4923222f40580869d" -dependencies = [ - "winapi 0.3.9", -] - -[[package]] -name = "wyz" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85e60b0d1b5f99db2556934e21937020776a5d31520bf169e851ac44e6420214" - -[[package]] -name = "x25519-dalek" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2392b6b94a576b4e2bf3c5b2757d63f10ada8020a2e4d08ac849ebcf6ea8e077" -dependencies = [ - "curve25519-dalek", - "rand_core 0.5.1", - "zeroize", -] - -[[package]] -name = "yaml-rust" -version = "0.4.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56c1936c4cc7a1c9ab21a1ebb602eb942ba868cbd44a99cb7cdc5892335e1c85" -dependencies = [ - "linked-hash-map", -] - -[[package]] -name = "zeroize" -version = "1.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4756f7db3f7b5574938c3eb1c117038b8e07f95ee6718c0efad4ac21508f1efd" -dependencies = [ - "zeroize_derive", -] - -[[package]] -name = "zeroize_derive" -version = "1.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" -dependencies = [ - "proc-macro2 1.0.66", - "quote 1.0.32", - "syn 2.0.27", -] - -[[package]] -name = "zstd-sys" -version = "2.0.8+zstd.1.5.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5556e6ee25d32df2586c098bbfa278803692a20d0ab9565e049480d52707ec8c" -dependencies = [ - "cc", - "libc", - "pkg-config", -] diff --git a/src/rust/sdk/Cargo.toml b/src/rust/sdk/Cargo.toml index 5c224fd8d..e86a8197e 100644 --- a/src/rust/sdk/Cargo.toml +++ b/src/rust/sdk/Cargo.toml @@ -11,8 +11,8 @@ repository = "https://github.com/econia-labs/rust_sdk" keywords = ["aptos", "econia", "dex", "clob", "sdk", "blockchain"] [dependencies] -aptos-api-types = { git = "https://github.com/aptos-labs/aptos-core", branch = "main" } -aptos-sdk = { git = "https://github.com/aptos-labs/aptos-core", branch = "main" } +aptos-api-types = { git = "https://github.com/aptos-labs/aptos-core", tag = "aptos-node-v1.7.2" } +aptos-sdk.workspace = true econia-types = { package = "types", path = "../types", features = ["serde"] } futures = "0.3.24" hex = { version = "0.4.3" } diff --git a/src/rust/sdk/example/Cargo.lock b/src/rust/sdk/example/Cargo.lock deleted file mode 100644 index 3fb42e0a8..000000000 --- a/src/rust/sdk/example/Cargo.lock +++ /dev/null @@ -1,6526 +0,0 @@ -# This file is automatically @generated by Cargo. -# It is not intended for manual editing. -version = 3 - -[[package]] -name = "Inflector" -version = "0.11.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fe438c63458706e03479442743baae6c88256498e6431708f6dfc520a26515d3" - -[[package]] -name = "addr2line" -version = "0.19.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a76fd60b23679b7d19bd066031410fb7e458ccc5e958eb5c325888ce4baedc97" -dependencies = [ - "gimli", -] - -[[package]] -name = "adler" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" - -[[package]] -name = "aead" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d122413f284cf2d62fb1b7db97e02edb8cda96d769b16e443a4f6195e35662b0" -dependencies = [ - "crypto-common", - "generic-array", -] - -[[package]] -name = "aes" -version = "0.8.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "433cfd6710c9986c576a25ca913c39d66a6474107b406f34f91d4a8923395241" -dependencies = [ - "cfg-if", - "cipher", - "cpufeatures", -] - -[[package]] -name = "aes-gcm" -version = "0.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "82e1366e0c69c9f927b1fa5ce2c7bf9eafc8f9268c0b9800729e8b267612447c" -dependencies = [ - "aead", - "aes", - "cipher", - "ctr", - "ghash", - "subtle", -] - -[[package]] -name = "ahash" -version = "0.7.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fcb51a0695d8f838b1ee009b3fbf66bda078cd64590202a864a8f3e8c4315c47" -dependencies = [ - "getrandom 0.2.9", - "once_cell", - "version_check", -] - -[[package]] -name = "ahash" -version = "0.8.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c99f64d1e06488f620f932677e24bc6e2897582980441ae90a671415bd7ec2f" -dependencies = [ - "cfg-if", - "once_cell", - "version_check", -] - -[[package]] -name = "aho-corasick" -version = "0.7.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cc936419f96fa211c1b9166887b38e5e40b19958e5b895be7c1f93adec7071ac" -dependencies = [ - "memchr", -] - -[[package]] -name = "android-tzdata" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e999941b234f3131b00bc13c22d06e8c5ff726d1b6318ac7eb276997bbb4fef0" - -[[package]] -name = "android_system_properties" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311" -dependencies = [ - "libc", -] - -[[package]] -name = "ansi_term" -version = "0.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d52a9bb7ec0cf484c551830a7ce27bd20d67eac647e1befb56b0be4ee39a55d2" -dependencies = [ - "winapi 0.3.9", -] - -[[package]] -name = "anstream" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ca84f3628370c59db74ee214b3263d58f9aadd9b4fe7e711fd87dc452b7f163" -dependencies = [ - "anstyle", - "anstyle-parse", - "anstyle-query", - "anstyle-wincon", - "colorchoice", - "is-terminal", - "utf8parse", -] - -[[package]] -name = "anstyle" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3a30da5c5f2d5e72842e00bcb57657162cdabef0931f40e2deb9b4140440cecd" - -[[package]] -name = "anstyle-parse" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "938874ff5980b03a87c5524b3ae5b59cf99b1d6bc836848df7bc5ada9643c333" -dependencies = [ - "utf8parse", -] - -[[package]] -name = "anstyle-query" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ca11d4be1bab0c8bc8734a9aa7bf4ee8316d462a08c6ac5052f888fef5b494b" -dependencies = [ - "windows-sys 0.48.0", -] - -[[package]] -name = "anstyle-wincon" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "180abfa45703aebe0093f79badacc01b8fd4ea2e35118747e5811127f926e188" -dependencies = [ - "anstyle", - "windows-sys 0.48.0", -] - -[[package]] -name = "anyhow" -version = "1.0.70" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7de8ce5e0f9f8d88245311066a578d72b7af3e7088f32783804676302df237e4" - -[[package]] -name = "aptos-aggregator" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "aptos-crypto", - "aptos-state-view", - "aptos-types", - "bcs 0.1.4", - "better_any", - "move-binary-format", - "move-core-types", - "move-table-extension", - "once_cell", - "smallvec", -] - -[[package]] -name = "aptos-api-types" -version = "0.0.1" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "aptos-config", - "aptos-crypto", - "aptos-framework", - "aptos-logger", - "aptos-openapi", - "aptos-storage-interface", - "aptos-types", - "aptos-vm", - "async-trait", - "bcs 0.1.4", - "hex", - "indoc", - "move-binary-format", - "move-core-types", - "move-resource-viewer", - "poem", - "poem-openapi", - "serde 1.0.183", - "serde_json", -] - -[[package]] -name = "aptos-bitvec" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "serde 1.0.183", - "serde_bytes", -] - -[[package]] -name = "aptos-block-executor" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "aptos-aggregator", - "aptos-infallible", - "aptos-logger", - "aptos-metrics-core", - "aptos-mvhashmap", - "aptos-state-view", - "aptos-types", - "aptos-vm-logging", - "arc-swap", - "bcs 0.1.4", - "crossbeam", - "crossbeam-queue", - "dashmap", - "move-binary-format", - "num_cpus", - "once_cell", - "parking_lot 0.12.1", - "rayon", -] - -[[package]] -name = "aptos-cached-packages" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "aptos-framework", - "aptos-types", - "bcs 0.1.4", - "include_dir 0.7.3", - "move-core-types", - "once_cell", -] - -[[package]] -name = "aptos-config" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "aptos-crypto", - "aptos-crypto-derive", - "aptos-global-constants", - "aptos-logger", - "aptos-secure-storage", - "aptos-short-hex-str", - "aptos-temppath", - "aptos-types", - "bcs 0.1.4", - "byteorder", - "get_if_addrs", - "mirai-annotations", - "poem-openapi", - "rand 0.7.3", - "serde 1.0.183", - "serde_yaml 0.8.26", - "thiserror", - "url", -] - -[[package]] -name = "aptos-crypto" -version = "0.0.3" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "aptos-crypto-derive", - "ark-ec", - "ark-ff", - "ark-std", - "bcs 0.1.4", - "blst", - "bytes", - "curve25519-dalek", - "digest 0.9.0", - "ed25519-dalek", - "hex", - "hkdf 0.10.0", - "libsecp256k1", - "more-asserts", - "once_cell", - "proptest", - "proptest-derive", - "rand 0.7.3", - "rand_core 0.5.1", - "ring", - "serde 1.0.183", - "serde-name", - "serde_bytes", - "sha2 0.10.6", - "sha2 0.9.9", - "static_assertions", - "thiserror", - "tiny-keccak", - "x25519-dalek", -] - -[[package]] -name = "aptos-crypto-derive" -version = "0.0.3" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "proc-macro2 1.0.66", - "quote 1.0.33", - "syn 1.0.109", -] - -[[package]] -name = "aptos-framework" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "aptos-aggregator", - "aptos-crypto", - "aptos-gas-algebra-ext", - "aptos-move-stdlib", - "aptos-sdk-builder", - "aptos-state-view", - "aptos-types", - "ark-bls12-381", - "ark-ec", - "ark-ff", - "ark-serialize", - "ark-std", - "base64 0.13.1", - "bcs 0.1.4", - "better_any", - "blake2-rfc", - "blst", - "clap 3.2.23", - "codespan-reporting", - "curve25519-dalek", - "flate2", - "hex", - "include_dir 0.7.3", - "itertools", - "libsecp256k1", - "log", - "move-binary-format", - "move-command-line-common", - "move-compiler", - "move-core-types", - "move-docgen", - "move-model", - "move-package", - "move-prover", - "move-prover-boogie-backend", - "move-stackless-bytecode", - "move-table-extension", - "move-vm-runtime", - "move-vm-types", - "num-traits 0.2.15", - "once_cell", - "rand 0.7.3", - "rand_core 0.5.1", - "rayon", - "ripemd", - "serde 1.0.183", - "serde_bytes", - "serde_json", - "serde_yaml 0.8.26", - "sha2 0.10.6", - "sha2 0.9.9", - "sha3", - "siphasher", - "smallvec", - "tempfile", - "thiserror", - "tiny-keccak", -] - -[[package]] -name = "aptos-gas" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "aptos-framework", - "aptos-gas-algebra-ext", - "aptos-global-constants", - "aptos-logger", - "aptos-move-stdlib", - "aptos-package-builder", - "aptos-types", - "bcs 0.1.4", - "clap 3.2.23", - "move-binary-format", - "move-core-types", - "move-model", - "move-table-extension", - "move-vm-types", -] - -[[package]] -name = "aptos-gas-algebra-ext" -version = "0.0.1" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "move-core-types", -] - -[[package]] -name = "aptos-github-client" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "aptos-proxy", - "serde 1.0.183", - "serde_json", - "thiserror", - "ureq", -] - -[[package]] -name = "aptos-global-constants" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" - -[[package]] -name = "aptos-infallible" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" - -[[package]] -name = "aptos-log-derive" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "proc-macro2 1.0.66", - "quote 1.0.33", - "syn 1.0.109", -] - -[[package]] -name = "aptos-logger" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "aptos-infallible", - "aptos-log-derive", - "aptos-node-identity", - "backtrace", - "chrono", - "erased-serde", - "futures", - "hostname", - "once_cell", - "prometheus", - "serde 1.0.183", - "serde_json", - "strum", - "strum_macros", - "tokio", - "tracing", - "tracing-subscriber", -] - -[[package]] -name = "aptos-metrics-core" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "prometheus", -] - -[[package]] -name = "aptos-move-stdlib" -version = "0.1.1" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "hex", - "log", - "move-binary-format", - "move-command-line-common", - "move-compiler", - "move-core-types", - "move-docgen", - "move-errmapgen", - "move-prover", - "move-vm-runtime", - "move-vm-types", - "sha2 0.9.9", - "sha3", - "smallvec", - "walkdir", -] - -[[package]] -name = "aptos-mvhashmap" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "aptos-aggregator", - "aptos-crypto", - "aptos-infallible", - "aptos-types", - "bcs 0.1.4", - "crossbeam", - "dashmap", -] - -[[package]] -name = "aptos-node-identity" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "aptos-types", - "claims", - "hostname", - "once_cell", -] - -[[package]] -name = "aptos-openapi" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "async-trait", - "percent-encoding", - "poem", - "poem-openapi", - "serde 1.0.183", - "serde_json", -] - -[[package]] -name = "aptos-package-builder" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "aptos-framework", - "itertools", - "move-command-line-common", - "move-package", - "tempfile", -] - -[[package]] -name = "aptos-proxy" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "ipnet", -] - -[[package]] -name = "aptos-rest-client" -version = "0.0.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "aptos-api-types", - "aptos-crypto", - "aptos-infallible", - "aptos-logger", - "aptos-types", - "bcs 0.1.4", - "bytes", - "futures", - "hex", - "move-binary-format", - "move-core-types", - "poem-openapi", - "reqwest", - "serde 1.0.183", - "serde_json", - "thiserror", - "tokio", - "url", -] - -[[package]] -name = "aptos-schemadb" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "aptos-infallible", - "aptos-logger", - "aptos-metrics-core", - "once_cell", - "rocksdb", -] - -[[package]] -name = "aptos-scratchpad" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "aptos-crypto", - "aptos-infallible", - "aptos-metrics-core", - "aptos-types", - "bitvec 0.19.6", - "itertools", - "once_cell", - "rayon", - "thiserror", -] - -[[package]] -name = "aptos-sdk" -version = "0.0.3" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "aptos-cached-packages", - "aptos-crypto", - "aptos-global-constants", - "aptos-rest-client", - "aptos-types", - "bcs 0.1.4", - "ed25519-dalek-bip32", - "move-core-types", - "rand_core 0.5.1", - "serde 1.0.183", - "tiny-bip39", -] - -[[package]] -name = "aptos-sdk-builder" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "aptos-types", - "bcs 0.1.4", - "heck 0.3.3", - "move-core-types", - "once_cell", - "regex", - "serde-generate", - "serde-reflection 0.3.5", - "serde_yaml 0.8.26", - "structopt", - "textwrap 0.15.2", -] - -[[package]] -name = "aptos-secure-net" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "aptos-logger", - "aptos-metrics-core", - "once_cell", - "serde 1.0.183", - "thiserror", -] - -[[package]] -name = "aptos-secure-storage" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "aptos-crypto", - "aptos-github-client", - "aptos-infallible", - "aptos-logger", - "aptos-schemadb", - "aptos-temppath", - "aptos-time-service", - "aptos-vault-client", - "base64 0.13.1", - "bcs 0.1.4", - "chrono", - "enum_dispatch", - "rand 0.7.3", - "serde 1.0.183", - "serde_json", - "thiserror", -] - -[[package]] -name = "aptos-short-hex-str" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "mirai-annotations", - "serde 1.0.183", - "static_assertions", - "thiserror", -] - -[[package]] -name = "aptos-speculative-state-helper" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "aptos-infallible", - "crossbeam", - "once_cell", - "rayon", -] - -[[package]] -name = "aptos-state-view" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "aptos-crypto", - "aptos-types", - "bcs 0.1.4", - "serde 1.0.183", - "serde_bytes", - "serde_json", -] - -[[package]] -name = "aptos-storage-interface" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "aptos-crypto", - "aptos-logger", - "aptos-metrics-core", - "aptos-scratchpad", - "aptos-secure-net", - "aptos-state-view", - "aptos-types", - "aptos-vm", - "bcs 0.1.4", - "crossbeam-channel", - "dashmap", - "move-core-types", - "once_cell", - "parking_lot 0.12.1", - "rayon", - "serde 1.0.183", - "thiserror", -] - -[[package]] -name = "aptos-temppath" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "hex", - "rand 0.7.3", -] - -[[package]] -name = "aptos-time-service" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "aptos-infallible", - "enum_dispatch", - "futures", - "pin-project", - "thiserror", - "tokio", -] - -[[package]] -name = "aptos-types" -version = "0.0.3" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "aptos-bitvec", - "aptos-crypto", - "aptos-crypto-derive", - "bcs 0.1.4", - "chrono", - "derivative", - "hex", - "itertools", - "move-core-types", - "move-table-extension", - "num-derive", - "num-traits 0.2.15", - "once_cell", - "proptest", - "proptest-derive", - "rand 0.7.3", - "serde 1.0.183", - "serde_bytes", - "serde_json", - "serde_yaml 0.8.26", - "thiserror", - "tiny-keccak", -] - -[[package]] -name = "aptos-vault-client" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "aptos-crypto", - "base64 0.13.1", - "chrono", - "native-tls", - "once_cell", - "serde 1.0.183", - "serde_json", - "thiserror", - "ureq", -] - -[[package]] -name = "aptos-vm" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "aptos-aggregator", - "aptos-block-executor", - "aptos-crypto", - "aptos-crypto-derive", - "aptos-framework", - "aptos-gas", - "aptos-logger", - "aptos-metrics-core", - "aptos-move-stdlib", - "aptos-mvhashmap", - "aptos-state-view", - "aptos-types", - "aptos-vm-logging", - "bcs 0.1.4", - "dashmap", - "fail 0.5.1", - "move-binary-format", - "move-bytecode-utils", - "move-bytecode-verifier", - "move-core-types", - "move-table-extension", - "move-vm-runtime", - "move-vm-test-utils", - "move-vm-types", - "num_cpus", - "once_cell", - "rayon", - "read-write-set-dynamic", - "serde 1.0.183", - "serde_json", - "smallvec", - "tracing", -] - -[[package]] -name = "aptos-vm-logging" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "aptos-crypto", - "aptos-logger", - "aptos-metrics-core", - "aptos-speculative-state-helper", - "aptos-state-view", - "aptos-types", - "arc-swap", - "once_cell", - "serde 1.0.183", -] - -[[package]] -name = "arbitrary" -version = "1.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2d098ff73c1ca148721f37baad5ea6a465a13f9573aba8641fbbbae8164a54e" -dependencies = [ - "derive_arbitrary", -] - -[[package]] -name = "arc-swap" -version = "1.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bddcadddf5e9015d310179a59bb28c4d4b9920ad0f11e8e14dbadf654890c9a6" - -[[package]] -name = "ark-bls12-381" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c775f0d12169cba7aae4caeb547bb6a50781c7449a8aa53793827c9ec4abf488" -dependencies = [ - "ark-ec", - "ark-ff", - "ark-serialize", - "ark-std", -] - -[[package]] -name = "ark-ec" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "defd9a439d56ac24968cca0571f598a61bc8c55f71d50a89cda591cb750670ba" -dependencies = [ - "ark-ff", - "ark-poly", - "ark-serialize", - "ark-std", - "derivative", - "hashbrown 0.13.2", - "itertools", - "num-traits 0.2.15", - "zeroize", -] - -[[package]] -name = "ark-ff" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec847af850f44ad29048935519032c33da8aa03340876d351dfab5660d2966ba" -dependencies = [ - "ark-ff-asm", - "ark-ff-macros", - "ark-serialize", - "ark-std", - "derivative", - "digest 0.10.6", - "itertools", - "num-bigint", - "num-traits 0.2.15", - "paste", - "rustc_version", - "zeroize", -] - -[[package]] -name = "ark-ff-asm" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ed4aa4fe255d0bc6d79373f7e31d2ea147bcf486cba1be5ba7ea85abdb92348" -dependencies = [ - "quote 1.0.33", - "syn 1.0.109", -] - -[[package]] -name = "ark-ff-macros" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7abe79b0e4288889c4574159ab790824d0033b9fdcb2a112a3182fac2e514565" -dependencies = [ - "num-bigint", - "num-traits 0.2.15", - "proc-macro2 1.0.66", - "quote 1.0.33", - "syn 1.0.109", -] - -[[package]] -name = "ark-poly" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d320bfc44ee185d899ccbadfa8bc31aab923ce1558716e1997a1e74057fe86bf" -dependencies = [ - "ark-ff", - "ark-serialize", - "ark-std", - "derivative", - "hashbrown 0.13.2", -] - -[[package]] -name = "ark-serialize" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "adb7b85a02b83d2f22f89bd5cac66c9c89474240cb6207cb1efc16d098e822a5" -dependencies = [ - "ark-serialize-derive", - "ark-std", - "digest 0.10.6", - "num-bigint", -] - -[[package]] -name = "ark-serialize-derive" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae3281bc6d0fd7e549af32b52511e1302185bd688fd3359fa36423346ff682ea" -dependencies = [ - "proc-macro2 1.0.66", - "quote 1.0.33", - "syn 1.0.109", -] - -[[package]] -name = "ark-std" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94893f1e0c6eeab764ade8dc4c0db24caf4fe7cbbaafc0eba0a9030f447b5185" -dependencies = [ - "num-traits 0.2.15", - "rand 0.8.5", -] - -[[package]] -name = "arrayref" -version = "0.3.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b4930d2cb77ce62f89ee5d5289b4ac049559b1c45539271f5ed4fdc7db34545" - -[[package]] -name = "arrayvec" -version = "0.4.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd9fd44efafa8690358b7408d253adf110036b88f55672a933f01d616ad9b1b9" -dependencies = [ - "nodrop", -] - -[[package]] -name = "arrayvec" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23b62fc65de8e4e7f52534fb52b0f3ed04746ae267519eef2a83941e8085068b" - -[[package]] -name = "arrayvec" -version = "0.7.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8da52d66c7071e2e3fa2a1e5c6d088fec47b593032b254f5e980de8ea54454d6" - -[[package]] -name = "async-trait" -version = "0.1.68" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9ccdd8f2a161be9bd5c023df56f1b2a0bd1d83872ae53b71a84a12c9bf6e842" -dependencies = [ - "proc-macro2 1.0.66", - "quote 1.0.33", - "syn 2.0.29", -] - -[[package]] -name = "atty" -version = "0.2.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8" -dependencies = [ - "hermit-abi 0.1.19", - "libc", - "winapi 0.3.9", -] - -[[package]] -name = "autocfg" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" - -[[package]] -name = "backtrace" -version = "0.3.67" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "233d376d6d185f2a3093e58f283f60f880315b6c60075b01f36b3b85154564ca" -dependencies = [ - "addr2line", - "cc", - "cfg-if", - "libc", - "miniz_oxide", - "object", - "rustc-demangle", -] - -[[package]] -name = "base64" -version = "0.13.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8" - -[[package]] -name = "base64" -version = "0.20.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ea22880d78093b0cbe17c89f64a7d457941e65759157ec6cb31a31d652b05e5" - -[[package]] -name = "base64" -version = "0.21.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4a4ddaa51a5bc52a6948f74c06d20aaaddb71924eab79b8c97a8c556e942d6a" - -[[package]] -name = "bcs" -version = "0.1.4" -source = "git+https://github.com/aptos-labs/bcs.git?rev=d31fab9d81748e2594be5cd5cdf845786a30562d#d31fab9d81748e2594be5cd5cdf845786a30562d" -dependencies = [ - "serde 1.0.183", - "thiserror", -] - -[[package]] -name = "bcs" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4bd3ffe8b19a604421a5d461d4a70346223e535903fbc3067138bddbebddcf77" -dependencies = [ - "serde 1.0.183", - "thiserror", -] - -[[package]] -name = "better_any" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b359aebd937c17c725e19efcb661200883f04c49c53e7132224dac26da39d4a0" -dependencies = [ - "better_typeid_derive", -] - -[[package]] -name = "better_typeid_derive" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3deeecb812ca5300b7d3f66f730cc2ebd3511c3d36c691dd79c165d5b19a26e3" -dependencies = [ - "proc-macro2 1.0.66", - "quote 1.0.33", - "syn 1.0.109", -] - -[[package]] -name = "bincode" -version = "1.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1f45e9417d87227c7a56d22e471c6206462cba514c7590c09aff4cf6d1ddcad" -dependencies = [ - "serde 1.0.183", -] - -[[package]] -name = "bindgen" -version = "0.64.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4243e6031260db77ede97ad86c27e501d646a27ab57b59a574f725d98ab1fb4" -dependencies = [ - "bitflags", - "cexpr", - "clang-sys", - "lazy_static 1.4.0", - "lazycell", - "peeking_take_while", - "proc-macro2 1.0.66", - "quote 1.0.33", - "regex", - "rustc-hash", - "shlex", - "syn 1.0.109", -] - -[[package]] -name = "bit-set" -version = "0.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0700ddab506f33b20a03b13996eccd309a48e5ff77d0d95926aa0210fb4e95f1" -dependencies = [ - "bit-vec", -] - -[[package]] -name = "bit-vec" -version = "0.6.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "349f9b6a179ed607305526ca489b34ad0a41aed5f7980fa90eb03160b69598fb" - -[[package]] -name = "bitflags" -version = "1.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" - -[[package]] -name = "bitmaps" -version = "2.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "031043d04099746d8db04daf1fa424b2bc8bd69d92b25962dcde24da39ab64a2" -dependencies = [ - "typenum", -] - -[[package]] -name = "bitvec" -version = "0.19.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "55f93d0ef3363c364d5976646a38f04cf67cfe1d4c8d160cdea02cab2c116b33" -dependencies = [ - "funty", - "radium 0.5.3", - "tap", - "wyz", -] - -[[package]] -name = "bitvec" -version = "0.20.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7774144344a4faa177370406a7ff5f1da24303817368584c6206c8303eb07848" -dependencies = [ - "funty", - "radium 0.6.2", - "tap", - "wyz", -] - -[[package]] -name = "blake2-rfc" -version = "0.2.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d6d530bdd2d52966a6d03b7a964add7ae1a288d25214066fd4b600f0f796400" -dependencies = [ - "arrayvec 0.4.12", - "constant_time_eq", -] - -[[package]] -name = "block-buffer" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4152116fd6e9dadb291ae18fc1ec3575ed6d84c29642d97890f4b4a3417297e4" -dependencies = [ - "block-padding", - "generic-array", -] - -[[package]] -name = "block-buffer" -version = "0.10.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" -dependencies = [ - "generic-array", -] - -[[package]] -name = "block-padding" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d696c370c750c948ada61c69a0ee2cbbb9c50b1019ddb86d9317157a99c2cae" - -[[package]] -name = "blst" -version = "0.3.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a30d0edd9dd1c60ddb42b80341c7852f6f985279a5c1a83659dcb65899dec99" -dependencies = [ - "cc", - "glob", - "threadpool", - "which", - "zeroize", -] - -[[package]] -name = "bstr" -version = "1.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3d4260bcc2e8fc9df1eac4919a720effeb63a3f0952f5bf4944adfa18897f09" -dependencies = [ - "memchr", - "serde 1.0.183", -] - -[[package]] -name = "bumpalo" -version = "3.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d261e256854913907f67ed06efbc3338dfe6179796deefc1ff763fc1aee5535" - -[[package]] -name = "byte-slice-cast" -version = "1.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3ac9f8b63eca6fd385229b3675f6cc0dc5c8a5c8a54a59d4f52ffd670d87b0c" - -[[package]] -name = "byteorder" -version = "1.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610" - -[[package]] -name = "bytes" -version = "1.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "89b2fd2a0dcf38d7971e2194b6b6eebab45ae01067456a7fd93d5547a61b70be" - -[[package]] -name = "bzip2-sys" -version = "0.1.11+1.0.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "736a955f3fa7875102d57c82b8cac37ec45224a07fd32d58f9f7a186b6cd4cdc" -dependencies = [ - "cc", - "libc", - "pkg-config", -] - -[[package]] -name = "c_linked_list" -version = "1.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4964518bd3b4a8190e832886cdc0da9794f12e8e6c1613a9e90ff331c4c8724b" - -[[package]] -name = "cc" -version = "1.0.79" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50d30906286121d95be3d479533b458f87493b30a4b5f79a607db8f5d11aa91f" -dependencies = [ - "jobserver", -] - -[[package]] -name = "cexpr" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6fac387a98bb7c37292057cffc56d62ecb629900026402633ae9160df93a8766" -dependencies = [ - "nom 7.1.3", -] - -[[package]] -name = "cfg-if" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" - -[[package]] -name = "chrono" -version = "0.4.26" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec837a71355b28f6556dbd569b37b3f363091c0bd4b2e735674521b4c5fd9bc5" -dependencies = [ - "android-tzdata", - "iana-time-zone", - "js-sys", - "num-traits 0.2.15", - "serde 1.0.183", - "time 0.1.45", - "wasm-bindgen", - "winapi 0.3.9", -] - -[[package]] -name = "chrono-tz" -version = "0.6.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29c39203181991a7dd4343b8005bd804e7a9a37afb8ac070e43771e8c820bbde" -dependencies = [ - "chrono", - "chrono-tz-build", - "phf", -] - -[[package]] -name = "chrono-tz-build" -version = "0.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f509c3a87b33437b05e2458750a0700e5bdd6956176773e6c7d6dd15a283a0c" -dependencies = [ - "parse-zoneinfo", - "phf", - "phf_codegen", -] - -[[package]] -name = "chunked_transfer" -version = "1.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cca491388666e04d7248af3f60f0c40cfb0991c72205595d7c396e3510207d1a" - -[[package]] -name = "cipher" -version = "0.4.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "773f3b9af64447d2ce9850330c473515014aa235e6a783b02db81ff39e4a3dad" -dependencies = [ - "crypto-common", - "inout", -] - -[[package]] -name = "claims" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6995bbe186456c36307f8ea36be3eefe42f49d106896414e18efc4fb2f846b5" -dependencies = [ - "autocfg", -] - -[[package]] -name = "clang-sys" -version = "1.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c688fc74432808e3eb684cae8830a86be1d66a2bd58e1f248ed0960a590baf6f" -dependencies = [ - "glob", - "libc", - "libloading", -] - -[[package]] -name = "clap" -version = "2.34.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a0610544180c38b88101fecf2dd634b174a62eef6946f84dfc6a7127512b381c" -dependencies = [ - "ansi_term", - "atty", - "bitflags", - "strsim 0.8.0", - "textwrap 0.11.0", - "unicode-width", - "vec_map", -] - -[[package]] -name = "clap" -version = "3.2.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "71655c45cb9845d3270c9d6df84ebe72b4dad3c2ba3f7023ad47c144e4e473a5" -dependencies = [ - "atty", - "bitflags", - "clap_derive 3.2.18", - "clap_lex 0.2.4", - "indexmap", - "once_cell", - "strsim 0.10.0", - "termcolor", - "textwrap 0.16.0", -] - -[[package]] -name = "clap" -version = "4.3.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5fd304a20bff958a57f04c4e96a2e7594cc4490a0e809cbd48bb6437edaa452d" -dependencies = [ - "clap_builder", - "clap_derive 4.3.12", - "once_cell", -] - -[[package]] -name = "clap_builder" -version = "4.3.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01c6a3f08f1fe5662a35cfe393aec09c4df95f60ee93b7556505260f75eee9e1" -dependencies = [ - "anstream", - "anstyle", - "clap_lex 0.5.0", - "strsim 0.10.0", -] - -[[package]] -name = "clap_derive" -version = "3.2.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea0c8bce528c4be4da13ea6fead8965e95b6073585a2f05204bd8f4119f82a65" -dependencies = [ - "heck 0.4.1", - "proc-macro-error", - "proc-macro2 1.0.66", - "quote 1.0.33", - "syn 1.0.109", -] - -[[package]] -name = "clap_derive" -version = "4.3.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "54a9bb5758fc5dfe728d1019941681eccaf0cf8a4189b692a0ee2f2ecf90a050" -dependencies = [ - "heck 0.4.1", - "proc-macro2 1.0.66", - "quote 1.0.33", - "syn 2.0.29", -] - -[[package]] -name = "clap_lex" -version = "0.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2850f2f5a82cbf437dd5af4d49848fbdfc27c157c3d010345776f952765261c5" -dependencies = [ - "os_str_bytes", -] - -[[package]] -name = "clap_lex" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2da6da31387c7e4ef160ffab6d5e7f00c42626fe39aea70a7b0f1773f7dd6c1b" - -[[package]] -name = "codespan" -version = "0.11.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3362992a0d9f1dd7c3d0e89e0ab2bb540b7a95fea8cd798090e758fda2899b5e" -dependencies = [ - "codespan-reporting", - "serde 1.0.183", -] - -[[package]] -name = "codespan-reporting" -version = "0.11.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3538270d33cc669650c4b093848450d380def10c331d38c768e34cac80576e6e" -dependencies = [ - "serde 1.0.183", - "termcolor", - "unicode-width", -] - -[[package]] -name = "colorchoice" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7" - -[[package]] -name = "colored" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b3616f750b84d8f0de8a58bda93e08e2a81ad3f523089b05f1dffecab48c6cbd" -dependencies = [ - "atty", - "lazy_static 1.4.0", - "winapi 0.3.9", -] - -[[package]] -name = "config" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b1b9d958c2b1368a663f05538fc1b5975adce1e19f435acceae987aceeeb369" -dependencies = [ - "lazy_static 1.4.0", - "nom 5.1.2", - "rust-ini", - "serde 1.0.183", - "serde-hjson", - "serde_json", - "toml", - "yaml-rust", -] - -[[package]] -name = "constant_time_eq" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "245097e9a4535ee1e3e3931fcfcd55a796a44c643e8596ff6566d68f09b87bbc" - -[[package]] -name = "convert_case" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6245d59a3e82a7fc217c5828a6692dbc6dfb63a0c8c90495621f7b9d79704a0e" - -[[package]] -name = "cookie" -version = "0.16.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e859cd57d0710d9e06c381b550c06e76992472a8c6d527aecd2fc673dcc231fb" -dependencies = [ - "aes-gcm", - "base64 0.20.0", - "hkdf 0.12.3", - "hmac 0.12.1", - "percent-encoding", - "rand 0.8.5", - "sha2 0.10.6", - "subtle", - "time 0.3.20", - "version_check", -] - -[[package]] -name = "cookie_store" -version = "0.16.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e4b6aa369f41f5faa04bb80c9b1f4216ea81646ed6124d76ba5c49a7aafd9cd" -dependencies = [ - "cookie", - "idna 0.2.3", - "log", - "publicsuffix", - "serde 1.0.183", - "serde_json", - "time 0.3.20", - "url", -] - -[[package]] -name = "core-foundation" -version = "0.9.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "194a7a9e6de53fa55116934067c844d9d749312f75c6f6d0980e8c252f8c2146" -dependencies = [ - "core-foundation-sys", - "libc", -] - -[[package]] -name = "core-foundation-sys" -version = "0.8.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e496a50fda8aacccc86d7529e2c1e0892dbd0f898a6b5645b5561b89c3210efa" - -[[package]] -name = "cpufeatures" -version = "0.2.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "280a9f2d8b3a38871a3c8a46fb80db65e5e5ed97da80c4d08bf27fb63e35e181" -dependencies = [ - "libc", -] - -[[package]] -name = "crc32fast" -version = "1.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b540bd8bc810d3885c6ea91e2018302f68baba2129ab3e88f32389ee9370880d" -dependencies = [ - "cfg-if", -] - -[[package]] -name = "crossbeam" -version = "0.8.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2801af0d36612ae591caa9568261fddce32ce6e08a7275ea334a06a4ad021a2c" -dependencies = [ - "cfg-if", - "crossbeam-channel", - "crossbeam-deque", - "crossbeam-epoch", - "crossbeam-queue", - "crossbeam-utils", -] - -[[package]] -name = "crossbeam-channel" -version = "0.5.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a33c2bf77f2df06183c3aa30d1e96c0695a313d4f9c453cc3762a6db39f99200" -dependencies = [ - "cfg-if", - "crossbeam-utils", -] - -[[package]] -name = "crossbeam-deque" -version = "0.8.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce6fd6f855243022dcecf8702fef0c297d4338e226845fe067f6341ad9fa0cef" -dependencies = [ - "cfg-if", - "crossbeam-epoch", - "crossbeam-utils", -] - -[[package]] -name = "crossbeam-epoch" -version = "0.9.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "46bd5f3f85273295a9d14aedfb86f6aadbff6d8f5295c4a9edb08e819dcf5695" -dependencies = [ - "autocfg", - "cfg-if", - "crossbeam-utils", - "memoffset", - "scopeguard", -] - -[[package]] -name = "crossbeam-queue" -version = "0.3.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d1cfb3ea8a53f37c40dea2c7bedcbd88bdfae54f5e2175d6ecaff1c988353add" -dependencies = [ - "cfg-if", - "crossbeam-utils", -] - -[[package]] -name = "crossbeam-utils" -version = "0.8.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c063cd8cc95f5c377ed0d4b49a4b21f632396ff690e8470c29b3359b346984b" -dependencies = [ - "cfg-if", -] - -[[package]] -name = "crunchy" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7" - -[[package]] -name = "crypto-common" -version = "0.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" -dependencies = [ - "generic-array", - "rand_core 0.6.4", - "typenum", -] - -[[package]] -name = "crypto-mac" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b584a330336237c1eecd3e94266efb216c56ed91225d634cb2991c5f3fd1aeab" -dependencies = [ - "generic-array", - "subtle", -] - -[[package]] -name = "crypto-mac" -version = "0.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bff07008ec701e8028e2ceb8f83f0e4274ee62bd2dbdc4fefff2e9a91824081a" -dependencies = [ - "generic-array", - "subtle", -] - -[[package]] -name = "ctr" -version = "0.9.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0369ee1ad671834580515889b80f2ea915f23b8be8d0daa4bbaf2ac5c7590835" -dependencies = [ - "cipher", -] - -[[package]] -name = "curve25519-dalek" -version = "3.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90f9d052967f590a76e62eb387bd0bbb1b000182c3cefe5364db6b7211651bc0" -dependencies = [ - "byteorder", - "digest 0.9.0", - "rand_core 0.5.1", - "subtle", - "zeroize", -] - -[[package]] -name = "cxx" -version = "1.0.94" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f61f1b6389c3fe1c316bf8a4dccc90a38208354b330925bce1f74a6c4756eb93" -dependencies = [ - "cc", - "cxxbridge-flags", - "cxxbridge-macro", - "link-cplusplus", -] - -[[package]] -name = "cxx-build" -version = "1.0.94" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "12cee708e8962df2aeb38f594aae5d827c022b6460ac71a7a3e2c3c2aae5a07b" -dependencies = [ - "cc", - "codespan-reporting", - "once_cell", - "proc-macro2 1.0.66", - "quote 1.0.33", - "scratch", - "syn 2.0.29", -] - -[[package]] -name = "cxxbridge-flags" -version = "1.0.94" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7944172ae7e4068c533afbb984114a56c46e9ccddda550499caa222902c7f7bb" - -[[package]] -name = "cxxbridge-macro" -version = "1.0.94" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2345488264226bf682893e25de0769f3360aac9957980ec49361b083ddaa5bc5" -dependencies = [ - "proc-macro2 1.0.66", - "quote 1.0.33", - "syn 2.0.29", -] - -[[package]] -name = "darling" -version = "0.14.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b750cb3417fd1b327431a470f388520309479ab0bf5e323505daf0290cd3850" -dependencies = [ - "darling_core", - "darling_macro", -] - -[[package]] -name = "darling_core" -version = "0.14.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "109c1ca6e6b7f82cc233a97004ea8ed7ca123a9af07a8230878fcfda9b158bf0" -dependencies = [ - "fnv", - "ident_case", - "proc-macro2 1.0.66", - "quote 1.0.33", - "strsim 0.10.0", - "syn 1.0.109", -] - -[[package]] -name = "darling_macro" -version = "0.14.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4aab4dbc9f7611d8b55048a3a16d2d010c2c8334e46304b40ac1cc14bf3b48e" -dependencies = [ - "darling_core", - "quote 1.0.33", - "syn 1.0.109", -] - -[[package]] -name = "dashmap" -version = "5.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "907076dfda823b0b36d2a1bb5f90c96660a5bbcd7729e10727f07858f22c4edc" -dependencies = [ - "cfg-if", - "hashbrown 0.12.3", - "lock_api", - "once_cell", - "parking_lot_core 0.9.7", -] - -[[package]] -name = "derivation-path" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e5c37193a1db1d8ed868c03ec7b152175f26160a5b740e5e484143877e0adf0" - -[[package]] -name = "derivative" -version = "2.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fcc3dd5e9e9c0b295d6e1e4d811fb6f157d5ffd784b8d202fc62eac8035a770b" -dependencies = [ - "proc-macro2 1.0.66", - "quote 1.0.33", - "syn 1.0.109", -] - -[[package]] -name = "derive_arbitrary" -version = "1.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3cdeb9ec472d588e539a818b2dee436825730da08ad0017c4b1a17676bdc8b7" -dependencies = [ - "proc-macro2 1.0.66", - "quote 1.0.33", - "syn 1.0.109", -] - -[[package]] -name = "derive_more" -version = "0.99.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4fb810d30a7c1953f91334de7244731fc3f3c10d7fe163338a35b9f640960321" -dependencies = [ - "convert_case", - "proc-macro2 1.0.66", - "quote 1.0.33", - "rustc_version", - "syn 1.0.109", -] - -[[package]] -name = "deunicode" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "850878694b7933ca4c9569d30a34b55031b9b139ee1fc7b94a527c4ef960d690" - -[[package]] -name = "difference" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "524cbf6897b527295dff137cec09ecf3a05f4fddffd7dfcd1585403449e74198" - -[[package]] -name = "digest" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3dd60d1080a57a05ab032377049e0591415d2b31afd7028356dbf3cc6dcb066" -dependencies = [ - "generic-array", -] - -[[package]] -name = "digest" -version = "0.10.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8168378f4e5023e7218c89c891c0fd8ecdb5e5e4f18cb78f38cf245dd021e76f" -dependencies = [ - "block-buffer 0.10.4", - "crypto-common", - "subtle", -] - -[[package]] -name = "directories" -version = "4.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f51c5d4ddabd36886dd3e1438cb358cdcb0d7c499cb99cb4ac2e38e18b5cb210" -dependencies = [ - "dirs-sys", -] - -[[package]] -name = "dirs-next" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b98cf8ebf19c3d1b223e151f99a4f9f0690dca41414773390fc824184ac833e1" -dependencies = [ - "cfg-if", - "dirs-sys-next", -] - -[[package]] -name = "dirs-sys" -version = "0.3.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b1d1d91c932ef41c0f2663aa8b0ca0342d444d842c06914aa0a7e352d0bada6" -dependencies = [ - "libc", - "redox_users", - "winapi 0.3.9", -] - -[[package]] -name = "dirs-sys-next" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ebda144c4fe02d1f7ea1a7d9641b6fc6b580adcfa024ae48797ecdeb6825b4d" -dependencies = [ - "libc", - "redox_users", - "winapi 0.3.9", -] - -[[package]] -name = "econia-sdk" -version = "1.0.0" -dependencies = [ - "aptos-api-types", - "aptos-sdk", - "futures", - "hex", - "reqwest", - "serde 1.0.183", - "serde_json", - "serde_yaml 0.9.21", - "thiserror", - "types", -] - -[[package]] -name = "ed25519" -version = "1.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91cff35c70bba8a626e3185d8cd48cc11b5437e1a5bcd15b9b5fa3c64b6dfee7" -dependencies = [ - "serde 1.0.183", - "signature", -] - -[[package]] -name = "ed25519-dalek" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c762bae6dcaf24c4c84667b8579785430908723d5c889f469d76a41d59cc7a9d" -dependencies = [ - "curve25519-dalek", - "ed25519", - "rand 0.7.3", - "serde 1.0.183", - "serde_bytes", - "sha2 0.9.9", - "zeroize", -] - -[[package]] -name = "ed25519-dalek-bip32" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d2be62a4061b872c8c0873ee4fc6f101ce7b889d039f019c5fa2af471a59908" -dependencies = [ - "derivation-path", - "ed25519-dalek", - "hmac 0.12.1", - "sha2 0.10.6", -] - -[[package]] -name = "either" -version = "1.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7fcaabb2fef8c910e7f4c7ce9f67a1283a1715879a7c230ca9d6d1ae31f16d91" - -[[package]] -name = "encoding_rs" -version = "0.8.32" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "071a31f4ee85403370b58aca746f01041ede6f0da2730960ad001edc2b71b394" -dependencies = [ - "cfg-if", -] - -[[package]] -name = "enum_dispatch" -version = "0.3.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "11f36e95862220b211a6e2aa5eca09b4fa391b13cd52ceb8035a24bf65a79de2" -dependencies = [ - "once_cell", - "proc-macro2 1.0.66", - "quote 1.0.33", - "syn 1.0.109", -] - -[[package]] -name = "erased-serde" -version = "0.3.25" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4f2b0c2380453a92ea8b6c8e5f64ecaafccddde8ceab55ff7a8ac1029f894569" -dependencies = [ - "serde 1.0.183", -] - -[[package]] -name = "errno" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4bcfec3a70f97c962c307b2d2c56e358cf1d00b558d74262b5f929ee8cc7e73a" -dependencies = [ - "errno-dragonfly", - "libc", - "windows-sys 0.48.0", -] - -[[package]] -name = "errno-dragonfly" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa68f1b12764fab894d2755d2518754e71b4fd80ecfb822714a1206c2aab39bf" -dependencies = [ - "cc", - "libc", -] - -[[package]] -name = "ethnum" -version = "1.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0198b9d0078e0f30dedc7acbb21c974e838fc8fae3ee170128658a98cb2c1c04" - -[[package]] -name = "fail" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3be3c61c59fdc91f5dbc3ea31ee8623122ce80057058be560654c5d410d181a6" -dependencies = [ - "lazy_static 1.4.0", - "log", - "rand 0.7.3", -] - -[[package]] -name = "fail" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fe5e43d0f78a42ad591453aedb1d7ae631ce7ee445c7643691055a9ed8d3b01c" -dependencies = [ - "log", - "once_cell", - "rand 0.8.5", -] - -[[package]] -name = "fastrand" -version = "1.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e51093e27b0797c359783294ca4f0a911c270184cb10f85783b118614a1501be" -dependencies = [ - "instant", -] - -[[package]] -name = "fixed-hash" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cfcf0ed7fe52a17a03854ec54a9f76d6d84508d1c0e66bc1793301c73fc8493c" -dependencies = [ - "byteorder", - "rand 0.8.5", - "rustc-hex", - "static_assertions", -] - -[[package]] -name = "fixedbitset" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "37ab347416e802de484e4d03c7316c48f1ecb56574dfd4a46a80f173ce1de04d" - -[[package]] -name = "fixedbitset" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80" - -[[package]] -name = "flate2" -version = "1.0.25" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8a2db397cb1c8772f31494cb8917e48cd1e64f0fa7efac59fbd741a0a8ce841" -dependencies = [ - "crc32fast", - "miniz_oxide", -] - -[[package]] -name = "fnv" -version = "1.0.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" - -[[package]] -name = "foreign-types" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1" -dependencies = [ - "foreign-types-shared", -] - -[[package]] -name = "foreign-types-shared" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" - -[[package]] -name = "form_urlencoded" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a9c384f161156f5260c24a097c56119f9be8c798586aecc13afbcbe7b7e26bf8" -dependencies = [ - "percent-encoding", -] - -[[package]] -name = "funty" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fed34cd105917e91daa4da6b3728c47b068749d6a62c59811f06ed2ac71d9da7" - -[[package]] -name = "futures" -version = "0.3.24" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f21eda599937fba36daeb58a22e8f5cee2d14c4a17b5b7739c7c8e5e3b8230c" -dependencies = [ - "futures-channel", - "futures-core", - "futures-executor", - "futures-io", - "futures-sink", - "futures-task", - "futures-util", -] - -[[package]] -name = "futures-channel" -version = "0.3.28" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "955518d47e09b25bbebc7a18df10b81f0c766eaf4c4f1cccef2fca5f2a4fb5f2" -dependencies = [ - "futures-core", - "futures-sink", -] - -[[package]] -name = "futures-core" -version = "0.3.28" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4bca583b7e26f571124fe5b7561d49cb2868d79116cfa0eefce955557c6fee8c" - -[[package]] -name = "futures-executor" -version = "0.3.28" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ccecee823288125bd88b4d7f565c9e58e41858e47ab72e8ea2d64e93624386e0" -dependencies = [ - "futures-core", - "futures-task", - "futures-util", -] - -[[package]] -name = "futures-io" -version = "0.3.28" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4fff74096e71ed47f8e023204cfd0aa1289cd54ae5430a9523be060cdb849964" - -[[package]] -name = "futures-macro" -version = "0.3.28" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "89ca545a94061b6365f2c7355b4b32bd20df3ff95f02da9329b34ccc3bd6ee72" -dependencies = [ - "proc-macro2 1.0.66", - "quote 1.0.33", - "syn 2.0.29", -] - -[[package]] -name = "futures-sink" -version = "0.3.28" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f43be4fe21a13b9781a69afa4985b0f6ee0e1afab2c6f454a8cf30e2b2237b6e" - -[[package]] -name = "futures-task" -version = "0.3.28" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76d3d132be6c0e6aa1534069c705a74a5997a356c0dc2f86a47765e5617c5b65" - -[[package]] -name = "futures-util" -version = "0.3.28" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26b01e40b772d54cf6c6d721c1d1abd0647a0106a12ecaa1c186273392a69533" -dependencies = [ - "futures-channel", - "futures-core", - "futures-io", - "futures-macro", - "futures-sink", - "futures-task", - "memchr", - "pin-project-lite", - "pin-utils", - "slab", -] - -[[package]] -name = "gcc" -version = "0.3.55" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f5f3913fa0bfe7ee1fd8248b6b9f42a5af4b9d65ec2dd2c3c26132b950ecfc2" - -[[package]] -name = "generic-array" -version = "0.14.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" -dependencies = [ - "typenum", - "version_check", -] - -[[package]] -name = "get_if_addrs" -version = "0.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "abddb55a898d32925f3148bd281174a68eeb68bbfd9a5938a57b18f506ee4ef7" -dependencies = [ - "c_linked_list", - "get_if_addrs-sys", - "libc", - "winapi 0.2.8", -] - -[[package]] -name = "get_if_addrs-sys" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d04f9fb746cf36b191c00f3ede8bde9c8e64f9f4b05ae2694a9ccf5e3f5ab48" -dependencies = [ - "gcc", - "libc", -] - -[[package]] -name = "getrandom" -version = "0.1.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8fc3cb4d91f53b50155bdcfd23f6a4c39ae1969c2ae85982b135750cccaf5fce" -dependencies = [ - "cfg-if", - "js-sys", - "libc", - "wasi 0.9.0+wasi-snapshot-preview1", - "wasm-bindgen", -] - -[[package]] -name = "getrandom" -version = "0.2.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c85e1d9ab2eadba7e5040d4e09cbd6d072b76a557ad64e797c2cb9d4da21d7e4" -dependencies = [ - "cfg-if", - "libc", - "wasi 0.11.0+wasi-snapshot-preview1", -] - -[[package]] -name = "ghash" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d930750de5717d2dd0b8c0d42c076c0e884c81a73e6cab859bbd2339c71e3e40" -dependencies = [ - "opaque-debug", - "polyval", -] - -[[package]] -name = "gimli" -version = "0.27.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad0a93d233ebf96623465aad4046a8d3aa4da22d4f4beba5388838c8a434bbb4" - -[[package]] -name = "glob" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b" - -[[package]] -name = "globset" -version = "0.4.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "029d74589adefde59de1a0c4f4732695c32805624aec7b68d91503d4dba79afc" -dependencies = [ - "aho-corasick", - "bstr", - "fnv", - "log", - "regex", -] - -[[package]] -name = "globwalk" -version = "0.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93e3af942408868f6934a7b85134a3230832b9977cf66125df2f9edcfce4ddcc" -dependencies = [ - "bitflags", - "ignore", - "walkdir", -] - -[[package]] -name = "h2" -version = "0.3.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5be7b54589b581f624f566bf5d8eb2bab1db736c51528720b6bd36b96b55924d" -dependencies = [ - "bytes", - "fnv", - "futures-core", - "futures-sink", - "futures-util", - "http", - "indexmap", - "slab", - "tokio", - "tokio-util", - "tracing", -] - -[[package]] -name = "hashbrown" -version = "0.12.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" -dependencies = [ - "ahash 0.7.6", -] - -[[package]] -name = "hashbrown" -version = "0.13.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e" -dependencies = [ - "ahash 0.8.3", -] - -[[package]] -name = "headers" -version = "0.3.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3e372db8e5c0d213e0cd0b9be18be2aca3d44cf2fe30a9d46a65581cd454584" -dependencies = [ - "base64 0.13.1", - "bitflags", - "bytes", - "headers-core", - "http", - "httpdate", - "mime", - "sha1", -] - -[[package]] -name = "headers-core" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7f66481bfee273957b1f20485a4ff3362987f85b2c236580d81b4eb7a326429" -dependencies = [ - "http", -] - -[[package]] -name = "heck" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d621efb26863f0e9924c6ac577e8275e5e6b77455db64ffa6c65c904e9e132c" -dependencies = [ - "unicode-segmentation", -] - -[[package]] -name = "heck" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" - -[[package]] -name = "hermit-abi" -version = "0.1.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33" -dependencies = [ - "libc", -] - -[[package]] -name = "hermit-abi" -version = "0.2.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee512640fe35acbfb4bb779db6f0d80704c2cacfa2e39b601ef3e3f47d1ae4c7" -dependencies = [ - "libc", -] - -[[package]] -name = "hermit-abi" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fed44880c466736ef9a5c5b5facefb5ed0785676d0c02d612db14e54f0d84286" - -[[package]] -name = "hex" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" - -[[package]] -name = "hkdf" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "51ab2f639c231793c5f6114bdb9bbe50a7dbbfcd7c7c6bd8475dec2d991e964f" -dependencies = [ - "digest 0.9.0", - "hmac 0.10.1", -] - -[[package]] -name = "hkdf" -version = "0.12.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "791a029f6b9fc27657f6f188ec6e5e43f6911f6f878e0dc5501396e09809d437" -dependencies = [ - "hmac 0.12.1", -] - -[[package]] -name = "hmac" -version = "0.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "126888268dcc288495a26bf004b38c5fdbb31682f992c84ceb046a1f0fe38840" -dependencies = [ - "crypto-mac 0.8.0", - "digest 0.9.0", -] - -[[package]] -name = "hmac" -version = "0.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c1441c6b1e930e2817404b5046f1f989899143a12bf92de603b69f4e0aee1e15" -dependencies = [ - "crypto-mac 0.10.1", - "digest 0.9.0", -] - -[[package]] -name = "hmac" -version = "0.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e" -dependencies = [ - "digest 0.10.6", -] - -[[package]] -name = "hmac-drbg" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "17ea0a1394df5b6574da6e0c1ade9e78868c9fb0a4e5ef4428e32da4676b85b1" -dependencies = [ - "digest 0.9.0", - "generic-array", - "hmac 0.8.1", -] - -[[package]] -name = "hostname" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c731c3e10504cc8ed35cfe2f1db4c9274c3d35fa486e3b31df46f068ef3e867" -dependencies = [ - "libc", - "match_cfg", - "winapi 0.3.9", -] - -[[package]] -name = "http" -version = "0.2.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd6effc99afb63425aff9b05836f029929e345a6148a14b7ecd5ab67af944482" -dependencies = [ - "bytes", - "fnv", - "itoa", -] - -[[package]] -name = "http-body" -version = "0.4.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d5f38f16d184e36f2408a55281cd658ecbd3ca05cce6d6510a176eca393e26d1" -dependencies = [ - "bytes", - "http", - "pin-project-lite", -] - -[[package]] -name = "httparse" -version = "1.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d897f394bad6a705d5f4104762e116a75639e470d80901eed05a860a95cb1904" - -[[package]] -name = "httpdate" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4a1e36c821dbe04574f602848a19f742f4fb3c98d40449f11bcad18d6b17421" - -[[package]] -name = "humansize" -version = "1.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "02296996cb8796d7c6e3bc2d9211b7802812d36999a51bb754123ead7d37d026" - -[[package]] -name = "hyper" -version = "0.14.25" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cc5e554ff619822309ffd57d8734d77cd5ce6238bc956f037ea06c58238c9899" -dependencies = [ - "bytes", - "futures-channel", - "futures-core", - "futures-util", - "h2", - "http", - "http-body", - "httparse", - "httpdate", - "itoa", - "pin-project-lite", - "socket2", - "tokio", - "tower-service", - "tracing", - "want", -] - -[[package]] -name = "hyper-tls" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d6183ddfa99b85da61a140bea0efc93fdf56ceaa041b37d553518030827f9905" -dependencies = [ - "bytes", - "hyper", - "native-tls", - "tokio", - "tokio-native-tls", -] - -[[package]] -name = "iana-time-zone" -version = "0.1.56" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0722cd7114b7de04316e7ea5456a0bbb20e4adb46fd27a3697adb812cff0f37c" -dependencies = [ - "android_system_properties", - "core-foundation-sys", - "iana-time-zone-haiku", - "js-sys", - "wasm-bindgen", - "windows", -] - -[[package]] -name = "iana-time-zone-haiku" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0703ae284fc167426161c2e3f1da3ea71d94b21bedbcc9494e92b28e334e3dca" -dependencies = [ - "cxx", - "cxx-build", -] - -[[package]] -name = "ident_case" -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" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e14ddfc70884202db2244c223200c204c2bda1bc6e0998d11b5e024d657209e6" -dependencies = [ - "unicode-bidi", - "unicode-normalization", -] - -[[package]] -name = "ignore" -version = "0.4.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dbe7873dab538a9a44ad79ede1faf5f30d49f9a5c883ddbab48bce81b64b7492" -dependencies = [ - "globset", - "lazy_static 1.4.0", - "log", - "memchr", - "regex", - "same-file", - "thread_local", - "walkdir", - "winapi-util", -] - -[[package]] -name = "im" -version = "15.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d0acd33ff0285af998aaf9b57342af478078f53492322fafc47450e09397e0e9" -dependencies = [ - "bitmaps", - "rand_core 0.6.4", - "rand_xoshiro", - "sized-chunks", - "typenum", - "version_check", -] - -[[package]] -name = "impl-codec" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "161ebdfec3c8e3b52bf61c4f3550a1eea4f9579d10dc1b936f3171ebdcd6c443" -dependencies = [ - "parity-scale-codec", -] - -[[package]] -name = "impl-serde" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4551f042f3438e64dbd6226b20527fc84a6e1fe65688b58746a2f53623f25f5c" -dependencies = [ - "serde 1.0.183", -] - -[[package]] -name = "impl-trait-for-tuples" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "11d7a9f6330b71fea57921c9b61c47ee6e84f72d394754eff6163ae67e7395eb" -dependencies = [ - "proc-macro2 1.0.66", - "quote 1.0.33", - "syn 1.0.109", -] - -[[package]] -name = "include_dir" -version = "0.6.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24b56e147e6187d61e9d0f039f10e070d0c0a887e24fe0bb9ca3f29bfde62cab" -dependencies = [ - "glob", - "include_dir_impl", - "proc-macro-hack", -] - -[[package]] -name = "include_dir" -version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "18762faeff7122e89e0857b02f7ce6fcc0d101d5e9ad2ad7846cc01d61b7f19e" -dependencies = [ - "glob", - "include_dir_macros", -] - -[[package]] -name = "include_dir_impl" -version = "0.6.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a0c890c85da4bab7bce4204c707396bbd3c6c8a681716a51c8814cfc2b682df" -dependencies = [ - "anyhow", - "proc-macro-hack", - "proc-macro2 1.0.66", - "quote 1.0.33", - "syn 1.0.109", -] - -[[package]] -name = "include_dir_macros" -version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b139284b5cf57ecfa712bcc66950bb635b31aff41c188e8a4cfc758eca374a3f" -dependencies = [ - "proc-macro2 1.0.66", - "quote 1.0.33", -] - -[[package]] -name = "indexmap" -version = "1.9.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99" -dependencies = [ - "autocfg", - "hashbrown 0.12.3", -] - -[[package]] -name = "indoc" -version = "1.0.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bfa799dd5ed20a7e349f3b4639aa80d74549c81716d9ec4f994c9b5815598306" - -[[package]] -name = "inout" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a0c10553d664a4d0bcff9f4215d0aac67a639cc68ef660840afe309b807bc9f5" -dependencies = [ - "generic-array", -] - -[[package]] -name = "instant" -version = "0.1.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c" -dependencies = [ - "cfg-if", -] - -[[package]] -name = "internment" -version = "0.5.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ab388864246d58a276e60e7569a833d9cc4cd75c66e5ca77c177dad38e59996" -dependencies = [ - "ahash 0.7.6", - "dashmap", - "hashbrown 0.12.3", - "once_cell", - "parking_lot 0.12.1", -] - -[[package]] -name = "io-lifetimes" -version = "1.0.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c66c74d2ae7e79a5a8f7ac924adbe38ee42a859c6539ad869eb51f0b52dc220" -dependencies = [ - "hermit-abi 0.3.1", - "libc", - "windows-sys 0.48.0", -] - -[[package]] -name = "ipnet" -version = "2.7.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "12b6ee2129af8d4fb011108c73d99a1b83a85977f23b82460c0ae2e25bb4b57f" - -[[package]] -name = "is-terminal" -version = "0.4.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "adcf93614601c8129ddf72e2d5633df827ba6551541c6d8c59520a371475be1f" -dependencies = [ - "hermit-abi 0.3.1", - "io-lifetimes", - "rustix", - "windows-sys 0.48.0", -] - -[[package]] -name = "itertools" -version = "0.10.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473" -dependencies = [ - "either", -] - -[[package]] -name = "itoa" -version = "1.0.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "453ad9f582a441959e5f0d088b02ce04cfe8d51a8eaf077f12ac6d3e94164ca6" - -[[package]] -name = "jobserver" -version = "0.1.26" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "936cfd212a0155903bcbc060e316fb6cc7cbf2e1907329391ebadc1fe0ce77c2" -dependencies = [ - "libc", -] - -[[package]] -name = "js-sys" -version = "0.3.61" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "445dde2150c55e483f3d8416706b97ec8e8237c307e5b7b4b8dd15e6af2a0730" -dependencies = [ - "wasm-bindgen", -] - -[[package]] -name = "keccak" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3afef3b6eff9ce9d8ff9b3601125eec7f0c8cbac7abd14f355d053fa56c98768" -dependencies = [ - "cpufeatures", -] - -[[package]] -name = "lazy_static" -version = "0.2.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76f033c7ad61445c5b347c7382dd1237847eb1bce590fe50365dcb33d546be73" - -[[package]] -name = "lazy_static" -version = "1.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" - -[[package]] -name = "lazycell" -version = "1.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55" - -[[package]] -name = "lexical-core" -version = "0.7.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6607c62aa161d23d17a9072cc5da0be67cdfc89d3afb1e8d9c842bebc2525ffe" -dependencies = [ - "arrayvec 0.5.2", - "bitflags", - "cfg-if", - "ryu", - "static_assertions", -] - -[[package]] -name = "libc" -version = "0.2.141" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3304a64d199bb964be99741b7a14d26972741915b3649639149b2479bb46f4b5" - -[[package]] -name = "libloading" -version = "0.7.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b67380fd3b2fbe7527a606e18729d21c6f3951633d0500574c4dc22d2d638b9f" -dependencies = [ - "cfg-if", - "winapi 0.3.9", -] - -[[package]] -name = "libm" -version = "0.2.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "348108ab3fba42ec82ff6e9564fc4ca0247bdccdc68dd8af9764bbc79c3c8ffb" - -[[package]] -name = "librocksdb-sys" -version = "0.10.0+7.9.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fe4d5874f5ff2bc616e55e8c6086d478fcda13faf9495768a4aa1c22042d30b" -dependencies = [ - "bindgen", - "bzip2-sys", - "cc", - "glob", - "libc", - "libz-sys", - "lz4-sys", - "zstd-sys", -] - -[[package]] -name = "libsecp256k1" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95b09eff1b35ed3b33b877ced3a691fc7a481919c7e29c53c906226fcf55e2a1" -dependencies = [ - "arrayref", - "base64 0.13.1", - "digest 0.9.0", - "hmac-drbg", - "libsecp256k1-core", - "libsecp256k1-gen-ecmult", - "libsecp256k1-gen-genmult", - "rand 0.8.5", - "serde 1.0.183", - "sha2 0.9.9", - "typenum", -] - -[[package]] -name = "libsecp256k1-core" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5be9b9bb642d8522a44d533eab56c16c738301965504753b03ad1de3425d5451" -dependencies = [ - "crunchy", - "digest 0.9.0", - "subtle", -] - -[[package]] -name = "libsecp256k1-gen-ecmult" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3038c808c55c87e8a172643a7d87187fc6c4174468159cb3090659d55bcb4809" -dependencies = [ - "libsecp256k1-core", -] - -[[package]] -name = "libsecp256k1-gen-genmult" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3db8d6ba2cec9eacc40e6e8ccc98931840301f1006e95647ceb2dd5c3aa06f7c" -dependencies = [ - "libsecp256k1-core", -] - -[[package]] -name = "libz-sys" -version = "1.1.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9702761c3935f8cc2f101793272e202c72b99da8f4224a19ddcf1279a6450bbf" -dependencies = [ - "cc", - "pkg-config", - "vcpkg", -] - -[[package]] -name = "link-cplusplus" -version = "1.0.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ecd207c9c713c34f95a097a5b029ac2ce6010530c7b49d7fea24d977dede04f5" -dependencies = [ - "cc", -] - -[[package]] -name = "linked-hash-map" -version = "0.5.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0717cef1bc8b636c6e1c1bbdefc09e6322da8a9321966e8928ef80d20f7f770f" - -[[package]] -name = "linux-raw-sys" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d59d8c75012853d2e872fb56bc8a2e53718e2cafe1a4c823143141c6d90c322f" - -[[package]] -name = "lock_api" -version = "0.4.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "435011366fe56583b16cf956f9df0095b405b82d76425bc8981c0e22e60ec4df" -dependencies = [ - "autocfg", - "scopeguard", -] - -[[package]] -name = "log" -version = "0.4.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "abb12e687cfb44aa40f41fc3978ef76448f9b6038cad6aef4259d3c095a2382e" -dependencies = [ - "cfg-if", - "serde 1.0.183", -] - -[[package]] -name = "lz4-sys" -version = "1.9.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57d27b317e207b10f69f5e75494119e391a96f48861ae870d1da6edac98ca900" -dependencies = [ - "cc", - "libc", -] - -[[package]] -name = "maplit" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e2e65a1a2e43cfcb47a895c4c8b10d1f4a61097f9f254f183aee60cad9c651d" - -[[package]] -name = "match_cfg" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ffbee8634e0d45d258acb448e7eaab3fce7a0a467395d4d9f228e3c1f01fb2e4" - -[[package]] -name = "matches" -version = "0.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2532096657941c2fea9c289d370a250971c689d4f143798ff67113ec042024a5" - -[[package]] -name = "memchr" -version = "2.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d" - -[[package]] -name = "memoffset" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d61c719bcfbcf5d62b3a09efa6088de8c54bc0bfcd3ea7ae39fcc186108b8de1" -dependencies = [ - "autocfg", -] - -[[package]] -name = "mime" -version = "0.3.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a" - -[[package]] -name = "minimal-lexical" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" - -[[package]] -name = "miniz_oxide" -version = "0.6.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b275950c28b37e794e8c55d88aeb5e139d0ce23fdbbeda68f8d7174abdf9e8fa" -dependencies = [ - "adler", -] - -[[package]] -name = "mio" -version = "0.8.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b9d9a46eff5b4ff64b45a9e316a6d1e0bc719ef429cbec4dc630684212bfdf9" -dependencies = [ - "libc", - "log", - "wasi 0.11.0+wasi-snapshot-preview1", - "windows-sys 0.45.0", -] - -[[package]] -name = "mirai-annotations" -version = "1.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c9be0862c1b3f26a88803c4a49de6889c10e608b3ee9344e6ef5b45fb37ad3d1" - -[[package]] -name = "more-asserts" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1fafa6961cabd9c63bcd77a45d7e3b7f3b552b70417831fb0f56db717e72407e" - -[[package]] -name = "move-abigen" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "bcs 0.1.4", - "heck 0.3.3", - "log", - "move-binary-format", - "move-bytecode-verifier", - "move-command-line-common", - "move-core-types", - "move-model", - "serde 1.0.183", -] - -[[package]] -name = "move-binary-format" -version = "0.0.3" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "move-core-types", - "once_cell", - "ref-cast", - "serde 1.0.183", - "variant_count", -] - -[[package]] -name = "move-borrow-graph" -version = "0.0.1" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" - -[[package]] -name = "move-bytecode-source-map" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "bcs 0.1.4", - "move-binary-format", - "move-command-line-common", - "move-core-types", - "move-ir-types", - "move-symbol-pool", - "serde 1.0.183", -] - -[[package]] -name = "move-bytecode-utils" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "move-binary-format", - "move-core-types", - "petgraph 0.5.1", - "serde-reflection 0.3.6", -] - -[[package]] -name = "move-bytecode-verifier" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "fail 0.4.0", - "move-binary-format", - "move-borrow-graph", - "move-core-types", - "petgraph 0.5.1", -] - -[[package]] -name = "move-command-line-common" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "difference", - "dirs-next", - "hex", - "move-core-types", - "num-bigint", - "once_cell", - "serde 1.0.183", - "sha2 0.9.9", - "walkdir", -] - -[[package]] -name = "move-compiler" -version = "0.0.1" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "bcs 0.1.4", - "clap 3.2.23", - "codespan-reporting", - "difference", - "hex", - "move-binary-format", - "move-borrow-graph", - "move-bytecode-source-map", - "move-bytecode-verifier", - "move-command-line-common", - "move-core-types", - "move-ir-to-bytecode", - "move-ir-types", - "move-symbol-pool", - "num-bigint", - "once_cell", - "petgraph 0.5.1", - "regex", - "sha3", - "tempfile", - "walkdir", -] - -[[package]] -name = "move-core-types" -version = "0.0.4" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "arbitrary", - "bcs 0.1.4", - "ethnum", - "hex", - "num", - "once_cell", - "primitive-types", - "proptest", - "proptest-derive", - "rand 0.8.5", - "ref-cast", - "serde 1.0.183", - "serde_bytes", - "uint", -] - -[[package]] -name = "move-coverage" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "bcs 0.1.4", - "clap 3.2.23", - "codespan", - "colored", - "move-binary-format", - "move-bytecode-source-map", - "move-command-line-common", - "move-core-types", - "move-ir-types", - "once_cell", - "petgraph 0.5.1", - "serde 1.0.183", -] - -[[package]] -name = "move-disassembler" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "clap 3.2.23", - "colored", - "move-binary-format", - "move-bytecode-source-map", - "move-bytecode-verifier", - "move-command-line-common", - "move-compiler", - "move-core-types", - "move-coverage", - "move-ir-types", -] - -[[package]] -name = "move-docgen" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "codespan", - "codespan-reporting", - "itertools", - "log", - "move-compiler", - "move-model", - "num", - "once_cell", - "regex", - "serde 1.0.183", -] - -[[package]] -name = "move-errmapgen" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "bcs 0.1.4", - "log", - "move-command-line-common", - "move-core-types", - "move-model", - "serde 1.0.183", -] - -[[package]] -name = "move-ir-to-bytecode" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "codespan-reporting", - "log", - "move-binary-format", - "move-bytecode-source-map", - "move-command-line-common", - "move-core-types", - "move-ir-to-bytecode-syntax", - "move-ir-types", - "move-symbol-pool", - "ouroboros", - "thiserror", -] - -[[package]] -name = "move-ir-to-bytecode-syntax" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "hex", - "move-command-line-common", - "move-core-types", - "move-ir-types", - "move-symbol-pool", -] - -[[package]] -name = "move-ir-types" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "hex", - "move-command-line-common", - "move-core-types", - "move-symbol-pool", - "once_cell", - "serde 1.0.183", -] - -[[package]] -name = "move-model" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "codespan", - "codespan-reporting", - "internment", - "itertools", - "log", - "move-binary-format", - "move-bytecode-source-map", - "move-bytecode-verifier", - "move-command-line-common", - "move-compiler", - "move-core-types", - "move-disassembler", - "move-ir-types", - "move-symbol-pool", - "num", - "once_cell", - "regex", - "serde 1.0.183", -] - -[[package]] -name = "move-package" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "bcs 0.1.4", - "clap 3.2.23", - "colored", - "dirs-next", - "itertools", - "move-abigen", - "move-binary-format", - "move-bytecode-source-map", - "move-bytecode-utils", - "move-command-line-common", - "move-compiler", - "move-core-types", - "move-docgen", - "move-model", - "move-symbol-pool", - "named-lock", - "once_cell", - "petgraph 0.5.1", - "ptree", - "regex", - "reqwest", - "serde 1.0.183", - "serde_yaml 0.8.26", - "sha2 0.9.9", - "tempfile", - "toml", - "walkdir", - "whoami", -] - -[[package]] -name = "move-prover" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "async-trait", - "atty", - "clap 3.2.23", - "codespan", - "codespan-reporting", - "futures", - "hex", - "itertools", - "log", - "move-abigen", - "move-binary-format", - "move-command-line-common", - "move-compiler", - "move-core-types", - "move-docgen", - "move-errmapgen", - "move-ir-types", - "move-model", - "move-prover-boogie-backend", - "move-stackless-bytecode", - "num", - "once_cell", - "pretty", - "rand 0.8.5", - "serde 1.0.183", - "serde_json", - "simplelog", - "tokio", - "toml", -] - -[[package]] -name = "move-prover-boogie-backend" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "async-trait", - "codespan", - "codespan-reporting", - "futures", - "itertools", - "log", - "move-binary-format", - "move-command-line-common", - "move-compiler", - "move-core-types", - "move-model", - "move-stackless-bytecode", - "num", - "once_cell", - "pretty", - "rand 0.8.5", - "regex", - "serde 1.0.183", - "serde_json", - "tera", - "tokio", -] - -[[package]] -name = "move-read-write-set-types" -version = "0.0.3" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "move-binary-format", - "move-core-types", - "serde 1.0.183", -] - -[[package]] -name = "move-resource-viewer" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "bcs 0.1.4", - "hex", - "move-binary-format", - "move-bytecode-utils", - "move-core-types", - "once_cell", - "serde 1.0.183", -] - -[[package]] -name = "move-stackless-bytecode" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "codespan", - "codespan-reporting", - "ethnum", - "im", - "itertools", - "log", - "move-binary-format", - "move-borrow-graph", - "move-bytecode-verifier", - "move-command-line-common", - "move-compiler", - "move-core-types", - "move-ir-to-bytecode", - "move-model", - "move-read-write-set-types", - "num", - "once_cell", - "paste", - "petgraph 0.5.1", - "serde 1.0.183", -] - -[[package]] -name = "move-symbol-pool" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "once_cell", - "serde 1.0.183", -] - -[[package]] -name = "move-table-extension" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "bcs 0.1.4", - "better_any", - "move-binary-format", - "move-core-types", - "move-vm-runtime", - "move-vm-types", - "once_cell", - "sha3", - "smallvec", -] - -[[package]] -name = "move-vm-runtime" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "better_any", - "fail 0.4.0", - "move-binary-format", - "move-bytecode-verifier", - "move-core-types", - "move-vm-types", - "once_cell", - "parking_lot 0.11.2", - "sha3", - "tracing", -] - -[[package]] -name = "move-vm-test-utils" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "move-binary-format", - "move-core-types", - "move-table-extension", - "move-vm-types", - "once_cell", - "serde 1.0.183", -] - -[[package]] -name = "move-vm-types" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "bcs 0.1.4", - "move-binary-format", - "move-core-types", - "once_cell", - "serde 1.0.183", - "smallvec", -] - -[[package]] -name = "multer" -version = "2.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01acbdc23469fd8fe07ab135923371d5f5a422fbf9c522158677c8eb15bc51c2" -dependencies = [ - "bytes", - "encoding_rs", - "futures-util", - "http", - "httparse", - "log", - "memchr", - "mime", - "spin 0.9.8", - "tokio", - "version_check", -] - -[[package]] -name = "named-lock" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "40a3eb6b7c682b65d1f631ec3176829d72ab450b3aacdd3f719bf220822e59ac" -dependencies = [ - "libc", - "once_cell", - "parking_lot 0.12.1", - "thiserror", - "widestring", - "winapi 0.3.9", -] - -[[package]] -name = "native-tls" -version = "0.2.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07226173c32f2926027b63cce4bcd8076c3552846cbe7925f3aaffeac0a3b92e" -dependencies = [ - "lazy_static 1.4.0", - "libc", - "log", - "openssl", - "openssl-probe", - "openssl-sys", - "schannel", - "security-framework", - "security-framework-sys", - "tempfile", -] - -[[package]] -name = "nodrop" -version = "0.1.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72ef4a56884ca558e5ddb05a1d1e7e1bfd9a68d9ed024c21704cc98872dae1bb" - -[[package]] -name = "nom" -version = "5.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ffb4262d26ed83a1c0a33a38fe2bb15797329c85770da05e6b828ddb782627af" -dependencies = [ - "lexical-core", - "memchr", - "version_check", -] - -[[package]] -name = "nom" -version = "7.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a" -dependencies = [ - "memchr", - "minimal-lexical", -] - -[[package]] -name = "nu-ansi-term" -version = "0.46.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77a8165726e8236064dbb45459242600304b42a5ea24ee2948e18e023bf7ba84" -dependencies = [ - "overload", - "winapi 0.3.9", -] - -[[package]] -name = "num" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43db66d1170d347f9a065114077f7dccb00c1b9478c89384490a3425279a4606" -dependencies = [ - "num-bigint", - "num-complex", - "num-integer", - "num-iter", - "num-rational", - "num-traits 0.2.15", -] - -[[package]] -name = "num-bigint" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f93ab6289c7b344a8a9f60f88d80aa20032336fe78da341afc91c8a2341fc75f" -dependencies = [ - "autocfg", - "num-integer", - "num-traits 0.2.15", -] - -[[package]] -name = "num-complex" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "02e0d21255c828d6f128a1e41534206671e8c3ea0c62f32291e808dc82cff17d" -dependencies = [ - "num-traits 0.2.15", -] - -[[package]] -name = "num-derive" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "876a53fff98e03a936a674b29568b0e605f06b29372c2489ff4de23f1949743d" -dependencies = [ - "proc-macro2 1.0.66", - "quote 1.0.33", - "syn 1.0.109", -] - -[[package]] -name = "num-integer" -version = "0.1.45" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "225d3389fb3509a24c93f5c29eb6bde2586b98d9f016636dff58d7c6f7569cd9" -dependencies = [ - "autocfg", - "num-traits 0.2.15", -] - -[[package]] -name = "num-iter" -version = "0.1.43" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d03e6c028c5dc5cac6e2dec0efda81fc887605bb3d884578bb6d6bf7514e252" -dependencies = [ - "autocfg", - "num-integer", - "num-traits 0.2.15", -] - -[[package]] -name = "num-rational" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0638a1c9d0a3c0914158145bc76cff373a75a627e6ecbfb71cbe6f453a5a19b0" -dependencies = [ - "autocfg", - "num-bigint", - "num-integer", - "num-traits 0.2.15", -] - -[[package]] -name = "num-traits" -version = "0.1.43" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "92e5113e9fd4cc14ded8e499429f396a20f98c772a47cc8622a736e1ec843c31" -dependencies = [ - "num-traits 0.2.15", -] - -[[package]] -name = "num-traits" -version = "0.2.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "578ede34cf02f8924ab9447f50c28075b4d3e5b269972345e7e0372b38c6cdcd" -dependencies = [ - "autocfg", - "libm", -] - -[[package]] -name = "num_cpus" -version = "1.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fac9e2da13b5eb447a6ce3d392f23a29d8694bff781bf03a16cd9ac8697593b" -dependencies = [ - "hermit-abi 0.2.6", - "libc", -] - -[[package]] -name = "object" -version = "0.30.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea86265d3d3dcb6a27fc51bd29a4bf387fae9d2986b823079d4986af253eb439" -dependencies = [ - "memchr", -] - -[[package]] -name = "once_cell" -version = "1.17.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b7e5500299e16ebb147ae15a00a942af264cf3688f47923b8fc2cd5858f23ad3" - -[[package]] -name = "opaque-debug" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "624a8340c38c1b80fd549087862da4ba43e08858af025b236e509b6649fc13d5" - -[[package]] -name = "openssl" -version = "0.10.50" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e30d8bc91859781f0a943411186324d580f2bbeb71b452fe91ae344806af3f1" -dependencies = [ - "bitflags", - "cfg-if", - "foreign-types", - "libc", - "once_cell", - "openssl-macros", - "openssl-sys", -] - -[[package]] -name = "openssl-macros" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c" -dependencies = [ - "proc-macro2 1.0.66", - "quote 1.0.33", - "syn 2.0.29", -] - -[[package]] -name = "openssl-probe" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" - -[[package]] -name = "openssl-sys" -version = "0.9.85" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d3d193fb1488ad46ffe3aaabc912cc931d02ee8518fe2959aea8ef52718b0c0" -dependencies = [ - "cc", - "libc", - "pkg-config", - "vcpkg", -] - -[[package]] -name = "ordered-float" -version = "2.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7940cf2ca942593318d07fcf2596cdca60a85c9e7fab408a5e21a4f9dcd40d87" -dependencies = [ - "num-traits 0.2.15", -] - -[[package]] -name = "os_str_bytes" -version = "6.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ceedf44fb00f2d1984b0bc98102627ce622e083e49a5bacdb3e514fa4238e267" - -[[package]] -name = "ouroboros" -version = "0.9.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fbeff60e3e37407a80ead3e9458145b456e978c4068cddbfea6afb48572962ca" -dependencies = [ - "ouroboros_macro", - "stable_deref_trait", -] - -[[package]] -name = "ouroboros_macro" -version = "0.9.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03f2cb802b5bdfdf52f1ffa0b54ce105e4d346e91990dd571f86c91321ad49e2" -dependencies = [ - "Inflector", - "proc-macro-error", - "proc-macro2 1.0.66", - "quote 1.0.33", - "syn 1.0.109", -] - -[[package]] -name = "overload" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b15813163c1d831bf4a13c3610c05c0d03b39feb07f7e09fa234dac9b15aaf39" - -[[package]] -name = "parity-scale-codec" -version = "2.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "373b1a4c1338d9cd3d1fa53b3a11bdab5ab6bd80a20f7f7becd76953ae2be909" -dependencies = [ - "arrayvec 0.7.2", - "bitvec 0.20.4", - "byte-slice-cast", - "impl-trait-for-tuples", - "parity-scale-codec-derive", - "serde 1.0.183", -] - -[[package]] -name = "parity-scale-codec-derive" -version = "2.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1557010476e0595c9b568d16dcfb81b93cdeb157612726f5170d31aa707bed27" -dependencies = [ - "proc-macro-crate", - "proc-macro2 1.0.66", - "quote 1.0.33", - "syn 1.0.109", -] - -[[package]] -name = "parking_lot" -version = "0.11.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d17b78036a60663b797adeaee46f5c9dfebb86948d1255007a1d6be0271ff99" -dependencies = [ - "instant", - "lock_api", - "parking_lot_core 0.8.6", -] - -[[package]] -name = "parking_lot" -version = "0.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f" -dependencies = [ - "lock_api", - "parking_lot_core 0.9.7", -] - -[[package]] -name = "parking_lot_core" -version = "0.8.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "60a2cfe6f0ad2bfc16aefa463b497d5c7a5ecd44a23efa72aa342d90177356dc" -dependencies = [ - "cfg-if", - "instant", - "libc", - "redox_syscall 0.2.16", - "smallvec", - "winapi 0.3.9", -] - -[[package]] -name = "parking_lot_core" -version = "0.9.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9069cbb9f99e3a5083476ccb29ceb1de18b9118cafa53e90c9551235de2b9521" -dependencies = [ - "cfg-if", - "libc", - "redox_syscall 0.2.16", - "smallvec", - "windows-sys 0.45.0", -] - -[[package]] -name = "parse-zoneinfo" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c705f256449c60da65e11ff6626e0c16a0a0b96aaa348de61376b249bc340f41" -dependencies = [ - "regex", -] - -[[package]] -name = "paste" -version = "1.0.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f746c4065a8fa3fe23974dd82f15431cc8d40779821001404d10d2e79ca7d79" - -[[package]] -name = "pbkdf2" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "216eaa586a190f0a738f2f918511eecfa90f13295abec0e457cdebcceda80cbd" -dependencies = [ - "crypto-mac 0.8.0", -] - -[[package]] -name = "peeking_take_while" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19b17cddbe7ec3f8bc800887bab5e717348c95ea2ca0b1bf0837fb964dc67099" - -[[package]] -name = "percent-encoding" -version = "2.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "478c572c3d73181ff3c2539045f6eb99e5491218eae919370993b890cdbdd98e" - -[[package]] -name = "pest" -version = "2.5.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b1403e8401ad5dedea73c626b99758535b342502f8d1e361f4a2dd952749122" -dependencies = [ - "thiserror", - "ucd-trie", -] - -[[package]] -name = "pest_derive" -version = "2.5.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be99c4c1d2fc2769b1d00239431d711d08f6efedcecb8b6e30707160aee99c15" -dependencies = [ - "pest", - "pest_generator", -] - -[[package]] -name = "pest_generator" -version = "2.5.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e56094789873daa36164de2e822b3888c6ae4b4f9da555a1103587658c805b1e" -dependencies = [ - "pest", - "pest_meta", - "proc-macro2 1.0.66", - "quote 1.0.33", - "syn 2.0.29", -] - -[[package]] -name = "pest_meta" -version = "2.5.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6733073c7cff3d8459fda0e42f13a047870242aed8b509fe98000928975f359e" -dependencies = [ - "once_cell", - "pest", - "sha2 0.10.6", -] - -[[package]] -name = "petgraph" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "467d164a6de56270bd7c4d070df81d07beace25012d5103ced4e9ff08d6afdb7" -dependencies = [ - "fixedbitset 0.2.0", - "indexmap", -] - -[[package]] -name = "petgraph" -version = "0.6.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4dd7d28ee937e54fe3080c91faa1c3a46c06de6252988a7f4592ba2310ef22a4" -dependencies = [ - "fixedbitset 0.4.2", - "indexmap", -] - -[[package]] -name = "phf" -version = "0.11.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "928c6535de93548188ef63bb7c4036bd415cd8f36ad25af44b9789b2ee72a48c" -dependencies = [ - "phf_shared", -] - -[[package]] -name = "phf_codegen" -version = "0.11.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a56ac890c5e3ca598bbdeaa99964edb5b0258a583a9eb6ef4e89fc85d9224770" -dependencies = [ - "phf_generator", - "phf_shared", -] - -[[package]] -name = "phf_generator" -version = "0.11.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1181c94580fa345f50f19d738aaa39c0ed30a600d95cb2d3e23f94266f14fbf" -dependencies = [ - "phf_shared", - "rand 0.8.5", -] - -[[package]] -name = "phf_shared" -version = "0.11.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e1fb5f6f826b772a8d4c0394209441e7d37cbbb967ae9c7e0e8134365c9ee676" -dependencies = [ - "siphasher", - "uncased", -] - -[[package]] -name = "pin-project" -version = "1.0.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad29a609b6bcd67fee905812e544992d216af9d755757c05ed2d0e15a74c6ecc" -dependencies = [ - "pin-project-internal", -] - -[[package]] -name = "pin-project-internal" -version = "1.0.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "069bdb1e05adc7a8990dce9cc75370895fbe4e3d58b9b73bf1aee56359344a55" -dependencies = [ - "proc-macro2 1.0.66", - "quote 1.0.33", - "syn 1.0.109", -] - -[[package]] -name = "pin-project-lite" -version = "0.2.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e0a7ae3ac2f1173085d398531c705756c94a4c56843785df85a60c1a0afac116" - -[[package]] -name = "pin-utils" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" - -[[package]] -name = "pkg-config" -version = "0.3.26" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ac9a59f73473f1b8d852421e59e64809f025994837ef743615c6d0c5b305160" - -[[package]] -name = "poem" -version = "1.3.55" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0608069d4999c3c02d49dff261663f2e73a8f7b00b7cd364fb5e93e419dafa1" -dependencies = [ - "anyhow", - "async-trait", - "bytes", - "chrono", - "cookie", - "futures-util", - "headers", - "http", - "hyper", - "mime", - "multer", - "parking_lot 0.12.1", - "percent-encoding", - "pin-project-lite", - "poem-derive", - "quick-xml", - "regex", - "rfc7239", - "rustls-pemfile", - "serde 1.0.183", - "serde_json", - "serde_urlencoded", - "serde_yaml 0.9.21", - "smallvec", - "tempfile", - "thiserror", - "time 0.3.20", - "tokio", - "tokio-rustls", - "tokio-stream", - "tokio-util", - "tracing", -] - -[[package]] -name = "poem-derive" -version = "1.3.55" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b839bad877aa933dd00901abd127a44496130e3def48e079d60e43f2c8a33cc" -dependencies = [ - "proc-macro-crate", - "proc-macro2 1.0.66", - "quote 1.0.33", - "syn 1.0.109", -] - -[[package]] -name = "poem-openapi" -version = "2.0.26" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1077defedfd8ff15990bb42993970ac75bc46dd8a5b3c0b452ab4e2041b825a4" -dependencies = [ - "base64 0.21.0", - "bytes", - "derive_more", - "futures-util", - "mime", - "num-traits 0.2.15", - "poem", - "poem-openapi-derive", - "quick-xml", - "regex", - "serde 1.0.183", - "serde_json", - "serde_urlencoded", - "serde_yaml 0.9.21", - "thiserror", - "tokio", - "url", -] - -[[package]] -name = "poem-openapi-derive" -version = "2.0.26" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75bf9dc3b9c42bb8744bc633f9581f740b429122e1840fa37c06beeefc35a719" -dependencies = [ - "darling", - "http", - "indexmap", - "mime", - "proc-macro-crate", - "proc-macro2 1.0.66", - "quote 1.0.33", - "regex", - "syn 1.0.109", - "thiserror", -] - -[[package]] -name = "polyval" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ef234e08c11dfcb2e56f79fd70f6f2eb7f025c0ce2333e82f4f0518ecad30c6" -dependencies = [ - "cfg-if", - "cpufeatures", - "opaque-debug", - "universal-hash", -] - -[[package]] -name = "ppv-lite86" -version = "0.2.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" - -[[package]] -name = "pretty" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad9940b913ee56ddd94aec2d3cd179dd47068236f42a1a6415ccf9d880ce2a61" -dependencies = [ - "arrayvec 0.5.2", - "typed-arena", -] - -[[package]] -name = "primitive-types" -version = "0.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05e4722c697a58a99d5d06a08c30821d7c082a4632198de1eaa5a6c22ef42373" -dependencies = [ - "fixed-hash", - "impl-codec", - "impl-serde", - "uint", -] - -[[package]] -name = "proc-macro-crate" -version = "1.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f4c021e1093a56626774e81216a4ce732a735e5bad4868a03f3ed65ca0c3919" -dependencies = [ - "once_cell", - "toml_edit", -] - -[[package]] -name = "proc-macro-error" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c" -dependencies = [ - "proc-macro-error-attr", - "proc-macro2 1.0.66", - "quote 1.0.33", - "syn 1.0.109", - "version_check", -] - -[[package]] -name = "proc-macro-error-attr" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869" -dependencies = [ - "proc-macro2 1.0.66", - "quote 1.0.33", - "version_check", -] - -[[package]] -name = "proc-macro-hack" -version = "0.5.20+deprecated" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc375e1527247fe1a97d8b7156678dfe7c1af2fc075c9a4db3690ecd2a148068" - -[[package]] -name = "proc-macro2" -version = "0.4.30" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf3d2011ab5c909338f7887f4fc896d35932e29146c12c8d01da6b22a80ba759" -dependencies = [ - "unicode-xid", -] - -[[package]] -name = "proc-macro2" -version = "1.0.66" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "18fb31db3f9bddb2ea821cde30a9f70117e3f119938b5ee630b7403aa6e2ead9" -dependencies = [ - "unicode-ident", -] - -[[package]] -name = "prometheus" -version = "0.13.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "449811d15fbdf5ceb5c1144416066429cf82316e2ec8ce0c1f6f8a02e7bbcf8c" -dependencies = [ - "cfg-if", - "fnv", - "lazy_static 1.4.0", - "memchr", - "parking_lot 0.12.1", - "thiserror", -] - -[[package]] -name = "proptest" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29f1b898011ce9595050a68e60f90bad083ff2987a695a42357134c8381fba70" -dependencies = [ - "bit-set", - "bitflags", - "byteorder", - "lazy_static 1.4.0", - "num-traits 0.2.15", - "quick-error 2.0.1", - "rand 0.8.5", - "rand_chacha 0.3.1", - "rand_xorshift", - "regex-syntax", - "rusty-fork", - "tempfile", - "unarray", -] - -[[package]] -name = "proptest-derive" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90b46295382dc76166cb7cf2bb4a97952464e4b7ed5a43e6cd34e1fec3349ddc" -dependencies = [ - "proc-macro2 0.4.30", - "quote 0.6.13", - "syn 0.15.44", -] - -[[package]] -name = "psl-types" -version = "2.0.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33cb294fe86a74cbcf50d4445b37da762029549ebeea341421c7c70370f86cac" - -[[package]] -name = "ptree" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a0de80796b316aec75344095a6d2ef68ec9b8f573b9e7adc821149ba3598e270" -dependencies = [ - "ansi_term", - "atty", - "config", - "directories", - "petgraph 0.6.3", - "serde 1.0.183", - "serde-value", - "tint", -] - -[[package]] -name = "publicsuffix" -version = "2.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96a8c1bda5ae1af7f99a2962e49df150414a43d62404644d98dd5c3a93d07457" -dependencies = [ - "idna 0.3.0", - "psl-types", -] - -[[package]] -name = "qstring" -version = "0.7.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d464fae65fff2680baf48019211ce37aaec0c78e9264c84a3e484717f965104e" -dependencies = [ - "percent-encoding", -] - -[[package]] -name = "quick-error" -version = "1.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0" - -[[package]] -name = "quick-error" -version = "2.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a993555f31e5a609f617c12db6250dedcac1b0a85076912c436e6fc9b2c8e6a3" - -[[package]] -name = "quick-xml" -version = "0.26.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f50b1c63b38611e7d4d7f68b82d3ad0cc71a2ad2e7f61fc10f1328d917c93cd" -dependencies = [ - "memchr", - "serde 1.0.183", -] - -[[package]] -name = "quote" -version = "0.6.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ce23b6b870e8f94f81fb0a363d65d86675884b34a09043c81e5562f11c1f8e1" -dependencies = [ - "proc-macro2 0.4.30", -] - -[[package]] -name = "quote" -version = "1.0.33" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5267fca4496028628a95160fc423a33e8b2e6af8a5302579e322e4b520293cae" -dependencies = [ - "proc-macro2 1.0.66", -] - -[[package]] -name = "radium" -version = "0.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "941ba9d78d8e2f7ce474c015eea4d9c6d25b6a3327f9832ee29a4de27f91bbb8" - -[[package]] -name = "radium" -version = "0.6.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "643f8f41a8ebc4c5dc4515c82bb8abd397b527fc20fd681b7c011c2aee5d44fb" - -[[package]] -name = "rand" -version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03" -dependencies = [ - "getrandom 0.1.16", - "libc", - "rand_chacha 0.2.2", - "rand_core 0.5.1", - "rand_hc", -] - -[[package]] -name = "rand" -version = "0.8.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" -dependencies = [ - "libc", - "rand_chacha 0.3.1", - "rand_core 0.6.4", -] - -[[package]] -name = "rand_chacha" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4c8ed856279c9737206bf725bf36935d8666ead7aa69b52be55af369d193402" -dependencies = [ - "ppv-lite86", - "rand_core 0.5.1", -] - -[[package]] -name = "rand_chacha" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" -dependencies = [ - "ppv-lite86", - "rand_core 0.6.4", -] - -[[package]] -name = "rand_core" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19" -dependencies = [ - "getrandom 0.1.16", -] - -[[package]] -name = "rand_core" -version = "0.6.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" -dependencies = [ - "getrandom 0.2.9", -] - -[[package]] -name = "rand_hc" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c" -dependencies = [ - "rand_core 0.5.1", -] - -[[package]] -name = "rand_xorshift" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d25bf25ec5ae4a3f1b92f929810509a2f53d7dca2f50b794ff57e3face536c8f" -dependencies = [ - "rand_core 0.6.4", -] - -[[package]] -name = "rand_xoshiro" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f97cdb2a36ed4183de61b2f824cc45c9f1037f28afe0a322e9fff4c108b5aaa" -dependencies = [ - "rand_core 0.6.4", -] - -[[package]] -name = "rayon" -version = "1.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d2df5196e37bcc87abebc0053e20787d73847bb33134a69841207dd0a47f03b" -dependencies = [ - "either", - "rayon-core", -] - -[[package]] -name = "rayon-core" -version = "1.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b8f95bd6966f5c87776639160a66bd8ab9895d9d4ab01ddba9fc60661aebe8d" -dependencies = [ - "crossbeam-channel", - "crossbeam-deque", - "crossbeam-utils", - "num_cpus", -] - -[[package]] -name = "read-write-set-dynamic" -version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-core?branch=main#6a103d1078762cf9a4c159526bffaf5ac4d954c2" -dependencies = [ - "anyhow", - "move-binary-format", - "move-bytecode-utils", - "move-core-types", - "move-read-write-set-types", -] - -[[package]] -name = "redox_syscall" -version = "0.2.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a" -dependencies = [ - "bitflags", -] - -[[package]] -name = "redox_syscall" -version = "0.3.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "567664f262709473930a4bf9e51bf2ebf3348f2e748ccc50dea20646858f8f29" -dependencies = [ - "bitflags", -] - -[[package]] -name = "redox_users" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b033d837a7cf162d7993aded9304e30a83213c648b6e389db233191f891e5c2b" -dependencies = [ - "getrandom 0.2.9", - "redox_syscall 0.2.16", - "thiserror", -] - -[[package]] -name = "ref-cast" -version = "1.0.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f43faa91b1c8b36841ee70e97188a869d37ae21759da6846d4be66de5bf7b12c" -dependencies = [ - "ref-cast-impl", -] - -[[package]] -name = "ref-cast-impl" -version = "1.0.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d2275aab483050ab2a7364c1a46604865ee7d6906684e08db0f090acf74f9e7" -dependencies = [ - "proc-macro2 1.0.66", - "quote 1.0.33", - "syn 2.0.29", -] - -[[package]] -name = "regex" -version = "1.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b1f693b24f6ac912f4893ef08244d70b6067480d2f1a46e950c9691e6749d1d" -dependencies = [ - "aho-corasick", - "memchr", - "regex-syntax", -] - -[[package]] -name = "regex-syntax" -version = "0.6.29" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1" - -[[package]] -name = "reqwest" -version = "0.11.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "27b71749df584b7f4cac2c426c127a7c785a5106cc98f7a8feb044115f0fa254" -dependencies = [ - "base64 0.21.0", - "bytes", - "cookie", - "cookie_store", - "encoding_rs", - "futures-core", - "futures-util", - "h2", - "http", - "http-body", - "hyper", - "hyper-tls", - "ipnet", - "js-sys", - "log", - "mime", - "native-tls", - "once_cell", - "percent-encoding", - "pin-project-lite", - "serde 1.0.183", - "serde_json", - "serde_urlencoded", - "tokio", - "tokio-native-tls", - "tokio-util", - "tower-service", - "url", - "wasm-bindgen", - "wasm-bindgen-futures", - "wasm-streams", - "web-sys", - "winreg", -] - -[[package]] -name = "rfc7239" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "087317b3cf7eb481f13bd9025d729324b7cd068d6f470e2d76d049e191f5ba47" -dependencies = [ - "uncased", -] - -[[package]] -name = "ring" -version = "0.16.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3053cf52e236a3ed746dfc745aa9cacf1b791d846bdaf412f60a8d7d6e17c8fc" -dependencies = [ - "cc", - "libc", - "once_cell", - "spin 0.5.2", - "untrusted", - "web-sys", - "winapi 0.3.9", -] - -[[package]] -name = "ripemd" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd124222d17ad93a644ed9d011a40f4fb64aa54275c08cc216524a9ea82fb09f" -dependencies = [ - "digest 0.10.6", -] - -[[package]] -name = "rocksdb" -version = "0.20.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "015439787fce1e75d55f279078d33ff14b4af5d93d995e8838ee4631301c8a99" -dependencies = [ - "libc", - "librocksdb-sys", -] - -[[package]] -name = "rust-ini" -version = "0.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e52c148ef37f8c375d49d5a73aa70713125b7f19095948a923f80afdeb22ec2" - -[[package]] -name = "rust-sdk" -version = "0.1.0" -dependencies = [ - "anyhow", - "aptos-sdk", - "clap 4.3.19", - "econia-sdk", - "rand 0.7.3", - "reqwest", - "tokio", -] - -[[package]] -name = "rustc-demangle" -version = "0.1.22" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4a36c42d1873f9a77c53bde094f9664d9891bc604a45b4798fd2c389ed12e5b" - -[[package]] -name = "rustc-hash" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" - -[[package]] -name = "rustc-hex" -version = "2.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e75f6a532d0fd9f7f13144f392b6ad56a32696bfcd9c78f797f16bbb6f072d6" - -[[package]] -name = "rustc_version" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366" -dependencies = [ - "semver", -] - -[[package]] -name = "rustix" -version = "0.37.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85597d61f83914ddeba6a47b3b8ffe7365107221c2e557ed94426489fefb5f77" -dependencies = [ - "bitflags", - "errno", - "io-lifetimes", - "libc", - "linux-raw-sys", - "windows-sys 0.48.0", -] - -[[package]] -name = "rustls" -version = "0.20.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fff78fc74d175294f4e83b28343315ffcfb114b156f0185e9741cb5570f50e2f" -dependencies = [ - "log", - "ring", - "sct", - "webpki", -] - -[[package]] -name = "rustls-pemfile" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d194b56d58803a43635bdc398cd17e383d6f71f9182b9a192c127ca42494a59b" -dependencies = [ - "base64 0.21.0", -] - -[[package]] -name = "rustversion" -version = "1.0.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4f3208ce4d8448b3f3e7d168a73f5e0c43a61e32930de3bceeccedb388b6bf06" - -[[package]] -name = "rusty-fork" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb3dcc6e454c328bb824492db107ab7c0ae8fcffe4ad210136ef014458c1bc4f" -dependencies = [ - "fnv", - "quick-error 1.2.3", - "tempfile", - "wait-timeout", -] - -[[package]] -name = "ryu" -version = "1.0.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f91339c0467de62360649f8d3e185ca8de4224ff281f66000de5eb2a77a79041" - -[[package]] -name = "same-file" -version = "1.0.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" -dependencies = [ - "winapi-util", -] - -[[package]] -name = "schannel" -version = "0.1.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "713cfb06c7059f3588fb8044c0fad1d09e3c01d225e25b9220dbfdcf16dbb1b3" -dependencies = [ - "windows-sys 0.42.0", -] - -[[package]] -name = "scopeguard" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd" - -[[package]] -name = "scratch" -version = "1.0.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1792db035ce95be60c3f8853017b3999209281c24e2ba5bc8e59bf97a0c590c1" - -[[package]] -name = "sct" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d53dcdb7c9f8158937a7981b48accfd39a43af418591a5d008c7b22b5e1b7ca4" -dependencies = [ - "ring", - "untrusted", -] - -[[package]] -name = "security-framework" -version = "2.8.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a332be01508d814fed64bf28f798a146d73792121129962fdf335bb3c49a4254" -dependencies = [ - "bitflags", - "core-foundation", - "core-foundation-sys", - "libc", - "security-framework-sys", -] - -[[package]] -name = "security-framework-sys" -version = "2.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "31c9bb296072e961fcbd8853511dd39c2d8be2deb1e17c6860b1d30732b323b4" -dependencies = [ - "core-foundation-sys", - "libc", -] - -[[package]] -name = "semver" -version = "1.0.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bebd363326d05ec3e2f532ab7660680f3b02130d780c299bca73469d521bc0ed" - -[[package]] -name = "serde" -version = "0.8.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9dad3f759919b92c3068c696c15c3d17238234498bbdcc80f2c469606f948ac8" - -[[package]] -name = "serde" -version = "1.0.183" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32ac8da02677876d532745a130fc9d8e6edfa81a269b107c5b00829b91d8eb3c" -dependencies = [ - "serde_derive", -] - -[[package]] -name = "serde-generate" -version = "0.20.6" -source = "git+https://github.com/aptos-labs/serde-reflection?rev=839aed62a20ddccf043c08961cfe74875741ccba#839aed62a20ddccf043c08961cfe74875741ccba" -dependencies = [ - "bcs 0.1.5", - "bincode", - "heck 0.3.3", - "include_dir 0.6.2", - "maplit", - "serde 1.0.183", - "serde-reflection 0.3.5", - "serde_bytes", - "serde_yaml 0.8.26", - "structopt", - "textwrap 0.13.4", -] - -[[package]] -name = "serde-hjson" -version = "0.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a3a4e0ea8a88553209f6cc6cfe8724ecad22e1acf372793c27d995290fe74f8" -dependencies = [ - "lazy_static 1.4.0", - "num-traits 0.1.43", - "regex", - "serde 0.8.23", -] - -[[package]] -name = "serde-name" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "12c47087018ec281d1cdab673d36aea22d816b54d498264029c05d5fa1910da6" -dependencies = [ - "serde 1.0.183", - "thiserror", -] - -[[package]] -name = "serde-reflection" -version = "0.3.5" -source = "git+https://github.com/aptos-labs/serde-reflection?rev=839aed62a20ddccf043c08961cfe74875741ccba#839aed62a20ddccf043c08961cfe74875741ccba" -dependencies = [ - "once_cell", - "serde 1.0.183", - "thiserror", -] - -[[package]] -name = "serde-reflection" -version = "0.3.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f05a5f801ac62a51a49d378fdb3884480041b99aced450b28990673e8ff99895" -dependencies = [ - "once_cell", - "serde 1.0.183", - "thiserror", -] - -[[package]] -name = "serde-value" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3a1a3341211875ef120e117ea7fd5228530ae7e7036a779fdc9117be6b3282c" -dependencies = [ - "ordered-float", - "serde 1.0.183", -] - -[[package]] -name = "serde_bytes" -version = "0.11.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "416bda436f9aab92e02c8e10d49a15ddd339cea90b6e340fe51ed97abb548294" -dependencies = [ - "serde 1.0.183", -] - -[[package]] -name = "serde_derive" -version = "1.0.183" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aafe972d60b0b9bee71a91b92fee2d4fb3c9d7e8f6b179aa99f27203d99a4816" -dependencies = [ - "proc-macro2 1.0.66", - "quote 1.0.33", - "syn 2.0.29", -] - -[[package]] -name = "serde_json" -version = "1.0.95" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d721eca97ac802aa7777b701877c8004d950fc142651367300d21c1cc0194744" -dependencies = [ - "indexmap", - "itoa", - "ryu", - "serde 1.0.183", -] - -[[package]] -name = "serde_urlencoded" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3491c14715ca2294c4d6a88f15e84739788c1d030eed8c110436aafdaa2f3fd" -dependencies = [ - "form_urlencoded", - "itoa", - "ryu", - "serde 1.0.183", -] - -[[package]] -name = "serde_yaml" -version = "0.8.26" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "578a7433b776b56a35785ed5ce9a7e777ac0598aac5a6dd1b4b18a307c7fc71b" -dependencies = [ - "indexmap", - "ryu", - "serde 1.0.183", - "yaml-rust", -] - -[[package]] -name = "serde_yaml" -version = "0.9.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9d684e3ec7de3bf5466b32bd75303ac16f0736426e5a4e0d6e489559ce1249c" -dependencies = [ - "indexmap", - "itoa", - "ryu", - "serde 1.0.183", - "unsafe-libyaml", -] - -[[package]] -name = "sha1" -version = "0.10.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f04293dc80c3993519f2d7f6f511707ee7094fe0c6d3406feb330cdb3540eba3" -dependencies = [ - "cfg-if", - "cpufeatures", - "digest 0.10.6", -] - -[[package]] -name = "sha2" -version = "0.9.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d58a1e1bf39749807d89cf2d98ac2dfa0ff1cb3faa38fbb64dd88ac8013d800" -dependencies = [ - "block-buffer 0.9.0", - "cfg-if", - "cpufeatures", - "digest 0.9.0", - "opaque-debug", -] - -[[package]] -name = "sha2" -version = "0.10.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "82e6b795fe2e3b1e845bafcb27aa35405c4d47cdfc92af5fc8d3002f76cebdc0" -dependencies = [ - "cfg-if", - "cpufeatures", - "digest 0.10.6", -] - -[[package]] -name = "sha3" -version = "0.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f81199417d4e5de3f04b1e871023acea7389672c4135918f05aa9cbf2f2fa809" -dependencies = [ - "block-buffer 0.9.0", - "digest 0.9.0", - "keccak", - "opaque-debug", -] - -[[package]] -name = "sharded-slab" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "900fba806f70c630b0a382d0d825e17a0f19fcd059a2ade1ff237bcddf446b31" -dependencies = [ - "lazy_static 1.4.0", -] - -[[package]] -name = "shlex" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43b2853a4d09f215c24cc5489c992ce46052d359b5109343cbafbf26bc62f8a3" - -[[package]] -name = "signal-hook-registry" -version = "1.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d8229b473baa5980ac72ef434c4415e70c4b5e71b423043adb4ba059f89c99a1" -dependencies = [ - "libc", -] - -[[package]] -name = "signature" -version = "1.6.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "74233d3b3b2f6d4b006dc19dee745e73e2a6bfb6f93607cd3b02bd5b00797d7c" - -[[package]] -name = "simplelog" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4bc0ffd69814a9b251d43afcabf96dad1b29f5028378056257be9e3fecc9f720" -dependencies = [ - "chrono", - "log", - "termcolor", -] - -[[package]] -name = "siphasher" -version = "0.3.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7bd3e3206899af3f8b12af284fafc038cc1dc2b41d1b89dd17297221c5d225de" - -[[package]] -name = "sized-chunks" -version = "0.6.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "16d69225bde7a69b235da73377861095455d298f2b970996eec25ddbb42b3d1e" -dependencies = [ - "bitmaps", - "typenum", -] - -[[package]] -name = "slab" -version = "0.4.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6528351c9bc8ab22353f9d776db39a20288e8d6c37ef8cfe3317cf875eecfc2d" -dependencies = [ - "autocfg", -] - -[[package]] -name = "slug" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b3bc762e6a4b6c6fcaade73e77f9ebc6991b676f88bb2358bddb56560f073373" -dependencies = [ - "deunicode", -] - -[[package]] -name = "smallvec" -version = "1.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a507befe795404456341dfab10cef66ead4c041f62b8b11bbb92bffe5d0953e0" - -[[package]] -name = "smawk" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f67ad224767faa3c7d8b6d91985b78e70a1324408abcb1cfcc2be4c06bc06043" - -[[package]] -name = "socket2" -version = "0.4.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "64a4a911eed85daf18834cfaa86a79b7d266ff93ff5ba14005426219480ed662" -dependencies = [ - "libc", - "winapi 0.3.9", -] - -[[package]] -name = "spin" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d" - -[[package]] -name = "spin" -version = "0.9.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67" - -[[package]] -name = "stable_deref_trait" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" - -[[package]] -name = "static_assertions" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" - -[[package]] -name = "strsim" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a" - -[[package]] -name = "strsim" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" - -[[package]] -name = "structopt" -version = "0.3.26" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c6b5c64445ba8094a6ab0c3cd2ad323e07171012d9c98b0b15651daf1787a10" -dependencies = [ - "clap 2.34.0", - "lazy_static 1.4.0", - "structopt-derive", -] - -[[package]] -name = "structopt-derive" -version = "0.4.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dcb5ae327f9cc13b68763b5749770cb9e048a99bd9dfdfa58d0cf05d5f64afe0" -dependencies = [ - "heck 0.3.3", - "proc-macro-error", - "proc-macro2 1.0.66", - "quote 1.0.33", - "syn 1.0.109", -] - -[[package]] -name = "strum" -version = "0.24.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "063e6045c0e62079840579a7e47a355ae92f60eb74daaf156fb1e84ba164e63f" - -[[package]] -name = "strum_macros" -version = "0.24.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e385be0d24f186b4ce2f9982191e7101bb737312ad61c1f2f984f34bcf85d59" -dependencies = [ - "heck 0.4.1", - "proc-macro2 1.0.66", - "quote 1.0.33", - "rustversion", - "syn 1.0.109", -] - -[[package]] -name = "subtle" -version = "2.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6bdef32e8150c2a081110b42772ffe7d7c9032b606bc226c8260fd97e0976601" - -[[package]] -name = "syn" -version = "0.15.44" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ca4b3b69a77cbe1ffc9e198781b7acb0c7365a883670e8f1c1bc66fba79a5c5" -dependencies = [ - "proc-macro2 0.4.30", - "quote 0.6.13", - "unicode-xid", -] - -[[package]] -name = "syn" -version = "1.0.109" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" -dependencies = [ - "proc-macro2 1.0.66", - "quote 1.0.33", - "unicode-ident", -] - -[[package]] -name = "syn" -version = "2.0.29" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c324c494eba9d92503e6f1ef2e6df781e78f6a7705a0202d9801b198807d518a" -dependencies = [ - "proc-macro2 1.0.66", - "quote 1.0.33", - "unicode-ident", -] - -[[package]] -name = "tap" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" - -[[package]] -name = "tempfile" -version = "3.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9fbec84f381d5795b08656e4912bec604d162bff9291d6189a78f4c8ab87998" -dependencies = [ - "cfg-if", - "fastrand", - "redox_syscall 0.3.5", - "rustix", - "windows-sys 0.45.0", -] - -[[package]] -name = "tera" -version = "1.17.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3df578c295f9ec044ff1c829daf31bb7581d5b3c2a7a3d87419afe1f2531438c" -dependencies = [ - "chrono", - "chrono-tz", - "globwalk", - "humansize", - "lazy_static 1.4.0", - "percent-encoding", - "pest", - "pest_derive", - "rand 0.8.5", - "regex", - "serde 1.0.183", - "serde_json", - "slug", - "unic-segment", -] - -[[package]] -name = "termcolor" -version = "1.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bab24d30b911b2376f3a13cc2cd443142f0c81dda04c118693e35b3835757755" -dependencies = [ - "winapi-util", -] - -[[package]] -name = "textwrap" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060" -dependencies = [ - "unicode-width", -] - -[[package]] -name = "textwrap" -version = "0.13.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd05616119e612a8041ef58f2b578906cc2531a6069047ae092cfb86a325d835" -dependencies = [ - "smawk", - "unicode-width", -] - -[[package]] -name = "textwrap" -version = "0.15.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b7b3e525a49ec206798b40326a44121291b530c963cfb01018f63e135bac543d" -dependencies = [ - "smawk", - "unicode-linebreak", - "unicode-width", -] - -[[package]] -name = "textwrap" -version = "0.16.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "222a222a5bfe1bba4a77b45ec488a741b3cb8872e5e499451fd7d0129c9c7c3d" - -[[package]] -name = "thiserror" -version = "1.0.47" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97a802ec30afc17eee47b2855fc72e0c4cd62be9b4efe6591edde0ec5bd68d8f" -dependencies = [ - "thiserror-impl", -] - -[[package]] -name = "thiserror-impl" -version = "1.0.47" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6bb623b56e39ab7dcd4b1b98bb6c8f8d907ed255b18de254088016b27a8ee19b" -dependencies = [ - "proc-macro2 1.0.66", - "quote 1.0.33", - "syn 2.0.29", -] - -[[package]] -name = "thread_local" -version = "1.1.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3fdd6f064ccff2d6567adcb3873ca630700f00b5ad3f060c25b5dcfd9a4ce152" -dependencies = [ - "cfg-if", - "once_cell", -] - -[[package]] -name = "threadpool" -version = "1.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d050e60b33d41c19108b32cea32164033a9013fe3b46cbd4457559bfbf77afaa" -dependencies = [ - "num_cpus", -] - -[[package]] -name = "time" -version = "0.1.45" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b797afad3f312d1c66a56d11d0316f916356d11bd158fbc6ca6389ff6bf805a" -dependencies = [ - "libc", - "wasi 0.10.0+wasi-snapshot-preview1", - "winapi 0.3.9", -] - -[[package]] -name = "time" -version = "0.3.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd0cbfecb4d19b5ea75bb31ad904eb5b9fa13f21079c3b92017ebdf4999a5890" -dependencies = [ - "itoa", - "serde 1.0.183", - "time-core", - "time-macros", -] - -[[package]] -name = "time-core" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e153e1f1acaef8acc537e68b44906d2db6436e2b35ac2c6b42640fff91f00fd" - -[[package]] -name = "time-macros" -version = "0.2.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fd80a657e71da814b8e5d60d3374fc6d35045062245d80224748ae522dd76f36" -dependencies = [ - "time-core", -] - -[[package]] -name = "tint" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7af24570664a3074673dbbf69a65bdae0ae0b72f2949b1adfbacb736ee4d6896" -dependencies = [ - "lazy_static 0.2.11", -] - -[[package]] -name = "tiny-bip39" -version = "0.8.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ffc59cb9dfc85bb312c3a78fd6aa8a8582e310b0fa885d5bb877f6dcc601839d" -dependencies = [ - "anyhow", - "hmac 0.8.1", - "once_cell", - "pbkdf2", - "rand 0.7.3", - "rustc-hash", - "sha2 0.9.9", - "thiserror", - "unicode-normalization", - "wasm-bindgen", - "zeroize", -] - -[[package]] -name = "tiny-keccak" -version = "2.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c9d3793400a45f954c52e73d068316d76b6f4e36977e3fcebb13a2721e80237" -dependencies = [ - "crunchy", -] - -[[package]] -name = "tinyvec" -version = "1.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87cc5ceb3875bb20c2890005a4e226a4651264a5c75edb2421b52861a0a0cb50" -dependencies = [ - "tinyvec_macros", -] - -[[package]] -name = "tinyvec_macros" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" - -[[package]] -name = "tokio" -version = "1.27.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d0de47a4eecbe11f498978a9b29d792f0d2692d1dd003650c24c76510e3bc001" -dependencies = [ - "autocfg", - "bytes", - "libc", - "mio", - "num_cpus", - "parking_lot 0.12.1", - "pin-project-lite", - "signal-hook-registry", - "socket2", - "tokio-macros", - "windows-sys 0.45.0", -] - -[[package]] -name = "tokio-macros" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61a573bdc87985e9d6ddeed1b3d864e8a302c847e40d647746df2f1de209d1ce" -dependencies = [ - "proc-macro2 1.0.66", - "quote 1.0.33", - "syn 2.0.29", -] - -[[package]] -name = "tokio-native-tls" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbae76ab933c85776efabc971569dd6119c580d8f5d448769dec1764bf796ef2" -dependencies = [ - "native-tls", - "tokio", -] - -[[package]] -name = "tokio-rustls" -version = "0.23.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c43ee83903113e03984cb9e5cebe6c04a5116269e900e3ddba8f068a62adda59" -dependencies = [ - "rustls", - "tokio", - "webpki", -] - -[[package]] -name = "tokio-stream" -version = "0.1.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8fb52b74f05dbf495a8fba459fdc331812b96aa086d9eb78101fa0d4569c3313" -dependencies = [ - "futures-core", - "pin-project-lite", - "tokio", -] - -[[package]] -name = "tokio-util" -version = "0.7.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5427d89453009325de0d8f342c9490009f76e999cb7672d77e46267448f7e6b2" -dependencies = [ - "bytes", - "futures-core", - "futures-sink", - "pin-project-lite", - "tokio", - "tracing", -] - -[[package]] -name = "toml" -version = "0.5.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4f7f0dd8d50a853a531c426359045b1998f04219d88799810762cd4ad314234" -dependencies = [ - "serde 1.0.183", -] - -[[package]] -name = "toml_datetime" -version = "0.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ab8ed2edee10b50132aed5f331333428b011c99402b5a534154ed15746f9622" - -[[package]] -name = "toml_edit" -version = "0.19.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "239410c8609e8125456927e6707163a3b1fdb40561e4b803bc041f466ccfdc13" -dependencies = [ - "indexmap", - "toml_datetime", - "winnow", -] - -[[package]] -name = "tower-service" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6bc1c9ce2b5135ac7f93c72918fc37feb872bdc6a5533a8b85eb4b86bfdae52" - -[[package]] -name = "tracing" -version = "0.1.37" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ce8c33a8d48bd45d624a6e523445fd21ec13d3653cd51f681abf67418f54eb8" -dependencies = [ - "cfg-if", - "pin-project-lite", - "tracing-attributes", - "tracing-core", -] - -[[package]] -name = "tracing-attributes" -version = "0.1.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4017f8f45139870ca7e672686113917c71c7a6e02d4924eda67186083c03081a" -dependencies = [ - "proc-macro2 1.0.66", - "quote 1.0.33", - "syn 1.0.109", -] - -[[package]] -name = "tracing-core" -version = "0.1.30" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24eb03ba0eab1fd845050058ce5e616558e8f8d8fca633e6b163fe25c797213a" -dependencies = [ - "once_cell", - "valuable", -] - -[[package]] -name = "tracing-log" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78ddad33d2d10b1ed7eb9d1f518a5674713876e97e5bb9b7345a7984fbb4f922" -dependencies = [ - "lazy_static 1.4.0", - "log", - "tracing-core", -] - -[[package]] -name = "tracing-subscriber" -version = "0.3.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a6176eae26dd70d0c919749377897b54a9276bd7061339665dd68777926b5a70" -dependencies = [ - "nu-ansi-term", - "sharded-slab", - "smallvec", - "thread_local", - "tracing-core", - "tracing-log", -] - -[[package]] -name = "try-lock" -version = "0.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3528ecfd12c466c6f163363caf2d02a71161dd5e1cc6ae7b34207ea2d42d81ed" - -[[package]] -name = "typed-arena" -version = "2.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6af6ae20167a9ece4bcb41af5b80f8a1f1df981f6391189ce00fd257af04126a" - -[[package]] -name = "typenum" -version = "1.16.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "497961ef93d974e23eb6f433eb5fe1b7930b659f06d12dec6fc44a8f554c0bba" - -[[package]] -name = "types" -version = "0.1.0" -dependencies = [ - "chrono", - "serde 1.0.183", - "thiserror", -] - -[[package]] -name = "ucd-trie" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e79c4d996edb816c91e4308506774452e55e95c3c9de07b6729e17e15a5ef81" - -[[package]] -name = "uint" -version = "0.9.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76f64bba2c53b04fcab63c01a7d7427eadc821e3bc48c34dc9ba29c501164b52" -dependencies = [ - "byteorder", - "crunchy", - "hex", - "static_assertions", -] - -[[package]] -name = "unarray" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eaea85b334db583fe3274d12b4cd1880032beab409c0d774be044d4480ab9a94" - -[[package]] -name = "uncased" -version = "0.9.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09b01702b0fd0b3fadcf98e098780badda8742d4f4a7676615cad90e8ac73622" -dependencies = [ - "version_check", -] - -[[package]] -name = "unic-char-property" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8c57a407d9b6fa02b4795eb81c5b6652060a15a7903ea981f3d723e6c0be221" -dependencies = [ - "unic-char-range", -] - -[[package]] -name = "unic-char-range" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0398022d5f700414f6b899e10b8348231abf9173fa93144cbc1a43b9793c1fbc" - -[[package]] -name = "unic-common" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "80d7ff825a6a654ee85a63e80f92f054f904f21e7d12da4e22f9834a4aaa35bc" - -[[package]] -name = "unic-segment" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e4ed5d26be57f84f176157270c112ef57b86debac9cd21daaabbe56db0f88f23" -dependencies = [ - "unic-ucd-segment", -] - -[[package]] -name = "unic-ucd-segment" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2079c122a62205b421f499da10f3ee0f7697f012f55b675e002483c73ea34700" -dependencies = [ - "unic-char-property", - "unic-char-range", - "unic-ucd-version", -] - -[[package]] -name = "unic-ucd-version" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96bd2f2237fe450fcd0a1d2f5f4e91711124f7857ba2e964247776ebeeb7b0c4" -dependencies = [ - "unic-common", -] - -[[package]] -name = "unicode-bidi" -version = "0.3.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "92888ba5573ff080736b3648696b70cafad7d250551175acbaa4e0385b3e1460" - -[[package]] -name = "unicode-ident" -version = "1.0.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5464a87b239f13a63a501f2701565754bae92d243d4bb7eb12f6d57d2269bf4" - -[[package]] -name = "unicode-linebreak" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c5faade31a542b8b35855fff6e8def199853b2da8da256da52f52f1316ee3137" -dependencies = [ - "hashbrown 0.12.3", - "regex", -] - -[[package]] -name = "unicode-normalization" -version = "0.1.22" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c5713f0fc4b5db668a2ac63cdb7bb4469d8c9fed047b1d0292cc7b0ce2ba921" -dependencies = [ - "tinyvec", -] - -[[package]] -name = "unicode-segmentation" -version = "1.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1dd624098567895118886609431a7c3b8f516e41d30e0643f03d94592a147e36" - -[[package]] -name = "unicode-width" -version = "0.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0edd1e5b14653f783770bce4a4dabb4a5108a5370a5f5d8cfe8710c361f6c8b" - -[[package]] -name = "unicode-xid" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc72304796d0818e357ead4e000d19c9c174ab23dc11093ac919054d20a6a7fc" - -[[package]] -name = "universal-hash" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d3160b73c9a19f7e2939a2fdad446c57c1bbbbf4d919d3213ff1267a580d8b5" -dependencies = [ - "crypto-common", - "subtle", -] - -[[package]] -name = "unsafe-libyaml" -version = "0.2.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1865806a559042e51ab5414598446a5871b561d21b6764f2eabb0dd481d880a6" - -[[package]] -name = "untrusted" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a156c684c91ea7d62626509bce3cb4e1d9ed5c4d978f7b4352658f96a4c26b4a" - -[[package]] -name = "ureq" -version = "1.5.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b8b063c2d59218ae09f22b53c42eaad0d53516457905f5235ca4bc9e99daa71" -dependencies = [ - "base64 0.13.1", - "chunked_transfer", - "log", - "native-tls", - "once_cell", - "qstring", - "serde 1.0.183", - "serde_json", - "url", -] - -[[package]] -name = "url" -version = "2.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d68c799ae75762b8c3fe375feb6600ef5602c883c5d21eb51c09f22b83c4643" -dependencies = [ - "form_urlencoded", - "idna 0.3.0", - "percent-encoding", - "serde 1.0.183", -] - -[[package]] -name = "utf8parse" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a" - -[[package]] -name = "valuable" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d" - -[[package]] -name = "variant_count" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aae2faf80ac463422992abf4de234731279c058aaf33171ca70277c98406b124" -dependencies = [ - "quote 1.0.33", - "syn 1.0.109", -] - -[[package]] -name = "vcpkg" -version = "0.2.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426" - -[[package]] -name = "vec_map" -version = "0.8.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191" - -[[package]] -name = "version_check" -version = "0.9.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" - -[[package]] -name = "wait-timeout" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f200f5b12eb75f8c1ed65abd4b2db8a6e1b138a20de009dacee265a2498f3f6" -dependencies = [ - "libc", -] - -[[package]] -name = "walkdir" -version = "2.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "36df944cda56c7d8d8b7496af378e6b16de9284591917d307c9b4d313c44e698" -dependencies = [ - "same-file", - "winapi-util", -] - -[[package]] -name = "want" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ce8a968cb1cd110d136ff8b819a556d6fb6d919363c61534f6860c7eb172ba0" -dependencies = [ - "log", - "try-lock", -] - -[[package]] -name = "wasi" -version = "0.9.0+wasi-snapshot-preview1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519" - -[[package]] -name = "wasi" -version = "0.10.0+wasi-snapshot-preview1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a143597ca7c7793eff794def352d41792a93c481eb1042423ff7ff72ba2c31f" - -[[package]] -name = "wasi" -version = "0.11.0+wasi-snapshot-preview1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" - -[[package]] -name = "wasm-bindgen" -version = "0.2.84" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "31f8dcbc21f30d9b8f2ea926ecb58f6b91192c17e9d33594b3df58b2007ca53b" -dependencies = [ - "cfg-if", - "wasm-bindgen-macro", -] - -[[package]] -name = "wasm-bindgen-backend" -version = "0.2.84" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95ce90fd5bcc06af55a641a86428ee4229e44e07033963a2290a8e241607ccb9" -dependencies = [ - "bumpalo", - "log", - "once_cell", - "proc-macro2 1.0.66", - "quote 1.0.33", - "syn 1.0.109", - "wasm-bindgen-shared", -] - -[[package]] -name = "wasm-bindgen-futures" -version = "0.4.34" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f219e0d211ba40266969f6dbdd90636da12f75bee4fc9d6c23d1260dadb51454" -dependencies = [ - "cfg-if", - "js-sys", - "wasm-bindgen", - "web-sys", -] - -[[package]] -name = "wasm-bindgen-macro" -version = "0.2.84" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c21f77c0bedc37fd5dc21f897894a5ca01e7bb159884559461862ae90c0b4c5" -dependencies = [ - "quote 1.0.33", - "wasm-bindgen-macro-support", -] - -[[package]] -name = "wasm-bindgen-macro-support" -version = "0.2.84" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2aff81306fcac3c7515ad4e177f521b5c9a15f2b08f4e32d823066102f35a5f6" -dependencies = [ - "proc-macro2 1.0.66", - "quote 1.0.33", - "syn 1.0.109", - "wasm-bindgen-backend", - "wasm-bindgen-shared", -] - -[[package]] -name = "wasm-bindgen-shared" -version = "0.2.84" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0046fef7e28c3804e5e38bfa31ea2a0f73905319b677e57ebe37e49358989b5d" - -[[package]] -name = "wasm-streams" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6bbae3363c08332cadccd13b67db371814cd214c2524020932f0804b8cf7c078" -dependencies = [ - "futures-util", - "js-sys", - "wasm-bindgen", - "wasm-bindgen-futures", - "web-sys", -] - -[[package]] -name = "web-sys" -version = "0.3.61" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e33b99f4b23ba3eec1a53ac264e35a755f00e966e0065077d6027c0f575b0b97" -dependencies = [ - "js-sys", - "wasm-bindgen", -] - -[[package]] -name = "webpki" -version = "0.22.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f095d78192e208183081cc07bc5515ef55216397af48b873e5edcd72637fa1bd" -dependencies = [ - "ring", - "untrusted", -] - -[[package]] -name = "which" -version = "4.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2441c784c52b289a054b7201fc93253e288f094e2f4be9058343127c4226a269" -dependencies = [ - "either", - "libc", - "once_cell", -] - -[[package]] -name = "whoami" -version = "1.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c70234412ca409cc04e864e89523cb0fc37f5e1344ebed5a3ebf4192b6b9f68" -dependencies = [ - "wasm-bindgen", - "web-sys", -] - -[[package]] -name = "widestring" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "17882f045410753661207383517a6f62ec3dbeb6a4ed2acce01f0728238d1983" - -[[package]] -name = "winapi" -version = "0.2.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "167dc9d6949a9b857f3451275e911c3f44255842c1f7a76f33c55103a909087a" - -[[package]] -name = "winapi" -version = "0.3.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" -dependencies = [ - "winapi-i686-pc-windows-gnu", - "winapi-x86_64-pc-windows-gnu", -] - -[[package]] -name = "winapi-i686-pc-windows-gnu" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" - -[[package]] -name = "winapi-util" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178" -dependencies = [ - "winapi 0.3.9", -] - -[[package]] -name = "winapi-x86_64-pc-windows-gnu" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" - -[[package]] -name = "windows" -version = "0.48.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e686886bc078bc1b0b600cac0147aadb815089b6e4da64016cbd754b6342700f" -dependencies = [ - "windows-targets 0.48.0", -] - -[[package]] -name = "windows-sys" -version = "0.42.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a3e1820f08b8513f676f7ab6c1f99ff312fb97b553d30ff4dd86f9f15728aa7" -dependencies = [ - "windows_aarch64_gnullvm 0.42.2", - "windows_aarch64_msvc 0.42.2", - "windows_i686_gnu 0.42.2", - "windows_i686_msvc 0.42.2", - "windows_x86_64_gnu 0.42.2", - "windows_x86_64_gnullvm 0.42.2", - "windows_x86_64_msvc 0.42.2", -] - -[[package]] -name = "windows-sys" -version = "0.45.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75283be5efb2831d37ea142365f009c02ec203cd29a3ebecbc093d52315b66d0" -dependencies = [ - "windows-targets 0.42.2", -] - -[[package]] -name = "windows-sys" -version = "0.48.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" -dependencies = [ - "windows-targets 0.48.0", -] - -[[package]] -name = "windows-targets" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e5180c00cd44c9b1c88adb3693291f1cd93605ded80c250a75d472756b4d071" -dependencies = [ - "windows_aarch64_gnullvm 0.42.2", - "windows_aarch64_msvc 0.42.2", - "windows_i686_gnu 0.42.2", - "windows_i686_msvc 0.42.2", - "windows_x86_64_gnu 0.42.2", - "windows_x86_64_gnullvm 0.42.2", - "windows_x86_64_msvc 0.42.2", -] - -[[package]] -name = "windows-targets" -version = "0.48.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b1eb6f0cd7c80c79759c929114ef071b87354ce476d9d94271031c0497adfd5" -dependencies = [ - "windows_aarch64_gnullvm 0.48.0", - "windows_aarch64_msvc 0.48.0", - "windows_i686_gnu 0.48.0", - "windows_i686_msvc 0.48.0", - "windows_x86_64_gnu 0.48.0", - "windows_x86_64_gnullvm 0.48.0", - "windows_x86_64_msvc 0.48.0", -] - -[[package]] -name = "windows_aarch64_gnullvm" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8" - -[[package]] -name = "windows_aarch64_gnullvm" -version = "0.48.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91ae572e1b79dba883e0d315474df7305d12f569b400fcf90581b06062f7e1bc" - -[[package]] -name = "windows_aarch64_msvc" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43" - -[[package]] -name = "windows_aarch64_msvc" -version = "0.48.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2ef27e0d7bdfcfc7b868b317c1d32c641a6fe4629c171b8928c7b08d98d7cf3" - -[[package]] -name = "windows_i686_gnu" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f" - -[[package]] -name = "windows_i686_gnu" -version = "0.48.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "622a1962a7db830d6fd0a69683c80a18fda201879f0f447f065a3b7467daa241" - -[[package]] -name = "windows_i686_msvc" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060" - -[[package]] -name = "windows_i686_msvc" -version = "0.48.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4542c6e364ce21bf45d69fdd2a8e455fa38d316158cfd43b3ac1c5b1b19f8e00" - -[[package]] -name = "windows_x86_64_gnu" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36" - -[[package]] -name = "windows_x86_64_gnu" -version = "0.48.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca2b8a661f7628cbd23440e50b05d705db3686f894fc9580820623656af974b1" - -[[package]] -name = "windows_x86_64_gnullvm" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3" - -[[package]] -name = "windows_x86_64_gnullvm" -version = "0.48.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7896dbc1f41e08872e9d5e8f8baa8fdd2677f29468c4e156210174edc7f7b953" - -[[package]] -name = "windows_x86_64_msvc" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0" - -[[package]] -name = "windows_x86_64_msvc" -version = "0.48.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a515f5799fe4961cb532f983ce2b23082366b898e52ffbce459c86f67c8378a" - -[[package]] -name = "winnow" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae8970b36c66498d8ff1d66685dc86b91b29db0c7739899012f63a63814b4b28" -dependencies = [ - "memchr", -] - -[[package]] -name = "winreg" -version = "0.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "80d0f4e272c85def139476380b12f9ac60926689dd2e01d4923222f40580869d" -dependencies = [ - "winapi 0.3.9", -] - -[[package]] -name = "wyz" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85e60b0d1b5f99db2556934e21937020776a5d31520bf169e851ac44e6420214" - -[[package]] -name = "x25519-dalek" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2392b6b94a576b4e2bf3c5b2757d63f10ada8020a2e4d08ac849ebcf6ea8e077" -dependencies = [ - "curve25519-dalek", - "rand_core 0.5.1", - "zeroize", -] - -[[package]] -name = "yaml-rust" -version = "0.4.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56c1936c4cc7a1c9ab21a1ebb602eb942ba868cbd44a99cb7cdc5892335e1c85" -dependencies = [ - "linked-hash-map", -] - -[[package]] -name = "zeroize" -version = "1.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4756f7db3f7b5574938c3eb1c117038b8e07f95ee6718c0efad4ac21508f1efd" -dependencies = [ - "zeroize_derive", -] - -[[package]] -name = "zeroize_derive" -version = "1.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" -dependencies = [ - "proc-macro2 1.0.66", - "quote 1.0.33", - "syn 2.0.29", -] - -[[package]] -name = "zstd-sys" -version = "2.0.8+zstd.1.5.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5556e6ee25d32df2586c098bbfa278803692a20d0ab9565e049480d52707ec8c" -dependencies = [ - "cc", - "libc", - "pkg-config", -] diff --git a/src/rust/sdk/example/Cargo.toml b/src/rust/sdk/example/Cargo.toml index 97b740f5d..9003eafb5 100644 --- a/src/rust/sdk/example/Cargo.toml +++ b/src/rust/sdk/example/Cargo.toml @@ -7,10 +7,10 @@ edition = "2021" [dependencies] econia-sdk = { path = ".." } -aptos-sdk = { git = "https://github.com/aptos-labs/aptos-core", branch = "main" } +aptos-sdk.workspace = true anyhow = "1" clap = { version = "4.3", features = ["derive"] } rand = "0.7" reqwest = "0.11" -tokio = { version = "1", features = ["full"] } +tokio = { version = "1.21.0", features = ["full"] } diff --git a/src/rust/sdk/src/lib.rs b/src/rust/sdk/src/lib.rs index a0947fdfc..d95ebf116 100644 --- a/src/rust/sdk/src/lib.rs +++ b/src/rust/sdk/src/lib.rs @@ -121,8 +121,7 @@ impl EconiaClient { let chain_id = ChainId::new(index.chain_id); let account_info = aptos.get_account(account.address()).await?.into_inner(); let seq_num = account_info.sequence_number; - let acc_seq_num = account.sequence_number_mut(); - *acc_seq_num = seq_num; + account.set_sequence_number(seq_num); Ok(Self { econia_address: econia, @@ -319,8 +318,8 @@ impl EconiaClient { | AptosErrorCode::SequenceNumberTooOld | AptosErrorCode::VmError => { let seq_num = self.get_sequence_number().await?; - let acc_seq_num = self.user_account.sequence_number_mut(); - *acc_seq_num = max(seq_num, *acc_seq_num + 1); + let acc_seq_num = self.user_account.sequence_number(); + self.user_account.set_sequence_number(max(seq_num, acc_seq_num + 1)); Err(EconiaError::AptosError(RestError::Api(a))) } _ => Err(EconiaError::AptosError(RestError::Api(a))), From 1c42a64fb0ff996a88440fbd54650d3b1940036c Mon Sep 17 00:00:00 2001 From: Bogdan Crisan Date: Wed, 4 Oct 2023 20:39:57 +0200 Subject: [PATCH 03/23] run cargo fmt --- src/rust/e2e/src/utils.rs | 40 ++++++++++++++++++++++++--------------- src/rust/sdk/src/lib.rs | 3 ++- 2 files changed, 27 insertions(+), 16 deletions(-) diff --git a/src/rust/e2e/src/utils.rs b/src/rust/e2e/src/utils.rs index 9f1ee696f..91ff502c7 100644 --- a/src/rust/e2e/src/utils.rs +++ b/src/rust/e2e/src/utils.rs @@ -103,22 +103,32 @@ pub async fn init(args: &Args) -> State { args.api_url.clone() }; - let api_res = reqwest::get(Url::parse_with_params(&format!("{api_url}/market_registration_events"), &[ - ("order", "min_size.desc"), - ("limit", "1"), - ("base_account_address", &format!("{faucet_address:#}")), - ("base_module_name", "eq.example_usdc"), - ("base_struct_name", "eq.ExampleUSDC"), - ("quote_account_address", &format!("{faucet_address:#}")), - ("quote_module_name", "eq.example_apt"), - ("quote_struct_name", "eq.ExampleAPT"), - ("select", "min_size"), - ]) - .expect("Could not parse URL.")) - .await - .expect("Could not reach API."); + let api_res = reqwest::get( + Url::parse_with_params( + &format!("{api_url}/market_registration_events"), + &[ + ("order", "min_size.desc"), + ("limit", "1"), + ("base_account_address", &format!("{faucet_address:#}")), + ("base_module_name", "eq.example_usdc"), + ("base_struct_name", "eq.ExampleUSDC"), + ("quote_account_address", &format!("{faucet_address:#}")), + ("quote_module_name", "eq.example_apt"), + ("quote_struct_name", "eq.ExampleAPT"), + ("select", "min_size"), + ], + ) + .expect("Could not parse URL."), + ) + .await + .expect("Could not reach API."); - let MinSize { min_size } = if let Some(min_size) = api_res.json::>().await.expect("Could not parse API response.").get(0) { + let MinSize { min_size } = if let Some(min_size) = api_res + .json::>() + .await + .expect("Could not parse API response.") + .get(0) + { min_size.clone() } else { MinSize { min_size: 0 } diff --git a/src/rust/sdk/src/lib.rs b/src/rust/sdk/src/lib.rs index d95ebf116..6bb9a172b 100644 --- a/src/rust/sdk/src/lib.rs +++ b/src/rust/sdk/src/lib.rs @@ -319,7 +319,8 @@ impl EconiaClient { | AptosErrorCode::VmError => { let seq_num = self.get_sequence_number().await?; let acc_seq_num = self.user_account.sequence_number(); - self.user_account.set_sequence_number(max(seq_num, acc_seq_num + 1)); + self.user_account + .set_sequence_number(max(seq_num, acc_seq_num + 1)); Err(EconiaError::AptosError(RestError::Api(a))) } _ => Err(EconiaError::AptosError(RestError::Api(a))), From 4b920dea09da04fedb38a57825080176d5f21ca8 Mon Sep 17 00:00:00 2001 From: Bogdan Crisan Date: Wed, 4 Oct 2023 21:02:04 +0200 Subject: [PATCH 04/23] run cargo sqlx prepare --- ...b275d2d6e129883b9c37236503ee0dc679998.json | 17 -------- ...4d7d77b687e61eea13ce530ae813ffe98fa39.json | 34 ++++++++++++++++ ...29a203e2888ea0ebd0481222e1eb5af8e811b.json | 15 +++++++ ...a8d87a8737485feb3a1de069f1a55fed53b4a.json | 15 +++++++ ...6f73f1f482008858e30170670da43c4d58ade.json | 15 +++++++ ...5540ee00ca589bb7ec83306cfaaafbe57bed.json} | 7 ++-- ...9d13e3fd5c8c5f03f7fd37a6daf64a1e4c6f7.json | 36 +++++++++++++++++ ...6f31e92a244905df314582f042aa21c9b2814.json | 15 +++++++ ...0dc20c4059e0f47d4652d7cda82f0d4271987.json | 40 +++++++++++++++++++ 9 files changed, 174 insertions(+), 20 deletions(-) delete mode 100644 src/rust/.sqlx/query-2e27bf439eecb523847bd987fd0b275d2d6e129883b9c37236503ee0dc679998.json create mode 100644 src/rust/.sqlx/query-3d3454055f5a21d6dc54e5113bf4d7d77b687e61eea13ce530ae813ffe98fa39.json create mode 100644 src/rust/.sqlx/query-3ea7337a7b9ff3ab85b5de95aa029a203e2888ea0ebd0481222e1eb5af8e811b.json create mode 100644 src/rust/.sqlx/query-6b142ac45c78f549c23e82f0fa5a8d87a8737485feb3a1de069f1a55fed53b4a.json create mode 100644 src/rust/.sqlx/query-847099ae19715d5c8bab0a82a5c6f73f1f482008858e30170670da43c4d58ade.json rename src/rust/.sqlx/{query-f24eb29aaa6ecf6b475a56fea960de0af1c37f55c7d23e457eb0d19cac340e9b.json => query-9ba29f6bd27b409f3ea65d5cc0ae5540ee00ca589bb7ec83306cfaaafbe57bed.json} (65%) create mode 100644 src/rust/.sqlx/query-bed93fc16e5e388576cf245dc649d13e3fd5c8c5f03f7fd37a6daf64a1e4c6f7.json create mode 100644 src/rust/.sqlx/query-d8ebbac55802cd902a3dc11611f6f31e92a244905df314582f042aa21c9b2814.json create mode 100644 src/rust/.sqlx/query-e6739f7eb63a4c472c776854d150dc20c4059e0f47d4652d7cda82f0d4271987.json diff --git a/src/rust/.sqlx/query-2e27bf439eecb523847bd987fd0b275d2d6e129883b9c37236503ee0dc679998.json b/src/rust/.sqlx/query-2e27bf439eecb523847bd987fd0b275d2d6e129883b9c37236503ee0dc679998.json deleted file mode 100644 index db787a66d..000000000 --- a/src/rust/.sqlx/query-2e27bf439eecb523847bd987fd0b275d2d6e129883b9c37236503ee0dc679998.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "db_name": "PostgreSQL", - "query": "\n UPDATE aggregator.user_history\n SET\n remaining_size = remaining_size - $1,\n total_filled = total_filled + $1,\n order_status = CASE remaining_size\n WHEN 0 THEN CASE order_status\n WHEN 'cancelled' THEN order_status\n ELSE 'closed'\n END\n ELSE CASE order_type\n WHEN 'swap' THEN 'closed'\n ELSE order_status\n END\n END,\n last_updated_at = $4\n WHERE order_id = $2 AND market_id = $3;\n ", - "describe": { - "columns": [], - "parameters": { - "Left": [ - "Numeric", - "Numeric", - "Numeric", - "Timestamptz" - ] - }, - "nullable": [] - }, - "hash": "2e27bf439eecb523847bd987fd0b275d2d6e129883b9c37236503ee0dc679998" -} diff --git a/src/rust/.sqlx/query-3d3454055f5a21d6dc54e5113bf4d7d77b687e61eea13ce530ae813ffe98fa39.json b/src/rust/.sqlx/query-3d3454055f5a21d6dc54e5113bf4d7d77b687e61eea13ce530ae813ffe98fa39.json new file mode 100644 index 000000000..30d9a6173 --- /dev/null +++ b/src/rust/.sqlx/query-3d3454055f5a21d6dc54e5113bf4d7d77b687e61eea13ce530ae813ffe98fa39.json @@ -0,0 +1,34 @@ +{ + "db_name": "PostgreSQL", + "query": "\n SELECT order_type as \"order_type: OrderType\"\n FROM aggregator.user_history\n WHERE market_id = $1\n AND order_id = $2\n ", + "describe": { + "columns": [ + { + "ordinal": 0, + "name": "order_type: OrderType", + "type_info": { + "Custom": { + "name": "order_type", + "kind": { + "Enum": [ + "limit", + "market", + "swap" + ] + } + } + } + } + ], + "parameters": { + "Left": [ + "Numeric", + "Numeric" + ] + }, + "nullable": [ + false + ] + }, + "hash": "3d3454055f5a21d6dc54e5113bf4d7d77b687e61eea13ce530ae813ffe98fa39" +} diff --git a/src/rust/.sqlx/query-3ea7337a7b9ff3ab85b5de95aa029a203e2888ea0ebd0481222e1eb5af8e811b.json b/src/rust/.sqlx/query-3ea7337a7b9ff3ab85b5de95aa029a203e2888ea0ebd0481222e1eb5af8e811b.json new file mode 100644 index 000000000..e61d83610 --- /dev/null +++ b/src/rust/.sqlx/query-3ea7337a7b9ff3ab85b5de95aa029a203e2888ea0ebd0481222e1eb5af8e811b.json @@ -0,0 +1,15 @@ +{ + "db_name": "PostgreSQL", + "query": "\n UPDATE aggregator.user_history_limit\n SET prev = linked_list_last($1, (\n SELECT price\n FROM aggregator.user_history_limit\n WHERE market_id = $1\n AND order_id = $2)\n )\n WHERE market_id = $1\n AND order_id = $2;\n ", + "describe": { + "columns": [], + "parameters": { + "Left": [ + "Numeric", + "Numeric" + ] + }, + "nullable": [] + }, + "hash": "3ea7337a7b9ff3ab85b5de95aa029a203e2888ea0ebd0481222e1eb5af8e811b" +} diff --git a/src/rust/.sqlx/query-6b142ac45c78f549c23e82f0fa5a8d87a8737485feb3a1de069f1a55fed53b4a.json b/src/rust/.sqlx/query-6b142ac45c78f549c23e82f0fa5a8d87a8737485feb3a1de069f1a55fed53b4a.json new file mode 100644 index 000000000..31ea91444 --- /dev/null +++ b/src/rust/.sqlx/query-6b142ac45c78f549c23e82f0fa5a8d87a8737485feb3a1de069f1a55fed53b4a.json @@ -0,0 +1,15 @@ +{ + "db_name": "PostgreSQL", + "query": "\n UPDATE aggregator.user_history_limit\n SET prev = (\n SELECT prev\n FROM aggregator.user_history_limit\n WHERE market_id = $1\n AND order_id = $2\n )\n WHERE market_id = $1\n AND price = (\n SELECT price\n FROM aggregator.user_history_limit\n WHERE market_id = $1\n AND order_id = $2\n )\n AND prev = $2;\n ", + "describe": { + "columns": [], + "parameters": { + "Left": [ + "Numeric", + "Numeric" + ] + }, + "nullable": [] + }, + "hash": "6b142ac45c78f549c23e82f0fa5a8d87a8737485feb3a1de069f1a55fed53b4a" +} diff --git a/src/rust/.sqlx/query-847099ae19715d5c8bab0a82a5c6f73f1f482008858e30170670da43c4d58ade.json b/src/rust/.sqlx/query-847099ae19715d5c8bab0a82a5c6f73f1f482008858e30170670da43c4d58ade.json new file mode 100644 index 000000000..136929305 --- /dev/null +++ b/src/rust/.sqlx/query-847099ae19715d5c8bab0a82a5c6f73f1f482008858e30170670da43c4d58ade.json @@ -0,0 +1,15 @@ +{ + "db_name": "PostgreSQL", + "query": "\n UPDATE aggregator.user_history_limit\n SET prev = (\n SELECT prev\n FROM aggregator.user_history_limit\n WHERE market_id = $1\n AND order_id = $2\n )\n WHERE market_id = $1\n AND price = (\n SELECT price\n FROM aggregator.user_history_limit\n WHERE market_id = $1\n AND order_id = $2\n )\n AND prev = $2;\n ", + "describe": { + "columns": [], + "parameters": { + "Left": [ + "Numeric", + "Numeric" + ] + }, + "nullable": [] + }, + "hash": "847099ae19715d5c8bab0a82a5c6f73f1f482008858e30170670da43c4d58ade" +} diff --git a/src/rust/.sqlx/query-f24eb29aaa6ecf6b475a56fea960de0af1c37f55c7d23e457eb0d19cac340e9b.json b/src/rust/.sqlx/query-9ba29f6bd27b409f3ea65d5cc0ae5540ee00ca589bb7ec83306cfaaafbe57bed.json similarity index 65% rename from src/rust/.sqlx/query-f24eb29aaa6ecf6b475a56fea960de0af1c37f55c7d23e457eb0d19cac340e9b.json rename to src/rust/.sqlx/query-9ba29f6bd27b409f3ea65d5cc0ae5540ee00ca589bb7ec83306cfaaafbe57bed.json index e76b85d4d..b7c99eebd 100644 --- a/src/rust/.sqlx/query-f24eb29aaa6ecf6b475a56fea960de0af1c37f55c7d23e457eb0d19cac340e9b.json +++ b/src/rust/.sqlx/query-9ba29f6bd27b409f3ea65d5cc0ae5540ee00ca589bb7ec83306cfaaafbe57bed.json @@ -1,6 +1,6 @@ { "db_name": "PostgreSQL", - "query": "\n INSERT INTO aggregator.user_history_limit VALUES (\n $1, $2, $3, $4, $5, $6, $7\n );\n ", + "query": "\n INSERT INTO aggregator.user_history_limit VALUES (\n $1, $2, $3, $4, $5, $6, $7, linked_list_last($1, $8), $8\n );\n ", "describe": { "columns": [], "parameters": { @@ -11,10 +11,11 @@ "Numeric", "Bool", "Int2", - "Int2" + "Int2", + "Numeric" ] }, "nullable": [] }, - "hash": "f24eb29aaa6ecf6b475a56fea960de0af1c37f55c7d23e457eb0d19cac340e9b" + "hash": "9ba29f6bd27b409f3ea65d5cc0ae5540ee00ca589bb7ec83306cfaaafbe57bed" } diff --git a/src/rust/.sqlx/query-bed93fc16e5e388576cf245dc649d13e3fd5c8c5f03f7fd37a6daf64a1e4c6f7.json b/src/rust/.sqlx/query-bed93fc16e5e388576cf245dc649d13e3fd5c8c5f03f7fd37a6daf64a1e4c6f7.json new file mode 100644 index 000000000..e93d77c8f --- /dev/null +++ b/src/rust/.sqlx/query-bed93fc16e5e388576cf245dc649d13e3fd5c8c5f03f7fd37a6daf64a1e4c6f7.json @@ -0,0 +1,36 @@ +{ + "db_name": "PostgreSQL", + "query": "\n UPDATE aggregator.user_history\n SET\n remaining_size = remaining_size - $1,\n total_filled = total_filled + $1,\n order_status = CASE remaining_size - $1\n WHEN 0 THEN CASE order_status\n WHEN 'cancelled' THEN order_status\n ELSE 'closed'\n END\n ELSE CASE order_type\n WHEN 'swap' THEN 'closed'\n ELSE order_status\n END\n END,\n last_updated_at = $4\n WHERE order_id = $2 AND market_id = $3\n RETURNING order_status as \"order_status: OrderStatus\"\n ", + "describe": { + "columns": [ + { + "ordinal": 0, + "name": "order_status: OrderStatus", + "type_info": { + "Custom": { + "name": "order_status", + "kind": { + "Enum": [ + "open", + "closed", + "cancelled" + ] + } + } + } + } + ], + "parameters": { + "Left": [ + "Numeric", + "Numeric", + "Numeric", + "Timestamptz" + ] + }, + "nullable": [ + false + ] + }, + "hash": "bed93fc16e5e388576cf245dc649d13e3fd5c8c5f03f7fd37a6daf64a1e4c6f7" +} diff --git a/src/rust/.sqlx/query-d8ebbac55802cd902a3dc11611f6f31e92a244905df314582f042aa21c9b2814.json b/src/rust/.sqlx/query-d8ebbac55802cd902a3dc11611f6f31e92a244905df314582f042aa21c9b2814.json new file mode 100644 index 000000000..d30a50501 --- /dev/null +++ b/src/rust/.sqlx/query-d8ebbac55802cd902a3dc11611f6f31e92a244905df314582f042aa21c9b2814.json @@ -0,0 +1,15 @@ +{ + "db_name": "PostgreSQL", + "query": "\n UPDATE aggregator.user_history_limit\n SET prev = NULL\n WHERE market_id = $1 AND order_id = $2;\n ", + "describe": { + "columns": [], + "parameters": { + "Left": [ + "Numeric", + "Numeric" + ] + }, + "nullable": [] + }, + "hash": "d8ebbac55802cd902a3dc11611f6f31e92a244905df314582f042aa21c9b2814" +} diff --git a/src/rust/.sqlx/query-e6739f7eb63a4c472c776854d150dc20c4059e0f47d4652d7cda82f0d4271987.json b/src/rust/.sqlx/query-e6739f7eb63a4c472c776854d150dc20c4059e0f47d4652d7cda82f0d4271987.json new file mode 100644 index 000000000..4390e9e0a --- /dev/null +++ b/src/rust/.sqlx/query-e6739f7eb63a4c472c776854d150dc20c4059e0f47d4652d7cda82f0d4271987.json @@ -0,0 +1,40 @@ +{ + "db_name": "PostgreSQL", + "query": "\n SELECT order_type as \"order_type: OrderType\", remaining_size\n FROM aggregator.user_history\n WHERE market_id = $1\n AND order_id = $2\n ", + "describe": { + "columns": [ + { + "ordinal": 0, + "name": "order_type: OrderType", + "type_info": { + "Custom": { + "name": "order_type", + "kind": { + "Enum": [ + "limit", + "market", + "swap" + ] + } + } + } + }, + { + "ordinal": 1, + "name": "remaining_size", + "type_info": "Numeric" + } + ], + "parameters": { + "Left": [ + "Numeric", + "Numeric" + ] + }, + "nullable": [ + false, + false + ] + }, + "hash": "e6739f7eb63a4c472c776854d150dc20c4059e0f47d4652d7cda82f0d4271987" +} From 22d6b1c4751b13cf11113db875969ecb0faae641 Mon Sep 17 00:00:00 2001 From: Bogdan Crisan Date: Wed, 4 Oct 2023 21:04:22 +0200 Subject: [PATCH 05/23] fix deps --- src/rust/Cargo.lock | 4 ++-- src/rust/Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/rust/Cargo.lock b/src/rust/Cargo.lock index 6bb6adca3..470626228 100644 --- a/src/rust/Cargo.lock +++ b/src/rust/Cargo.lock @@ -1338,9 +1338,9 @@ dependencies = [ [[package]] name = "bigdecimal" -version = "0.3.1" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a6773ddc0eafc0e509fb60e48dff7f450f8e674a0686ae8605e8d9901bd5eefa" +checksum = "6aaf33151a6429fe9211d1b276eafdf70cdff28b071e76c0b0e1503221ea3744" dependencies = [ "num-bigint", "num-integer", diff --git a/src/rust/Cargo.toml b/src/rust/Cargo.toml index 4ea9e0c15..8c99b2864 100644 --- a/src/rust/Cargo.toml +++ b/src/rust/Cargo.toml @@ -33,7 +33,7 @@ axum = "0.6.19" backtrace = "0.3.58" base64 = "0.13.0" bcs = { git = "https://github.com/aptos-labs/bcs.git", rev = "d31fab9d81748e2594be5cd5cdf845786a30562d" } -bigdecimal = { version = "=0.3.1", features = ["serde"] } +bigdecimal = { version = "=0.3.0", features = ["serde"] } chrono = { version = "0.4.26", features = ["clock", "serde"] } clap = { version = "4.3.5", features = ["derive", "unstable-styles"] } diesel = { version = "2.1.0", features = [ From 6e3a8ea57e2d6b370bc0bafed338acac36e1c702 Mon Sep 17 00:00:00 2001 From: Bogdan Crisan Date: Wed, 4 Oct 2023 21:49:46 +0200 Subject: [PATCH 06/23] add aggregator to docker --- src/docker/aggregator/Dockerfile | 20 ++++++++++++++ src/docker/compose.dss-global.yaml | 32 +--------------------- src/docker/compose.dss-local.yaml | 33 +--------------------- src/docker/compose.dss.yaml | 44 ++++++++++++++++++++++++++++++ 4 files changed, 66 insertions(+), 63 deletions(-) create mode 100644 src/docker/aggregator/Dockerfile create mode 100644 src/docker/compose.dss.yaml diff --git a/src/docker/aggregator/Dockerfile b/src/docker/aggregator/Dockerfile new file mode 100644 index 000000000..8868010c8 --- /dev/null +++ b/src/docker/aggregator/Dockerfile @@ -0,0 +1,20 @@ +# This docker file is used to run the database migrations +FROM rust:slim-bookworm + +ARG RUST_ROOT=src/rust +ARG DATABASE_URL +ENV DATABASE_URL=$DATABASE_URL +COPY $RUST_ROOT /app + +RUN apt-get update && apt-get install -y \ + libudev-dev \ + build-essential \ + libclang-dev \ + libpq-dev \ + libssl-dev \ + lld \ + && rm -rf /var/lib/apt/lists/* + +WORKDIR /app + +ENTRYPOINT ["cargo", "run", "-p", "aggregator"] diff --git a/src/docker/compose.dss-global.yaml b/src/docker/compose.dss-global.yaml index a8fd2b335..b47e71d04 100644 --- a/src/docker/compose.dss-global.yaml +++ b/src/docker/compose.dss-global.yaml @@ -1,22 +1,9 @@ version: "3.9" include: - - compose.database.yaml + - compose.dss.yaml services: - - postgrest: - depends_on: - - diesel - - postgres - environment: - PGRST_DB_URI: "postgres://econia:econia@postgres:5432/econia" - PGRST_DB_ANON_ROLE: web_anon - PGRST_DB_SCHEMA: api - image: postgrest/postgrest - ports: - - "3001:3000" - processor: build: context: ../../ @@ -29,20 +16,3 @@ services: - "./processor/config.yaml:/config.yaml" environment: - HEALTHCHECK_BEFORE_START=false - - ws: - build: - context: ../../ - dockerfile: src/docker/api/Dockerfile.ws - args: - - POSTGRES_WEBSOCKETS_VERSION=0.11.1.0 - depends_on: - - diesel - - postgres - environment: - - PGWS_DB_URI=postgres://econia:econia@postgres/econia - - PGWS_JWT_SECRET=econia_is_dooooooooooooooooooope - - PGWS_CHECK_LISTENER_INTERVAL=1000 - - PGWS_LISTEN_CHANNEL=econiaws - ports: - - 3000:3000 diff --git a/src/docker/compose.dss-local.yaml b/src/docker/compose.dss-local.yaml index e025f9b39..9d21d4ef9 100644 --- a/src/docker/compose.dss-local.yaml +++ b/src/docker/compose.dss-local.yaml @@ -1,10 +1,9 @@ version: "3.9" include: - - compose.database.yaml + - compose.dss.yaml services: - streamer: build: context: ../../ @@ -15,45 +14,15 @@ services: - "8080:8080" - "8081:8081" - postgrest: - depends_on: - - diesel - - postgres - environment: - PGRST_DB_URI: "postgres://econia:econia@postgres:5432/econia" - PGRST_DB_ANON_ROLE: web_anon - PGRST_DB_SCHEMA: api - image: postgrest/postgrest - ports: - - "3001:3000" - processor: build: context: ../../ dockerfile: src/docker/processor/Dockerfile depends_on: - postgres - - streamer ports: - "8085:8085" volumes: - "./processor/config.yaml:/config.yaml" environment: - HEALTHCHECK_BEFORE_START=true - - ws: - build: - context: ../../ - dockerfile: src/docker/api/Dockerfile.ws - args: - - POSTGRES_WEBSOCKETS_VERSION=0.11.1.0 - depends_on: - - diesel - - postgres - environment: - - PGWS_DB_URI=postgres://econia:econia@postgres/econia - - PGWS_JWT_SECRET=econia_is_dooooooooooooooooooope - - PGWS_CHECK_LISTENER_INTERVAL=1000 - - PGWS_LISTEN_CHANNEL=econiaws - ports: - - 3000:3000 diff --git a/src/docker/compose.dss.yaml b/src/docker/compose.dss.yaml new file mode 100644 index 000000000..4a456853e --- /dev/null +++ b/src/docker/compose.dss.yaml @@ -0,0 +1,44 @@ +version: "3.9" + +include: + - compose.database.yaml + +services: + aggregator: + build: + context: ../../ + dockerfile: src/docker/aggregator/Dockerfile + depends_on: + - diesel + - postgres + environment: + DATABASE_URL: "postgres://econia:econia@postgres:5432/econia" + + postgrest: + depends_on: + - diesel + - postgres + environment: + PGRST_DB_URI: "postgres://econia:econia@postgres:5432/econia" + PGRST_DB_ANON_ROLE: web_anon + PGRST_DB_SCHEMA: api + image: postgrest/postgrest + ports: + - "3001:3000" + + ws: + build: + context: ../../ + dockerfile: src/docker/api/Dockerfile.ws + args: + - POSTGRES_WEBSOCKETS_VERSION=0.11.1.0 + depends_on: + - diesel + - postgres + environment: + - PGWS_DB_URI=postgres://econia:econia@postgres/econia + - PGWS_JWT_SECRET=econia_is_dooooooooooooooooooope + - PGWS_CHECK_LISTENER_INTERVAL=1000 + - PGWS_LISTEN_CHANNEL=econiaws + ports: + - 3000:3000 From a213fc481018941a42eb54584ca8801fcb1aed3e Mon Sep 17 00:00:00 2001 From: Bogdan Crisan Date: Thu, 5 Oct 2023 09:27:13 +0200 Subject: [PATCH 07/23] fix pr according to comments - [uncomment accidentally commented line](https://github.com/econia-labs/econia/pull/518#discussion_r1346453497) - [use `last_increase_time` instead of `prev`](https://github.com/econia-labs/econia/pull/518#discussion_r1346491855) - [update JWT secret](https://github.com/econia-labs/econia/pull/518#discussion_r1346438679) - [add documentation on how to generate `.sqlx/*` files](https://github.com/econia-labs/econia/pull/518#discussion_r1346440364) - [no, it's not](https://github.com/econia-labs/econia/pull/518#discussion_r1346441508) - [compile aggregator in build step](https://github.com/econia-labs/econia/pull/518#discussion_r1346442510) - [renamed migration to reduce confusion](https://github.com/econia-labs/econia/pull/518#discussion_r1346446304) - [consolidate migrations](https://github.com/econia-labs/econia/pull/518#discussion_r1346452422) --- src/docker/aggregator/Dockerfile | 6 +- src/docker/compose.dss.yaml | 2 +- ...7cfe1eb4b38d21ee243ec75bb1521c7e244e.json} | 27 +--- ...4d7d77b687e61eea13ce530ae813ffe98fa39.json | 34 ----- ...5f98d2f204eb749aa1ca3df463422b15c648.json} | 7 +- ...29a203e2888ea0ebd0481222e1eb5af8e811b.json | 15 -- ...a8d87a8737485feb3a1de069f1a55fed53b4a.json | 15 -- ...6f73f1f482008858e30170670da43c4d58ade.json | 15 -- ...3bf0303863615a4a8af3ba23009b04b2c1d72.json | 16 +++ ...6f31e92a244905df314582f042aa21c9b2814.json | 15 -- src/rust/aggregator/README.md | 4 + src/rust/aggregator/src/data/user_history.rs | 131 +----------------- src/rust/aggregator/src/main.rs | 6 +- .../2023-09-04-113144_postgrest/up.sql | 2 +- .../down.sql | 8 +- .../down.sql | 9 -- .../2023-10-03-070930_add_order_order/up.sql | 25 ---- .../down.sql | 2 + .../up.sql | 2 + 19 files changed, 51 insertions(+), 290 deletions(-) rename src/rust/.sqlx/{query-bed93fc16e5e388576cf245dc649d13e3fd5c8c5f03f7fd37a6daf64a1e4c6f7.json => query-2edfd0fdf08dc902ae1db2a7fe607cfe1eb4b38d21ee243ec75bb1521c7e244e.json} (57%) delete mode 100644 src/rust/.sqlx/query-3d3454055f5a21d6dc54e5113bf4d7d77b687e61eea13ce530ae813ffe98fa39.json rename src/rust/.sqlx/{query-9ba29f6bd27b409f3ea65d5cc0ae5540ee00ca589bb7ec83306cfaaafbe57bed.json => query-3e58570054c486ebf507e911aabd5f98d2f204eb749aa1ca3df463422b15c648.json} (68%) delete mode 100644 src/rust/.sqlx/query-3ea7337a7b9ff3ab85b5de95aa029a203e2888ea0ebd0481222e1eb5af8e811b.json delete mode 100644 src/rust/.sqlx/query-6b142ac45c78f549c23e82f0fa5a8d87a8737485feb3a1de069f1a55fed53b4a.json delete mode 100644 src/rust/.sqlx/query-847099ae19715d5c8bab0a82a5c6f73f1f482008858e30170670da43c4d58ade.json create mode 100644 src/rust/.sqlx/query-8d34a07730993bcae45dd3c43e93bf0303863615a4a8af3ba23009b04b2c1d72.json delete mode 100644 src/rust/.sqlx/query-d8ebbac55802cd902a3dc11611f6f31e92a244905df314582f042aa21c9b2814.json delete mode 100644 src/rust/dbv2/migrations/2023-10-03-070930_add_order_order/down.sql delete mode 100644 src/rust/dbv2/migrations/2023-10-03-070930_add_order_order/up.sql rename src/rust/dbv2/migrations/{2023-10-03-071834_fix_price_field => 2023-10-03-070930_add_order_queue}/down.sql (77%) rename src/rust/dbv2/migrations/{2023-10-03-071834_fix_price_field => 2023-10-03-070930_add_order_queue}/up.sql (75%) diff --git a/src/docker/aggregator/Dockerfile b/src/docker/aggregator/Dockerfile index 8868010c8..51f480257 100644 --- a/src/docker/aggregator/Dockerfile +++ b/src/docker/aggregator/Dockerfile @@ -1,4 +1,4 @@ -# This docker file is used to run the database migrations +# This docker file is used to run the aggregator FROM rust:slim-bookworm ARG RUST_ROOT=src/rust @@ -17,4 +17,6 @@ RUN apt-get update && apt-get install -y \ WORKDIR /app -ENTRYPOINT ["cargo", "run", "-p", "aggregator"] +RUN cargo build --release -p aggregator + +ENTRYPOINT ["cargo", "run", "--release", "-p", "aggregator"] diff --git a/src/docker/compose.dss.yaml b/src/docker/compose.dss.yaml index 4a456853e..3bd76373c 100644 --- a/src/docker/compose.dss.yaml +++ b/src/docker/compose.dss.yaml @@ -37,7 +37,7 @@ services: - postgres environment: - PGWS_DB_URI=postgres://econia:econia@postgres/econia - - PGWS_JWT_SECRET=econia_is_dooooooooooooooooooope + - PGWS_JWT_SECRET=conjunctivodacryocystorhinostomy - PGWS_CHECK_LISTENER_INTERVAL=1000 - PGWS_LISTEN_CHANNEL=econiaws ports: diff --git a/src/rust/.sqlx/query-bed93fc16e5e388576cf245dc649d13e3fd5c8c5f03f7fd37a6daf64a1e4c6f7.json b/src/rust/.sqlx/query-2edfd0fdf08dc902ae1db2a7fe607cfe1eb4b38d21ee243ec75bb1521c7e244e.json similarity index 57% rename from src/rust/.sqlx/query-bed93fc16e5e388576cf245dc649d13e3fd5c8c5f03f7fd37a6daf64a1e4c6f7.json rename to src/rust/.sqlx/query-2edfd0fdf08dc902ae1db2a7fe607cfe1eb4b38d21ee243ec75bb1521c7e244e.json index e93d77c8f..b799a84b6 100644 --- a/src/rust/.sqlx/query-bed93fc16e5e388576cf245dc649d13e3fd5c8c5f03f7fd37a6daf64a1e4c6f7.json +++ b/src/rust/.sqlx/query-2edfd0fdf08dc902ae1db2a7fe607cfe1eb4b38d21ee243ec75bb1521c7e244e.json @@ -1,25 +1,8 @@ { "db_name": "PostgreSQL", - "query": "\n UPDATE aggregator.user_history\n SET\n remaining_size = remaining_size - $1,\n total_filled = total_filled + $1,\n order_status = CASE remaining_size - $1\n WHEN 0 THEN CASE order_status\n WHEN 'cancelled' THEN order_status\n ELSE 'closed'\n END\n ELSE CASE order_type\n WHEN 'swap' THEN 'closed'\n ELSE order_status\n END\n END,\n last_updated_at = $4\n WHERE order_id = $2 AND market_id = $3\n RETURNING order_status as \"order_status: OrderStatus\"\n ", + "query": "\n UPDATE aggregator.user_history\n SET\n remaining_size = remaining_size - $1,\n total_filled = total_filled + $1,\n order_status = CASE remaining_size - $1\n WHEN 0 THEN CASE order_status\n WHEN 'cancelled' THEN order_status\n ELSE 'closed'\n END\n ELSE CASE order_type\n WHEN 'swap' THEN 'closed'\n ELSE order_status\n END\n END,\n last_updated_at = $4\n WHERE order_id = $2 AND market_id = $3\n ", "describe": { - "columns": [ - { - "ordinal": 0, - "name": "order_status: OrderStatus", - "type_info": { - "Custom": { - "name": "order_status", - "kind": { - "Enum": [ - "open", - "closed", - "cancelled" - ] - } - } - } - } - ], + "columns": [], "parameters": { "Left": [ "Numeric", @@ -28,9 +11,7 @@ "Timestamptz" ] }, - "nullable": [ - false - ] + "nullable": [] }, - "hash": "bed93fc16e5e388576cf245dc649d13e3fd5c8c5f03f7fd37a6daf64a1e4c6f7" + "hash": "2edfd0fdf08dc902ae1db2a7fe607cfe1eb4b38d21ee243ec75bb1521c7e244e" } diff --git a/src/rust/.sqlx/query-3d3454055f5a21d6dc54e5113bf4d7d77b687e61eea13ce530ae813ffe98fa39.json b/src/rust/.sqlx/query-3d3454055f5a21d6dc54e5113bf4d7d77b687e61eea13ce530ae813ffe98fa39.json deleted file mode 100644 index 30d9a6173..000000000 --- a/src/rust/.sqlx/query-3d3454055f5a21d6dc54e5113bf4d7d77b687e61eea13ce530ae813ffe98fa39.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "db_name": "PostgreSQL", - "query": "\n SELECT order_type as \"order_type: OrderType\"\n FROM aggregator.user_history\n WHERE market_id = $1\n AND order_id = $2\n ", - "describe": { - "columns": [ - { - "ordinal": 0, - "name": "order_type: OrderType", - "type_info": { - "Custom": { - "name": "order_type", - "kind": { - "Enum": [ - "limit", - "market", - "swap" - ] - } - } - } - } - ], - "parameters": { - "Left": [ - "Numeric", - "Numeric" - ] - }, - "nullable": [ - false - ] - }, - "hash": "3d3454055f5a21d6dc54e5113bf4d7d77b687e61eea13ce530ae813ffe98fa39" -} diff --git a/src/rust/.sqlx/query-9ba29f6bd27b409f3ea65d5cc0ae5540ee00ca589bb7ec83306cfaaafbe57bed.json b/src/rust/.sqlx/query-3e58570054c486ebf507e911aabd5f98d2f204eb749aa1ca3df463422b15c648.json similarity index 68% rename from src/rust/.sqlx/query-9ba29f6bd27b409f3ea65d5cc0ae5540ee00ca589bb7ec83306cfaaafbe57bed.json rename to src/rust/.sqlx/query-3e58570054c486ebf507e911aabd5f98d2f204eb749aa1ca3df463422b15c648.json index b7c99eebd..7b11ae6cd 100644 --- a/src/rust/.sqlx/query-9ba29f6bd27b409f3ea65d5cc0ae5540ee00ca589bb7ec83306cfaaafbe57bed.json +++ b/src/rust/.sqlx/query-3e58570054c486ebf507e911aabd5f98d2f204eb749aa1ca3df463422b15c648.json @@ -1,6 +1,6 @@ { "db_name": "PostgreSQL", - "query": "\n INSERT INTO aggregator.user_history_limit VALUES (\n $1, $2, $3, $4, $5, $6, $7, linked_list_last($1, $8), $8\n );\n ", + "query": "\n INSERT INTO aggregator.user_history_limit VALUES (\n $1, $2, $3, $4, $5, $6, $7, $8, $9\n );\n ", "describe": { "columns": [], "parameters": { @@ -12,10 +12,11 @@ "Bool", "Int2", "Int2", - "Numeric" + "Numeric", + "Timestamptz" ] }, "nullable": [] }, - "hash": "9ba29f6bd27b409f3ea65d5cc0ae5540ee00ca589bb7ec83306cfaaafbe57bed" + "hash": "3e58570054c486ebf507e911aabd5f98d2f204eb749aa1ca3df463422b15c648" } diff --git a/src/rust/.sqlx/query-3ea7337a7b9ff3ab85b5de95aa029a203e2888ea0ebd0481222e1eb5af8e811b.json b/src/rust/.sqlx/query-3ea7337a7b9ff3ab85b5de95aa029a203e2888ea0ebd0481222e1eb5af8e811b.json deleted file mode 100644 index e61d83610..000000000 --- a/src/rust/.sqlx/query-3ea7337a7b9ff3ab85b5de95aa029a203e2888ea0ebd0481222e1eb5af8e811b.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "db_name": "PostgreSQL", - "query": "\n UPDATE aggregator.user_history_limit\n SET prev = linked_list_last($1, (\n SELECT price\n FROM aggregator.user_history_limit\n WHERE market_id = $1\n AND order_id = $2)\n )\n WHERE market_id = $1\n AND order_id = $2;\n ", - "describe": { - "columns": [], - "parameters": { - "Left": [ - "Numeric", - "Numeric" - ] - }, - "nullable": [] - }, - "hash": "3ea7337a7b9ff3ab85b5de95aa029a203e2888ea0ebd0481222e1eb5af8e811b" -} diff --git a/src/rust/.sqlx/query-6b142ac45c78f549c23e82f0fa5a8d87a8737485feb3a1de069f1a55fed53b4a.json b/src/rust/.sqlx/query-6b142ac45c78f549c23e82f0fa5a8d87a8737485feb3a1de069f1a55fed53b4a.json deleted file mode 100644 index 31ea91444..000000000 --- a/src/rust/.sqlx/query-6b142ac45c78f549c23e82f0fa5a8d87a8737485feb3a1de069f1a55fed53b4a.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "db_name": "PostgreSQL", - "query": "\n UPDATE aggregator.user_history_limit\n SET prev = (\n SELECT prev\n FROM aggregator.user_history_limit\n WHERE market_id = $1\n AND order_id = $2\n )\n WHERE market_id = $1\n AND price = (\n SELECT price\n FROM aggregator.user_history_limit\n WHERE market_id = $1\n AND order_id = $2\n )\n AND prev = $2;\n ", - "describe": { - "columns": [], - "parameters": { - "Left": [ - "Numeric", - "Numeric" - ] - }, - "nullable": [] - }, - "hash": "6b142ac45c78f549c23e82f0fa5a8d87a8737485feb3a1de069f1a55fed53b4a" -} diff --git a/src/rust/.sqlx/query-847099ae19715d5c8bab0a82a5c6f73f1f482008858e30170670da43c4d58ade.json b/src/rust/.sqlx/query-847099ae19715d5c8bab0a82a5c6f73f1f482008858e30170670da43c4d58ade.json deleted file mode 100644 index 136929305..000000000 --- a/src/rust/.sqlx/query-847099ae19715d5c8bab0a82a5c6f73f1f482008858e30170670da43c4d58ade.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "db_name": "PostgreSQL", - "query": "\n UPDATE aggregator.user_history_limit\n SET prev = (\n SELECT prev\n FROM aggregator.user_history_limit\n WHERE market_id = $1\n AND order_id = $2\n )\n WHERE market_id = $1\n AND price = (\n SELECT price\n FROM aggregator.user_history_limit\n WHERE market_id = $1\n AND order_id = $2\n )\n AND prev = $2;\n ", - "describe": { - "columns": [], - "parameters": { - "Left": [ - "Numeric", - "Numeric" - ] - }, - "nullable": [] - }, - "hash": "847099ae19715d5c8bab0a82a5c6f73f1f482008858e30170670da43c4d58ade" -} diff --git a/src/rust/.sqlx/query-8d34a07730993bcae45dd3c43e93bf0303863615a4a8af3ba23009b04b2c1d72.json b/src/rust/.sqlx/query-8d34a07730993bcae45dd3c43e93bf0303863615a4a8af3ba23009b04b2c1d72.json new file mode 100644 index 000000000..2ad6bc561 --- /dev/null +++ b/src/rust/.sqlx/query-8d34a07730993bcae45dd3c43e93bf0303863615a4a8af3ba23009b04b2c1d72.json @@ -0,0 +1,16 @@ +{ + "db_name": "PostgreSQL", + "query": "\n UPDATE aggregator.user_history_limit\n SET last_increase_time = $3\n WHERE market_id = $1\n AND order_id = $2\n ", + "describe": { + "columns": [], + "parameters": { + "Left": [ + "Numeric", + "Numeric", + "Timestamptz" + ] + }, + "nullable": [] + }, + "hash": "8d34a07730993bcae45dd3c43e93bf0303863615a4a8af3ba23009b04b2c1d72" +} diff --git a/src/rust/.sqlx/query-d8ebbac55802cd902a3dc11611f6f31e92a244905df314582f042aa21c9b2814.json b/src/rust/.sqlx/query-d8ebbac55802cd902a3dc11611f6f31e92a244905df314582f042aa21c9b2814.json deleted file mode 100644 index d30a50501..000000000 --- a/src/rust/.sqlx/query-d8ebbac55802cd902a3dc11611f6f31e92a244905df314582f042aa21c9b2814.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "db_name": "PostgreSQL", - "query": "\n UPDATE aggregator.user_history_limit\n SET prev = NULL\n WHERE market_id = $1 AND order_id = $2;\n ", - "describe": { - "columns": [], - "parameters": { - "Left": [ - "Numeric", - "Numeric" - ] - }, - "nullable": [] - }, - "hash": "d8ebbac55802cd902a3dc11611f6f31e92a244905df314582f042aa21c9b2814" -} diff --git a/src/rust/aggregator/README.md b/src/rust/aggregator/README.md index 481036bce..2331f0974 100644 --- a/src/rust/aggregator/README.md +++ b/src/rust/aggregator/README.md @@ -46,3 +46,7 @@ For example, a 1-minute candle stick data flow would follow the following princi - `process` would get all events between `truncate(now, 'minutes')` and `truncate(now - 1 minute, 'minutes')` and generate the candle sticks from this data. It would also update a field with the last time the function was executed. - `save` would take the output of `process` and save it in a database. + +# SQLX + +The aggregator uses SQLX. In order for the requests to be checked and the crate to be compiled when the database is offline, you have to run `cargo sqlx prepare --workspace` from the Rust root (`src/rust`) when updating or creating a request. diff --git a/src/rust/aggregator/src/data/user_history.rs b/src/rust/aggregator/src/data/user_history.rs index d330c3aa4..91856a3ce 100644 --- a/src/rust/aggregator/src/data/user_history.rs +++ b/src/rust/aggregator/src/data/user_history.rs @@ -140,7 +140,7 @@ impl Data for UserHistory { sqlx::query!( r#" INSERT INTO aggregator.user_history_limit VALUES ( - $1, $2, $3, $4, $5, $6, $7, linked_list_last($1, $8), $8 + $1, $2, $3, $4, $5, $6, $7, $8, $9 ); "#, x.market_id, @@ -151,6 +151,7 @@ impl Data for UserHistory { x.self_match_behavior, x.restriction, x.price, + x.time, ) .execute(&mut transaction as &mut PgConnection) .await @@ -330,49 +331,6 @@ impl Data for UserHistory { }; } for x in &cancel_events { - let order_type = sqlx::query!( - r#" - SELECT order_type as "order_type: OrderType" - FROM aggregator.user_history - WHERE market_id = $1 - AND order_id = $2 - "#, - x.market_id, - x.order_id - ) - .fetch_one(&mut transaction as &mut PgConnection) - .await - .map_err(|e| DataAggregationError::ProcessingError(anyhow!(e)))?; - - if matches!(order_type.order_type, OrderType::Limit) { - // Let's say we have A <- B <- C where B is the current order - - // We update C to point to A - sqlx::query!( - r#" - UPDATE aggregator.user_history_limit - SET prev = ( - SELECT prev - FROM aggregator.user_history_limit - WHERE market_id = $1 - AND order_id = $2 - ) - WHERE market_id = $1 - AND price = ( - SELECT price - FROM aggregator.user_history_limit - WHERE market_id = $1 - AND order_id = $2 - ) - AND prev = $2; - "#, - x.market_id, - x.order_id, - ) - .execute(&mut transaction as &mut PgConnection) - .await - .map_err(|e| DataAggregationError::ProcessingError(anyhow!(e)))?; - } sqlx::query!( r#" UPDATE aggregator.user_history @@ -403,7 +361,7 @@ async fn aggregate_fill<'a>( market_id: &BigDecimal, time: &DateTime, ) -> DataAggregationResult { - let record = sqlx::query!( + sqlx::query!( r#" UPDATE aggregator.user_history SET @@ -421,7 +379,6 @@ async fn aggregate_fill<'a>( END, last_updated_at = $4 WHERE order_id = $2 AND market_id = $3 - RETURNING order_status as "order_status: OrderStatus" "#, size, maker_order_id, @@ -431,49 +388,6 @@ async fn aggregate_fill<'a>( .fetch_one(tx as &mut PgConnection) .await .map_err(|e| DataAggregationError::ProcessingError(anyhow!(e)))?; - if matches!(record.order_status, OrderStatus::Closed) { - // Let's say we have A <- B <- C where B is the current order - - // We update C to point to A - sqlx::query!( - r#" - UPDATE aggregator.user_history_limit - SET prev = ( - SELECT prev - FROM aggregator.user_history_limit - WHERE market_id = $1 - AND order_id = $2 - ) - WHERE market_id = $1 - AND price = ( - SELECT price - FROM aggregator.user_history_limit - WHERE market_id = $1 - AND order_id = $2 - ) - AND prev = $2; - "#, - market_id, - maker_order_id, - ) - .execute(tx as &mut PgConnection) - .await - .map_err(|e| DataAggregationError::ProcessingError(anyhow!(e)))?; - - // We update B to point to null - sqlx::query!( - r#" - UPDATE aggregator.user_history_limit - SET prev = NULL - WHERE market_id = $1 AND order_id = $2; - "#, - market_id, - maker_order_id, - ) - .execute(tx as &mut PgConnection) - .await - .map_err(|e| DataAggregationError::ProcessingError(anyhow!(e)))?; - } Ok(()) } @@ -502,49 +416,16 @@ async fn aggregate_change<'a>( (record.order_type, record.remaining_size); // If its a limit order and needs reordering if matches!(order_type, OrderType::Limit) && &original_size < new_size { - // Let's say we have A <- B <- C where B is the current order - - // We update C to point to A - sqlx::query!( - r#" - UPDATE aggregator.user_history_limit - SET prev = ( - SELECT prev - FROM aggregator.user_history_limit - WHERE market_id = $1 - AND order_id = $2 - ) - WHERE market_id = $1 - AND price = ( - SELECT price - FROM aggregator.user_history_limit - WHERE market_id = $1 - AND order_id = $2 - ) - AND prev = $2; - "#, - market_id, - order_id, - ) - .execute(tx as &mut PgConnection) - .await - .map_err(|e| DataAggregationError::ProcessingError(anyhow!(e)))?; - - // We update B to point to last sqlx::query!( r#" UPDATE aggregator.user_history_limit - SET prev = linked_list_last($1, ( - SELECT price - FROM aggregator.user_history_limit - WHERE market_id = $1 - AND order_id = $2) - ) + SET last_increase_time = $3 WHERE market_id = $1 - AND order_id = $2; + AND order_id = $2 "#, market_id, order_id, + time ) .execute(tx as &mut PgConnection) .await diff --git a/src/rust/aggregator/src/main.rs b/src/rust/aggregator/src/main.rs index d8a74e96f..5d8c34d8d 100644 --- a/src/rust/aggregator/src/main.rs +++ b/src/rust/aggregator/src/main.rs @@ -22,9 +22,9 @@ async fn main() -> Result<()> { let mut data: Vec>> = vec![]; - // data.push(Arc::new(Mutex::new(MarketsRegisteredPerDay::new( - // pool.clone(), - // )))); + data.push(Arc::new(Mutex::new(MarketsRegisteredPerDay::new( + pool.clone(), + )))); data.push(Arc::new(Mutex::new(UserHistory::new(pool.clone())))); diff --git a/src/rust/dbv2/migrations/2023-09-04-113144_postgrest/up.sql b/src/rust/dbv2/migrations/2023-09-04-113144_postgrest/up.sql index 3bca83e1d..13f09df63 100644 --- a/src/rust/dbv2/migrations/2023-09-04-113144_postgrest/up.sql +++ b/src/rust/dbv2/migrations/2023-09-04-113144_postgrest/up.sql @@ -25,5 +25,5 @@ CREATE EXTENSION pgjwt CASCADE; CREATE FUNCTION api.jwt (json) RETURNS TEXT AS $$ - SELECT sign((CONCAT(CONCAT('{"mode": "r","channels": ', $1->>'channels'::text),'}'))::json, 'econia_is_dooooooooooooooooooope') + SELECT sign((CONCAT(CONCAT('{"mode": "r","channels": ', $1->>'channels'::text),'}'))::json, 'conjunctivodacryocystorhinostomy') $$ LANGUAGE SQL; diff --git a/src/rust/dbv2/migrations/2023-10-02-215432_balance_updates/down.sql b/src/rust/dbv2/migrations/2023-10-02-215432_balance_updates/down.sql index f04f270f4..518fbe6c4 100644 --- a/src/rust/dbv2/migrations/2023-10-02-215432_balance_updates/down.sql +++ b/src/rust/dbv2/migrations/2023-10-02-215432_balance_updates/down.sql @@ -1,11 +1,11 @@ -- Table drop generated via diesel migration generate --diff-schema. -- View drops generated manually. -DROP TABLE IF EXISTS "balance_updates_by_handle"; -DROP TABLE IF EXISTS "market_account_handles"; - +DROP VIEW api.balance_updates; DROP VIEW api.market_account_handles; DROP VIEW api.balance_updates_by_handle; -DROP VIEW api.balance_updates; + +DROP TABLE IF EXISTS "balance_updates_by_handle"; +DROP TABLE IF EXISTS "market_account_handles"; -- Old view drops that should've been in prior migrations. DROP VIEW api.change_order_size_events; diff --git a/src/rust/dbv2/migrations/2023-10-03-070930_add_order_order/down.sql b/src/rust/dbv2/migrations/2023-10-03-070930_add_order_order/down.sql deleted file mode 100644 index 9e30bbe8d..000000000 --- a/src/rust/dbv2/migrations/2023-10-03-070930_add_order_order/down.sql +++ /dev/null @@ -1,9 +0,0 @@ --- This file should undo anything in `up.sql` -DROP VIEW api.limit_orders; - -ALTER TABLE aggregator.user_history_limit DROP COLUMN prev; - -CREATE VIEW api.limit_orders AS - SELECT * FROM aggregator.user_history_limit NATURAL JOIN aggregator.user_history; - -DROP FUNCTION linked_list_last; diff --git a/src/rust/dbv2/migrations/2023-10-03-070930_add_order_order/up.sql b/src/rust/dbv2/migrations/2023-10-03-070930_add_order_order/up.sql deleted file mode 100644 index e248af6e4..000000000 --- a/src/rust/dbv2/migrations/2023-10-03-070930_add_order_order/up.sql +++ /dev/null @@ -1,25 +0,0 @@ --- Your SQL goes here -DROP VIEW api.limit_orders; - -ALTER TABLE aggregator.user_history_limit ADD COLUMN prev NUMERIC; - -CREATE VIEW api.limit_orders AS - SELECT * FROM aggregator.user_history_limit NATURAL JOIN aggregator.user_history; - -GRANT SELECT ON api.limit_orders TO web_anon; - -CREATE FUNCTION linked_list_last(NUMERIC(20), NUMERIC(20)) RETURNS NUMERIC AS $$ -DECLARE last_order_id NUMERIC; - BEGIN - SELECT order_id INTO last_order_id - FROM aggregator.user_history_limit AS a - WHERE market_id = $1 - AND price = $2 - AND EXISTS (SELECT * FROM aggregator.user_history AS b WHERE a.market_id = b.market_id AND a.order_id = b.order_id AND order_status = 'open') - AND NOT EXISTS (SELECT * FROM aggregator.user_history_limit AS b WHERE b.market_id = $1 AND b.price = $2 AND b.prev = a.order_id); - IF COUNT(last_order_id) = 0 THEN - RETURN NULL; - END IF; - RETURN last_order_id; - END; -$$ LANGUAGE plpgsql; diff --git a/src/rust/dbv2/migrations/2023-10-03-071834_fix_price_field/down.sql b/src/rust/dbv2/migrations/2023-10-03-070930_add_order_queue/down.sql similarity index 77% rename from src/rust/dbv2/migrations/2023-10-03-071834_fix_price_field/down.sql rename to src/rust/dbv2/migrations/2023-10-03-070930_add_order_queue/down.sql index 58e4bf166..bb4e52466 100644 --- a/src/rust/dbv2/migrations/2023-10-03-071834_fix_price_field/down.sql +++ b/src/rust/dbv2/migrations/2023-10-03-070930_add_order_queue/down.sql @@ -1,6 +1,8 @@ -- This file should undo anything in `up.sql` DROP VIEW api.limit_orders; +ALTER TABLE aggregator.user_history_limit DROP COLUMN last_increase_time; + ALTER TABLE aggregator.user_history_limit DROP COLUMN price; CREATE VIEW api.limit_orders AS diff --git a/src/rust/dbv2/migrations/2023-10-03-071834_fix_price_field/up.sql b/src/rust/dbv2/migrations/2023-10-03-070930_add_order_queue/up.sql similarity index 75% rename from src/rust/dbv2/migrations/2023-10-03-071834_fix_price_field/up.sql rename to src/rust/dbv2/migrations/2023-10-03-070930_add_order_queue/up.sql index 784834ae5..98372e006 100644 --- a/src/rust/dbv2/migrations/2023-10-03-071834_fix_price_field/up.sql +++ b/src/rust/dbv2/migrations/2023-10-03-070930_add_order_queue/up.sql @@ -3,6 +3,8 @@ DROP VIEW api.limit_orders; ALTER TABLE aggregator.user_history_limit ADD COLUMN price NUMERIC(20) NOT NULL; +ALTER TABLE aggregator.user_history_limit ADD COLUMN last_increase_time TIMESTAMPTZ NOT NULL; + CREATE VIEW api.limit_orders AS SELECT * FROM aggregator.user_history_limit NATURAL JOIN aggregator.user_history; From 991f0286fcefb0d51e761708d3e3a17e335bbf5c Mon Sep 17 00:00:00 2001 From: Bogdan Crisan Date: Thu, 5 Oct 2023 10:46:34 +0200 Subject: [PATCH 08/23] add ws notifications for order book state --- .../down.sql | 15 +++ .../2023-10-03-070930_add_order_queue/up.sql | 119 ++++++++++++++++++ 2 files changed, 134 insertions(+) diff --git a/src/rust/dbv2/migrations/2023-10-03-070930_add_order_queue/down.sql b/src/rust/dbv2/migrations/2023-10-03-070930_add_order_queue/down.sql index bb4e52466..d34a69dc3 100644 --- a/src/rust/dbv2/migrations/2023-10-03-070930_add_order_queue/down.sql +++ b/src/rust/dbv2/migrations/2023-10-03-070930_add_order_queue/down.sql @@ -1,4 +1,19 @@ -- This file should undo anything in `up.sql` +DROP TRIGGER new_limit_order_trigger ON aggregator.user_history_limit; +DROP FUNCTION notify_new_limit_order; +DROP TRIGGER new_market_order_trigger ON aggregator.user_history_market; +DROP FUNCTION notify_new_market_order; +DROP TRIGGER new_swap_order_trigger ON aggregator.user_history_swap; +DROP FUNCTION notify_new_swap_order; +DROP TRIGGER updated_limit_order_trigger ON aggregator.user_history_limit; +DROP FUNCTION notify_updated_limit_order; +DROP TRIGGER updated_market_order_trigger ON aggregator.user_history_market; +DROP FUNCTION notify_updated_market_order; +DROP TRIGGER updated_swap_order_trigger ON aggregator.user_history_swap; +DROP FUNCTION notify_updated_swap_order; +DROP TRIGGER updated_order_trigger ON aggregator.user_history; +DROP FUNCTION notify_updated_order; + DROP VIEW api.limit_orders; ALTER TABLE aggregator.user_history_limit DROP COLUMN last_increase_time; diff --git a/src/rust/dbv2/migrations/2023-10-03-070930_add_order_queue/up.sql b/src/rust/dbv2/migrations/2023-10-03-070930_add_order_queue/up.sql index 98372e006..481d336b3 100644 --- a/src/rust/dbv2/migrations/2023-10-03-070930_add_order_queue/up.sql +++ b/src/rust/dbv2/migrations/2023-10-03-070930_add_order_queue/up.sql @@ -9,3 +9,122 @@ CREATE VIEW api.limit_orders AS SELECT * FROM aggregator.user_history_limit NATURAL JOIN aggregator.user_history; GRANT SELECT ON api.limit_orders TO web_anon; + + +CREATE FUNCTION notify_new_limit_order () RETURNS TRIGGER AS $$ + DECLARE x api.limit_orders%ROWTYPE; +BEGIN + SELECT * INTO x FROM api.limit_orders AS lo WHERE lo.market_id = NEW.market_id AND lo.order_id = NEW.order_id; + PERFORM pg_notify('econiaws', json_build_object('channel', 'new_limit_order', 'payload', x)::text); + RETURN NEW; +END; +$$ LANGUAGE plpgsql; + + +CREATE TRIGGER new_limit_order_trigger +AFTER INSERT ON aggregator.user_history_limit FOR EACH ROW +EXECUTE PROCEDURE notify_new_limit_order (); + + +CREATE FUNCTION notify_new_market_order () RETURNS TRIGGER AS $$ + DECLARE x api.market_orders%ROWTYPE; +BEGIN + SELECT * INTO x FROM api.market_orders AS lo WHERE lo.market_id = NEW.market_id AND lo.order_id = NEW.order_id; + PERFORM pg_notify('econiaws', json_build_object('channel', 'new_market_order', 'payload', x)::text); + RETURN NEW; +END; +$$ LANGUAGE plpgsql; + + +CREATE TRIGGER new_market_order_trigger +AFTER INSERT ON aggregator.user_history_market FOR EACH ROW +EXECUTE PROCEDURE notify_new_market_order (); + + +CREATE FUNCTION notify_new_swap_order () RETURNS TRIGGER AS $$ + DECLARE x api.swap_orders%ROWTYPE; +BEGIN + SELECT * INTO x FROM api.swap_orders AS lo WHERE lo.market_id = NEW.market_id AND lo.order_id = NEW.order_id; + PERFORM pg_notify('econiaws', json_build_object('channel', 'new_swap_order', 'payload', x)::text); + RETURN NEW; +END; +$$ LANGUAGE plpgsql; + + +CREATE TRIGGER new_swap_order_trigger +AFTER INSERT ON aggregator.user_history_swap FOR EACH ROW +EXECUTE PROCEDURE notify_new_swap_order (); + + +CREATE FUNCTION notify_updated_limit_order () RETURNS TRIGGER AS $$ + DECLARE x api.limit_orders%ROWTYPE; +BEGIN + SELECT * INTO x FROM api.limit_orders AS lo WHERE lo.market_id = NEW.market_id AND lo.order_id = NEW.order_id; + PERFORM pg_notify('econiaws', json_build_object('channel', 'updated_limit_order', 'payload', x)::text); + RETURN NEW; +END; +$$ LANGUAGE plpgsql; + + +CREATE TRIGGER updated_limit_order_trigger +AFTER UPDATE ON aggregator.user_history_limit FOR EACH ROW +EXECUTE PROCEDURE notify_updated_limit_order (); + + +CREATE FUNCTION notify_updated_market_order () RETURNS TRIGGER AS $$ + DECLARE x api.market_orders%ROWTYPE; +BEGIN + SELECT * INTO x FROM api.market_orders AS lo WHERE lo.market_id = NEW.market_id AND lo.order_id = NEW.order_id; + PERFORM pg_notify('econiaws', json_build_object('channel', 'updated_market_order', 'payload', x)::text); + RETURN NEW; +END; +$$ LANGUAGE plpgsql; + + +CREATE TRIGGER updated_market_order_trigger +AFTER UPDATE ON aggregator.user_history_market FOR EACH ROW +EXECUTE PROCEDURE notify_updated_market_order (); + + +CREATE FUNCTION notify_updated_swap_order () RETURNS TRIGGER AS $$ + DECLARE x api.swap_orders%ROWTYPE; +BEGIN + SELECT * INTO x FROM api.swap_orders AS lo WHERE lo.market_id = NEW.market_id AND lo.order_id = NEW.order_id; + PERFORM pg_notify('econiaws', json_build_object('channel', 'updated_swap_order', 'payload', x)::text); + RETURN NEW; +END; +$$ LANGUAGE plpgsql; + + +CREATE TRIGGER updated_swap_order_trigger +AFTER UPDATE ON aggregator.user_history_swap FOR EACH ROW +EXECUTE PROCEDURE notify_updated_swap_order (); + + + +CREATE FUNCTION notify_updated_order () RETURNS TRIGGER AS $$ + DECLARE + x api.limit_orders%ROWTYPE; + y api.market_orders%ROWTYPE; + z api.swap_orders%ROWTYPE; +BEGIN + IF NEW.order_type = 'limit' THEN + SELECT * INTO x FROM api.limit_orders AS lo WHERE lo.market_id = NEW.market_id AND lo.order_id = NEW.order_id; + PERFORM pg_notify('econiaws', json_build_object('channel', 'updated_limit_order', 'payload', x)::text); + END IF; + IF NEW.order_type = 'market' THEN + SELECT * INTO y FROM api.market_orders AS lo WHERE lo.market_id = NEW.market_id AND lo.order_id = NEW.order_id; + PERFORM pg_notify('econiaws', json_build_object('channel', 'updated_market_order', 'payload', y)::text); + END IF; + IF NEW.order_type = 'swap' THEN + SELECT * INTO z FROM api.swap_orders AS lo WHERE lo.market_id = NEW.market_id AND lo.order_id = NEW.order_id; + PERFORM pg_notify('econiaws', json_build_object('channel', 'updated_swap_order', 'payload', z)::text); + END IF; + RETURN NEW; +END; +$$ LANGUAGE plpgsql; + + +CREATE TRIGGER updated_order_trigger +AFTER UPDATE ON aggregator.user_history FOR EACH ROW +EXECUTE PROCEDURE notify_updated_order (); From 17c879d80b7be12af1969ebb3a778d4027d17618 Mon Sep 17 00:00:00 2001 From: Bogdan Crisan Date: Thu, 5 Oct 2023 18:24:36 +0200 Subject: [PATCH 09/23] use (txn_version,event_idx) instead of timestamp for queue ordering --- ...d5f98d2f204eb749aa1ca3df463422b15c648.json | 2 +- ...925fd522ed9ba1a1585c7108811e3daa8d86.json} | 6 +++--- src/rust/aggregator/src/data/user_history.rs | 20 +++++++++++++++---- .../down.sql | 2 +- .../2023-10-03-070930_add_order_queue/up.sql | 2 +- 5 files changed, 22 insertions(+), 10 deletions(-) rename src/rust/.sqlx/{query-8d34a07730993bcae45dd3c43e93bf0303863615a4a8af3ba23009b04b2c1d72.json => query-d1ad70849242826b651a6abfd09c925fd522ed9ba1a1585c7108811e3daa8d86.json} (50%) diff --git a/src/rust/.sqlx/query-3e58570054c486ebf507e911aabd5f98d2f204eb749aa1ca3df463422b15c648.json b/src/rust/.sqlx/query-3e58570054c486ebf507e911aabd5f98d2f204eb749aa1ca3df463422b15c648.json index 7b11ae6cd..7b1964dbd 100644 --- a/src/rust/.sqlx/query-3e58570054c486ebf507e911aabd5f98d2f204eb749aa1ca3df463422b15c648.json +++ b/src/rust/.sqlx/query-3e58570054c486ebf507e911aabd5f98d2f204eb749aa1ca3df463422b15c648.json @@ -13,7 +13,7 @@ "Int2", "Int2", "Numeric", - "Timestamptz" + "Numeric" ] }, "nullable": [] diff --git a/src/rust/.sqlx/query-8d34a07730993bcae45dd3c43e93bf0303863615a4a8af3ba23009b04b2c1d72.json b/src/rust/.sqlx/query-d1ad70849242826b651a6abfd09c925fd522ed9ba1a1585c7108811e3daa8d86.json similarity index 50% rename from src/rust/.sqlx/query-8d34a07730993bcae45dd3c43e93bf0303863615a4a8af3ba23009b04b2c1d72.json rename to src/rust/.sqlx/query-d1ad70849242826b651a6abfd09c925fd522ed9ba1a1585c7108811e3daa8d86.json index 2ad6bc561..6e763ec45 100644 --- a/src/rust/.sqlx/query-8d34a07730993bcae45dd3c43e93bf0303863615a4a8af3ba23009b04b2c1d72.json +++ b/src/rust/.sqlx/query-d1ad70849242826b651a6abfd09c925fd522ed9ba1a1585c7108811e3daa8d86.json @@ -1,16 +1,16 @@ { "db_name": "PostgreSQL", - "query": "\n UPDATE aggregator.user_history_limit\n SET last_increase_time = $3\n WHERE market_id = $1\n AND order_id = $2\n ", + "query": "\n UPDATE aggregator.user_history_limit\n SET last_increase_stamp = $3\n WHERE market_id = $1\n AND order_id = $2\n ", "describe": { "columns": [], "parameters": { "Left": [ "Numeric", "Numeric", - "Timestamptz" + "Numeric" ] }, "nullable": [] }, - "hash": "8d34a07730993bcae45dd3c43e93bf0303863615a4a8af3ba23009b04b2c1d72" + "hash": "d1ad70849242826b651a6abfd09c925fd522ed9ba1a1585c7108811e3daa8d86" } diff --git a/src/rust/aggregator/src/data/user_history.rs b/src/rust/aggregator/src/data/user_history.rs index 91856a3ce..32721a97b 100644 --- a/src/rust/aggregator/src/data/user_history.rs +++ b/src/rust/aggregator/src/data/user_history.rs @@ -1,5 +1,5 @@ use anyhow::anyhow; -use bigdecimal::{BigDecimal, Zero}; +use bigdecimal::{BigDecimal, Zero, num_bigint::ToBigInt}; use chrono::{DateTime, Duration, Utc}; use sqlx::{PgConnection, PgPool, Postgres, Transaction}; @@ -137,6 +137,9 @@ impl Data for UserHistory { .await .map_err(|e| DataAggregationError::ProcessingError(anyhow!(e)))?; for x in &limit_events { + let txn = x.txn_version.to_bigint().ok_or(DataAggregationError::ProcessingError(anyhow!("txn_version not integer")))? << 64; + let event = x.event_idx.to_bigint().ok_or(DataAggregationError::ProcessingError(anyhow!("event_idx not integer")))?; + let txn_event: BigDecimal = BigDecimal::from(txn & event); sqlx::query!( r#" INSERT INTO aggregator.user_history_limit VALUES ( @@ -151,7 +154,7 @@ impl Data for UserHistory { x.self_match_behavior, x.restriction, x.price, - x.time, + txn_event, ) .execute(&mut transaction as &mut PgConnection) .await @@ -290,6 +293,8 @@ impl Data for UserHistory { &change.order_id, &change.market_id, &change.time, + &fill.txn_version, + &fill.event_idx, ) .await?; mark_as_aggregated( @@ -321,6 +326,8 @@ impl Data for UserHistory { &change.order_id, &change.market_id, &change.time, + &change.txn_version, + &change.event_idx, ) .await?; mark_as_aggregated(&mut transaction, &change.txn_version, &change.event_idx) @@ -397,6 +404,8 @@ async fn aggregate_change<'a>( order_id: &BigDecimal, market_id: &BigDecimal, time: &DateTime, + txn_version: &BigDecimal, + event_idx: &BigDecimal, ) -> DataAggregationResult { // Get some info let record = sqlx::query!( @@ -416,16 +425,19 @@ async fn aggregate_change<'a>( (record.order_type, record.remaining_size); // If its a limit order and needs reordering if matches!(order_type, OrderType::Limit) && &original_size < new_size { + let txn = txn_version.to_bigint().ok_or(DataAggregationError::ProcessingError(anyhow!("txn_version not integer")))? << 64; + let event = event_idx.to_bigint().ok_or(DataAggregationError::ProcessingError(anyhow!("event_idx not integer")))?; + let txn_event: BigDecimal = BigDecimal::from(txn & event); sqlx::query!( r#" UPDATE aggregator.user_history_limit - SET last_increase_time = $3 + SET last_increase_stamp = $3 WHERE market_id = $1 AND order_id = $2 "#, market_id, order_id, - time + txn_event, ) .execute(tx as &mut PgConnection) .await diff --git a/src/rust/dbv2/migrations/2023-10-03-070930_add_order_queue/down.sql b/src/rust/dbv2/migrations/2023-10-03-070930_add_order_queue/down.sql index d34a69dc3..c3d1e739f 100644 --- a/src/rust/dbv2/migrations/2023-10-03-070930_add_order_queue/down.sql +++ b/src/rust/dbv2/migrations/2023-10-03-070930_add_order_queue/down.sql @@ -16,7 +16,7 @@ DROP FUNCTION notify_updated_order; DROP VIEW api.limit_orders; -ALTER TABLE aggregator.user_history_limit DROP COLUMN last_increase_time; +ALTER TABLE aggregator.user_history_limit DROP COLUMN last_increase_stamp; ALTER TABLE aggregator.user_history_limit DROP COLUMN price; diff --git a/src/rust/dbv2/migrations/2023-10-03-070930_add_order_queue/up.sql b/src/rust/dbv2/migrations/2023-10-03-070930_add_order_queue/up.sql index 481d336b3..c9b65a287 100644 --- a/src/rust/dbv2/migrations/2023-10-03-070930_add_order_queue/up.sql +++ b/src/rust/dbv2/migrations/2023-10-03-070930_add_order_queue/up.sql @@ -3,7 +3,7 @@ DROP VIEW api.limit_orders; ALTER TABLE aggregator.user_history_limit ADD COLUMN price NUMERIC(20) NOT NULL; -ALTER TABLE aggregator.user_history_limit ADD COLUMN last_increase_time TIMESTAMPTZ NOT NULL; +ALTER TABLE aggregator.user_history_limit ADD COLUMN last_increase_stamp NUMERIC NOT NULL; CREATE VIEW api.limit_orders AS SELECT * FROM aggregator.user_history_limit NATURAL JOIN aggregator.user_history; From e790fe4d15e855e9b9bb67b165390b7d5a28c3fc Mon Sep 17 00:00:00 2001 From: Bogdan Crisan Date: Fri, 6 Oct 2023 18:22:16 +0200 Subject: [PATCH 10/23] fix docker issue --- src/docker/aggregator/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/docker/aggregator/Dockerfile b/src/docker/aggregator/Dockerfile index 51f480257..68ccca419 100644 --- a/src/docker/aggregator/Dockerfile +++ b/src/docker/aggregator/Dockerfile @@ -3,7 +3,6 @@ FROM rust:slim-bookworm ARG RUST_ROOT=src/rust ARG DATABASE_URL -ENV DATABASE_URL=$DATABASE_URL COPY $RUST_ROOT /app RUN apt-get update && apt-get install -y \ @@ -19,4 +18,6 @@ WORKDIR /app RUN cargo build --release -p aggregator +ENV DATABASE_URL=$DATABASE_URL + ENTRYPOINT ["cargo", "run", "--release", "-p", "aggregator"] From 2951f7f7a43e6d2c29f38f3daa21b5088a9c6c14 Mon Sep 17 00:00:00 2001 From: Bogdan Crisan Date: Fri, 6 Oct 2023 18:22:48 +0200 Subject: [PATCH 11/23] fix submodule issue --- src/rust/dependencies/aptos-indexer-processors | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rust/dependencies/aptos-indexer-processors b/src/rust/dependencies/aptos-indexer-processors index a7e46fef6..1a68026c4 160000 --- a/src/rust/dependencies/aptos-indexer-processors +++ b/src/rust/dependencies/aptos-indexer-processors @@ -1 +1 @@ -Subproject commit a7e46fef6e67b1ce1bb4dcba2830ac45651ada4e +Subproject commit 1a68026c49c7b6f9965132850ce4ea289e5f0794 From 259e39406c7adcf281fca7f2bd4be1cb1ad5ba75 Mon Sep 17 00:00:00 2001 From: Bogdan Crisan Date: Fri, 6 Oct 2023 18:34:52 +0200 Subject: [PATCH 12/23] use ask and bid instead of true and false --- .../2023-10-03-070930_add_order_queue/up.sql | 20 ++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/src/rust/dbv2/migrations/2023-10-03-070930_add_order_queue/up.sql b/src/rust/dbv2/migrations/2023-10-03-070930_add_order_queue/up.sql index c9b65a287..b9a88a744 100644 --- a/src/rust/dbv2/migrations/2023-10-03-070930_add_order_queue/up.sql +++ b/src/rust/dbv2/migrations/2023-10-03-070930_add_order_queue/up.sql @@ -6,7 +6,25 @@ ALTER TABLE aggregator.user_history_limit ADD COLUMN price NUMERIC(20) NOT NULL; ALTER TABLE aggregator.user_history_limit ADD COLUMN last_increase_stamp NUMERIC NOT NULL; CREATE VIEW api.limit_orders AS - SELECT * FROM aggregator.user_history_limit NATURAL JOIN aggregator.user_history; + SELECT + market_id, + order_id, + user, + custodian_id, + self_matching_behavior, + restriction, + created_at, + last_updated_at, + integrator, + total_filled, + remaining_size, + order_status, + order_type, + CASE + WHEN side = true THEN 'ask' + ELSE 'bid' + END AS side + FROM aggregator.user_history_limit NATURAL JOIN aggregator.user_history; GRANT SELECT ON api.limit_orders TO web_anon; From 3995470446dd6ad39d431ca6c2a7d7a1fd3538ba Mon Sep 17 00:00:00 2001 From: Bogdan Crisan Date: Fri, 6 Oct 2023 18:40:28 +0200 Subject: [PATCH 13/23] remove ws updates for market and swap orders --- .../down.sql | 4 -- .../2023-10-03-070930_add_order_queue/up.sql | 39 ------------------- 2 files changed, 43 deletions(-) diff --git a/src/rust/dbv2/migrations/2023-10-03-070930_add_order_queue/down.sql b/src/rust/dbv2/migrations/2023-10-03-070930_add_order_queue/down.sql index c3d1e739f..192a75ec1 100644 --- a/src/rust/dbv2/migrations/2023-10-03-070930_add_order_queue/down.sql +++ b/src/rust/dbv2/migrations/2023-10-03-070930_add_order_queue/down.sql @@ -7,10 +7,6 @@ DROP TRIGGER new_swap_order_trigger ON aggregator.user_history_swap; DROP FUNCTION notify_new_swap_order; DROP TRIGGER updated_limit_order_trigger ON aggregator.user_history_limit; DROP FUNCTION notify_updated_limit_order; -DROP TRIGGER updated_market_order_trigger ON aggregator.user_history_market; -DROP FUNCTION notify_updated_market_order; -DROP TRIGGER updated_swap_order_trigger ON aggregator.user_history_swap; -DROP FUNCTION notify_updated_swap_order; DROP TRIGGER updated_order_trigger ON aggregator.user_history; DROP FUNCTION notify_updated_order; diff --git a/src/rust/dbv2/migrations/2023-10-03-070930_add_order_queue/up.sql b/src/rust/dbv2/migrations/2023-10-03-070930_add_order_queue/up.sql index b9a88a744..f3a548109 100644 --- a/src/rust/dbv2/migrations/2023-10-03-070930_add_order_queue/up.sql +++ b/src/rust/dbv2/migrations/2023-10-03-070930_add_order_queue/up.sql @@ -89,37 +89,6 @@ AFTER UPDATE ON aggregator.user_history_limit FOR EACH ROW EXECUTE PROCEDURE notify_updated_limit_order (); -CREATE FUNCTION notify_updated_market_order () RETURNS TRIGGER AS $$ - DECLARE x api.market_orders%ROWTYPE; -BEGIN - SELECT * INTO x FROM api.market_orders AS lo WHERE lo.market_id = NEW.market_id AND lo.order_id = NEW.order_id; - PERFORM pg_notify('econiaws', json_build_object('channel', 'updated_market_order', 'payload', x)::text); - RETURN NEW; -END; -$$ LANGUAGE plpgsql; - - -CREATE TRIGGER updated_market_order_trigger -AFTER UPDATE ON aggregator.user_history_market FOR EACH ROW -EXECUTE PROCEDURE notify_updated_market_order (); - - -CREATE FUNCTION notify_updated_swap_order () RETURNS TRIGGER AS $$ - DECLARE x api.swap_orders%ROWTYPE; -BEGIN - SELECT * INTO x FROM api.swap_orders AS lo WHERE lo.market_id = NEW.market_id AND lo.order_id = NEW.order_id; - PERFORM pg_notify('econiaws', json_build_object('channel', 'updated_swap_order', 'payload', x)::text); - RETURN NEW; -END; -$$ LANGUAGE plpgsql; - - -CREATE TRIGGER updated_swap_order_trigger -AFTER UPDATE ON aggregator.user_history_swap FOR EACH ROW -EXECUTE PROCEDURE notify_updated_swap_order (); - - - CREATE FUNCTION notify_updated_order () RETURNS TRIGGER AS $$ DECLARE x api.limit_orders%ROWTYPE; @@ -130,14 +99,6 @@ BEGIN SELECT * INTO x FROM api.limit_orders AS lo WHERE lo.market_id = NEW.market_id AND lo.order_id = NEW.order_id; PERFORM pg_notify('econiaws', json_build_object('channel', 'updated_limit_order', 'payload', x)::text); END IF; - IF NEW.order_type = 'market' THEN - SELECT * INTO y FROM api.market_orders AS lo WHERE lo.market_id = NEW.market_id AND lo.order_id = NEW.order_id; - PERFORM pg_notify('econiaws', json_build_object('channel', 'updated_market_order', 'payload', y)::text); - END IF; - IF NEW.order_type = 'swap' THEN - SELECT * INTO z FROM api.swap_orders AS lo WHERE lo.market_id = NEW.market_id AND lo.order_id = NEW.order_id; - PERFORM pg_notify('econiaws', json_build_object('channel', 'updated_swap_order', 'payload', z)::text); - END IF; RETURN NEW; END; $$ LANGUAGE plpgsql; From 56f8a8bba91a274eff0b3e39f236a0aa564b3dcf Mon Sep 17 00:00:00 2001 From: alnoki <43892045+alnoki@users.noreply.github.com> Date: Fri, 6 Oct 2023 10:13:03 -0700 Subject: [PATCH 14/23] [ECO-616] Add assorted PR tweaks --- src/docker/compose.dss.yaml | 3 +- src/rust/aggregator/README.md | 3 +- src/rust/aggregator/src/data/user_history.rs | 33 ++++++++++++++++--- .../2023-09-04-113144_postgrest/up.sql | 2 +- 4 files changed, 33 insertions(+), 8 deletions(-) diff --git a/src/docker/compose.dss.yaml b/src/docker/compose.dss.yaml index 3bd76373c..d965ee51f 100644 --- a/src/docker/compose.dss.yaml +++ b/src/docker/compose.dss.yaml @@ -37,7 +37,8 @@ services: - postgres environment: - PGWS_DB_URI=postgres://econia:econia@postgres/econia - - PGWS_JWT_SECRET=conjunctivodacryocystorhinostomy + # This has to be at least 32 characters long. + - PGWS_JWT_SECRET=econia_0000000000000000000000000 - PGWS_CHECK_LISTENER_INTERVAL=1000 - PGWS_LISTEN_CHANNEL=econiaws ports: diff --git a/src/rust/aggregator/README.md b/src/rust/aggregator/README.md index 2331f0974..422387b58 100644 --- a/src/rust/aggregator/README.md +++ b/src/rust/aggregator/README.md @@ -49,4 +49,5 @@ For example, a 1-minute candle stick data flow would follow the following princi # SQLX -The aggregator uses SQLX. In order for the requests to be checked and the crate to be compiled when the database is offline, you have to run `cargo sqlx prepare --workspace` from the Rust root (`src/rust`) when updating or creating a request. +The aggregator uses [SQLx](https://github.com/launchbadge/sqlx/blob/main/README.md). +In order for the requests to be checked and the crate to be compiled when the database is offline, you have to run `cargo sqlx prepare --workspace` from the Rust root (`src/rust`) when updating or creating a request. diff --git a/src/rust/aggregator/src/data/user_history.rs b/src/rust/aggregator/src/data/user_history.rs index 32721a97b..2aabf8616 100644 --- a/src/rust/aggregator/src/data/user_history.rs +++ b/src/rust/aggregator/src/data/user_history.rs @@ -1,10 +1,13 @@ use anyhow::anyhow; -use bigdecimal::{BigDecimal, Zero, num_bigint::ToBigInt}; +use bigdecimal::{num_bigint::ToBigInt, BigDecimal, Zero}; use chrono::{DateTime, Duration, Utc}; use sqlx::{PgConnection, PgPool, Postgres, Transaction}; use super::{Data, DataAggregationError, DataAggregationResult}; +/// Number of bits to shift when encoding transaction version. +const SHIFT_TXN_VERSION: u8 = 64; + #[derive(sqlx::Type, Debug)] #[sqlx(type_name = "order_status", rename_all = "lowercase")] pub enum OrderStatus { @@ -137,8 +140,19 @@ impl Data for UserHistory { .await .map_err(|e| DataAggregationError::ProcessingError(anyhow!(e)))?; for x in &limit_events { - let txn = x.txn_version.to_bigint().ok_or(DataAggregationError::ProcessingError(anyhow!("txn_version not integer")))? << 64; - let event = x.event_idx.to_bigint().ok_or(DataAggregationError::ProcessingError(anyhow!("event_idx not integer")))?; + let txn = x + .txn_version + .to_bigint() + .ok_or(DataAggregationError::ProcessingError(anyhow!( + "txn_version not integer" + )))? + << SHIFT_TXN_VERSION; + let event = x + .event_idx + .to_bigint() + .ok_or(DataAggregationError::ProcessingError(anyhow!( + "event_idx not integer" + )))?; let txn_event: BigDecimal = BigDecimal::from(txn & event); sqlx::query!( r#" @@ -425,8 +439,17 @@ async fn aggregate_change<'a>( (record.order_type, record.remaining_size); // If its a limit order and needs reordering if matches!(order_type, OrderType::Limit) && &original_size < new_size { - let txn = txn_version.to_bigint().ok_or(DataAggregationError::ProcessingError(anyhow!("txn_version not integer")))? << 64; - let event = event_idx.to_bigint().ok_or(DataAggregationError::ProcessingError(anyhow!("event_idx not integer")))?; + let txn = txn_version + .to_bigint() + .ok_or(DataAggregationError::ProcessingError(anyhow!( + "txn_version not integer" + )))? + << SHIFT_TXN_VERSION; + let event = event_idx + .to_bigint() + .ok_or(DataAggregationError::ProcessingError(anyhow!( + "event_idx not integer" + )))?; let txn_event: BigDecimal = BigDecimal::from(txn & event); sqlx::query!( r#" diff --git a/src/rust/dbv2/migrations/2023-09-04-113144_postgrest/up.sql b/src/rust/dbv2/migrations/2023-09-04-113144_postgrest/up.sql index 13f09df63..0ef11c49c 100644 --- a/src/rust/dbv2/migrations/2023-09-04-113144_postgrest/up.sql +++ b/src/rust/dbv2/migrations/2023-09-04-113144_postgrest/up.sql @@ -25,5 +25,5 @@ CREATE EXTENSION pgjwt CASCADE; CREATE FUNCTION api.jwt (json) RETURNS TEXT AS $$ - SELECT sign((CONCAT(CONCAT('{"mode": "r","channels": ', $1->>'channels'::text),'}'))::json, 'conjunctivodacryocystorhinostomy') + SELECT sign((CONCAT(CONCAT('{"mode": "r","channels": ', $1->>'channels'::text),'}'))::json, 'econia_0000000000000000000000000') $$ LANGUAGE SQL; From 08f00be9e3b79b5749daaa2d9da58ec2ad9ac0bd Mon Sep 17 00:00:00 2001 From: Bogdan Crisan Date: Sat, 7 Oct 2023 17:22:53 +0200 Subject: [PATCH 15/23] more fixes - fix user history not registering anymore because use of fetch_one instead of execute - add a better error handling system in the aggregator - fix limit_orders view --- src/rust/aggregator/src/data/user_history.rs | 4 ++-- src/rust/aggregator/src/main.rs | 12 ++++++------ .../2023-10-03-070930_add_order_queue/up.sql | 4 +++- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/src/rust/aggregator/src/data/user_history.rs b/src/rust/aggregator/src/data/user_history.rs index 32721a97b..3eca6be0e 100644 --- a/src/rust/aggregator/src/data/user_history.rs +++ b/src/rust/aggregator/src/data/user_history.rs @@ -139,7 +139,7 @@ impl Data for UserHistory { for x in &limit_events { let txn = x.txn_version.to_bigint().ok_or(DataAggregationError::ProcessingError(anyhow!("txn_version not integer")))? << 64; let event = x.event_idx.to_bigint().ok_or(DataAggregationError::ProcessingError(anyhow!("event_idx not integer")))?; - let txn_event: BigDecimal = BigDecimal::from(txn & event); + let txn_event: BigDecimal = BigDecimal::from(txn | event); sqlx::query!( r#" INSERT INTO aggregator.user_history_limit VALUES ( @@ -392,7 +392,7 @@ async fn aggregate_fill<'a>( market_id, time, ) - .fetch_one(tx as &mut PgConnection) + .execute(tx as &mut PgConnection) .await .map_err(|e| DataAggregationError::ProcessingError(anyhow!(e)))?; Ok(()) diff --git a/src/rust/aggregator/src/main.rs b/src/rust/aggregator/src/main.rs index 5d8c34d8d..2a76f9920 100644 --- a/src/rust/aggregator/src/main.rs +++ b/src/rust/aggregator/src/main.rs @@ -3,7 +3,7 @@ use std::{sync::Arc, time::Duration}; use anyhow::Result; use data::{markets::MarketsRegisteredPerDay, user_history::UserHistory, Data}; use sqlx::PgPool; -use tokio::sync::Mutex; +use tokio::{sync::Mutex, task::JoinSet}; mod data; @@ -28,10 +28,10 @@ async fn main() -> Result<()> { data.push(Arc::new(Mutex::new(UserHistory::new(pool.clone())))); - let mut handles = vec![]; + let mut handles = JoinSet::new(); for data in data { - handles.push(tokio::spawn(async move { + handles.spawn(async move { let mut data = data.lock().await; data.process_and_save_historical_data().await?; @@ -48,11 +48,11 @@ async fn main() -> Result<()> { #[allow(unreachable_code)] Ok::<(), anyhow::Error>(()) - })); + }); } - for handle in handles { - handle.await??; + while let Some(res) = handles.join_next().await { + res??; } Ok(()) diff --git a/src/rust/dbv2/migrations/2023-10-03-070930_add_order_queue/up.sql b/src/rust/dbv2/migrations/2023-10-03-070930_add_order_queue/up.sql index f3a548109..5061669f6 100644 --- a/src/rust/dbv2/migrations/2023-10-03-070930_add_order_queue/up.sql +++ b/src/rust/dbv2/migrations/2023-10-03-070930_add_order_queue/up.sql @@ -9,7 +9,7 @@ CREATE VIEW api.limit_orders AS SELECT market_id, order_id, - user, + "user", custodian_id, self_matching_behavior, restriction, @@ -20,6 +20,8 @@ CREATE VIEW api.limit_orders AS remaining_size, order_status, order_type, + price, + last_increase_stamp, CASE WHEN side = true THEN 'ask' ELSE 'bid' From 91140445bc411490929bd5e330e07fff71741265 Mon Sep 17 00:00:00 2001 From: Bogdan Crisan Date: Sat, 7 Oct 2023 18:16:21 +0200 Subject: [PATCH 16/23] do not aggregate duped fill events --- src/rust/aggregator/src/data/user_history.rs | 36 +++++++++++--------- 1 file changed, 20 insertions(+), 16 deletions(-) diff --git a/src/rust/aggregator/src/data/user_history.rs b/src/rust/aggregator/src/data/user_history.rs index 3eca6be0e..558de630c 100644 --- a/src/rust/aggregator/src/data/user_history.rs +++ b/src/rust/aggregator/src/data/user_history.rs @@ -275,14 +275,16 @@ impl Data for UserHistory { || (fill.txn_version == change.txn_version && fill.event_idx < change.event_idx) { - aggregate_fill( - &mut transaction, - &fill.size, - &fill.maker_order_id, - &fill.market_id, - &fill.time, - ) - .await?; + if fill.maker_address == fill.emit_address { + aggregate_fill( + &mut transaction, + &fill.size, + &fill.maker_order_id, + &fill.market_id, + &fill.time, + ) + .await?; + } mark_as_aggregated(&mut transaction, &fill.txn_version, &fill.event_idx) .await?; fill_index = fill_index + 1; @@ -307,14 +309,16 @@ impl Data for UserHistory { } } (Some(fill), None) => { - aggregate_fill( - &mut transaction, - &fill.size, - &fill.maker_order_id, - &fill.market_id, - &fill.time, - ) - .await?; + if fill.maker_address == fill.emit_address { + aggregate_fill( + &mut transaction, + &fill.size, + &fill.maker_order_id, + &fill.market_id, + &fill.time, + ) + .await?; + } mark_as_aggregated(&mut transaction, &fill.txn_version, &fill.event_idx) .await?; fill_index = fill_index + 1; From dc31e93a469c8ec413f7934a29bbc00c4097d950 Mon Sep 17 00:00:00 2001 From: Bogdan Crisan Date: Sat, 7 Oct 2023 18:54:19 +0200 Subject: [PATCH 17/23] fix use of bitwise and instead of or --- src/rust/aggregator/src/data/user_history.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rust/aggregator/src/data/user_history.rs b/src/rust/aggregator/src/data/user_history.rs index b3bef33b3..02c211519 100644 --- a/src/rust/aggregator/src/data/user_history.rs +++ b/src/rust/aggregator/src/data/user_history.rs @@ -454,7 +454,7 @@ async fn aggregate_change<'a>( .ok_or(DataAggregationError::ProcessingError(anyhow!( "event_idx not integer" )))?; - let txn_event: BigDecimal = BigDecimal::from(txn & event); + let txn_event: BigDecimal = BigDecimal::from(txn | event); sqlx::query!( r#" UPDATE aggregator.user_history_limit From e1423de110c31f711e1657285b7fd658b01ec5af Mon Sep 17 00:00:00 2001 From: alnoki <43892045+alnoki@users.noreply.github.com> Date: Sat, 7 Oct 2023 12:28:18 -0700 Subject: [PATCH 18/23] [ECO-624] Fix async dedupe aggregator logic --- ...a19aba42e1e7812129ce7b86faeb1c528ab3.json} | 4 +- ...07cfe1eb4b38d21ee243ec75bb1521c7e244e.json | 17 --- ...b14a33b1c8f435666f5f5f86d97acb311db42.json | 17 +++ src/rust/aggregator/src/data/user_history.rs | 125 +++++++++--------- 4 files changed, 82 insertions(+), 81 deletions(-) rename src/rust/.sqlx/{query-27c9d7ad7295379478defbe176649938af328e0389621537ca6cc55642240dc4.json => query-078b270e79d36efce4abbac15749a19aba42e1e7812129ce7b86faeb1c528ab3.json} (51%) delete mode 100644 src/rust/.sqlx/query-2edfd0fdf08dc902ae1db2a7fe607cfe1eb4b38d21ee243ec75bb1521c7e244e.json create mode 100644 src/rust/.sqlx/query-9ef7e9da5d5996ddb0baaaaa6d4b14a33b1c8f435666f5f5f86d97acb311db42.json diff --git a/src/rust/.sqlx/query-27c9d7ad7295379478defbe176649938af328e0389621537ca6cc55642240dc4.json b/src/rust/.sqlx/query-078b270e79d36efce4abbac15749a19aba42e1e7812129ce7b86faeb1c528ab3.json similarity index 51% rename from src/rust/.sqlx/query-27c9d7ad7295379478defbe176649938af328e0389621537ca6cc55642240dc4.json rename to src/rust/.sqlx/query-078b270e79d36efce4abbac15749a19aba42e1e7812129ce7b86faeb1c528ab3.json index 1465a6f47..d0479c837 100644 --- a/src/rust/.sqlx/query-27c9d7ad7295379478defbe176649938af328e0389621537ca6cc55642240dc4.json +++ b/src/rust/.sqlx/query-078b270e79d36efce4abbac15749a19aba42e1e7812129ce7b86faeb1c528ab3.json @@ -1,6 +1,6 @@ { "db_name": "PostgreSQL", - "query": "\n UPDATE aggregator.user_history\n SET remaining_size = $1, last_updated_at = $4\n WHERE order_id = $2 AND market_id = $3;\n ", + "query": "\n UPDATE aggregator.user_history\n SET\n last_updated_at = $4,\n order_status = 'open',\n remaining_size = $1\n WHERE order_id = $2 AND market_id = $3;\n ", "describe": { "columns": [], "parameters": { @@ -13,5 +13,5 @@ }, "nullable": [] }, - "hash": "27c9d7ad7295379478defbe176649938af328e0389621537ca6cc55642240dc4" + "hash": "078b270e79d36efce4abbac15749a19aba42e1e7812129ce7b86faeb1c528ab3" } diff --git a/src/rust/.sqlx/query-2edfd0fdf08dc902ae1db2a7fe607cfe1eb4b38d21ee243ec75bb1521c7e244e.json b/src/rust/.sqlx/query-2edfd0fdf08dc902ae1db2a7fe607cfe1eb4b38d21ee243ec75bb1521c7e244e.json deleted file mode 100644 index b799a84b6..000000000 --- a/src/rust/.sqlx/query-2edfd0fdf08dc902ae1db2a7fe607cfe1eb4b38d21ee243ec75bb1521c7e244e.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "db_name": "PostgreSQL", - "query": "\n UPDATE aggregator.user_history\n SET\n remaining_size = remaining_size - $1,\n total_filled = total_filled + $1,\n order_status = CASE remaining_size - $1\n WHEN 0 THEN CASE order_status\n WHEN 'cancelled' THEN order_status\n ELSE 'closed'\n END\n ELSE CASE order_type\n WHEN 'swap' THEN 'closed'\n ELSE order_status\n END\n END,\n last_updated_at = $4\n WHERE order_id = $2 AND market_id = $3\n ", - "describe": { - "columns": [], - "parameters": { - "Left": [ - "Numeric", - "Numeric", - "Numeric", - "Timestamptz" - ] - }, - "nullable": [] - }, - "hash": "2edfd0fdf08dc902ae1db2a7fe607cfe1eb4b38d21ee243ec75bb1521c7e244e" -} diff --git a/src/rust/.sqlx/query-9ef7e9da5d5996ddb0baaaaa6d4b14a33b1c8f435666f5f5f86d97acb311db42.json b/src/rust/.sqlx/query-9ef7e9da5d5996ddb0baaaaa6d4b14a33b1c8f435666f5f5f86d97acb311db42.json new file mode 100644 index 000000000..efe61400b --- /dev/null +++ b/src/rust/.sqlx/query-9ef7e9da5d5996ddb0baaaaa6d4b14a33b1c8f435666f5f5f86d97acb311db42.json @@ -0,0 +1,17 @@ +{ + "db_name": "PostgreSQL", + "query": "\n UPDATE aggregator.user_history\n SET\n remaining_size = remaining_size - $1,\n total_filled = total_filled + $1,\n order_status = CASE order_status\n WHEN 'cancelled' THEN order_status\n ELSE CASE remaining_size - $1\n WHEN 0 THEN 'closed'\n ELSE order_status\n END\n END,\n last_updated_at = $4\n WHERE order_id = $2 AND market_id = $3\n ", + "describe": { + "columns": [], + "parameters": { + "Left": [ + "Numeric", + "Numeric", + "Numeric", + "Timestamptz" + ] + }, + "nullable": [] + }, + "hash": "9ef7e9da5d5996ddb0baaaaa6d4b14a33b1c8f435666f5f5f86d97acb311db42" +} diff --git a/src/rust/aggregator/src/data/user_history.rs b/src/rust/aggregator/src/data/user_history.rs index b3bef33b3..1fe22989f 100644 --- a/src/rust/aggregator/src/data/user_history.rs +++ b/src/rust/aggregator/src/data/user_history.rs @@ -280,54 +280,35 @@ impl Data for UserHistory { .map_err(|e| DataAggregationError::ProcessingError(anyhow!(e)))?; mark_as_aggregated(&mut transaction, &x.txn_version, &x.event_idx).await?; } + // Step through fill and change events in total order. let mut fill_index = 0; let mut change_index = 0; for _ in 0..(fill_events.len() + change_events.len()) { - match (fill_events.get(fill_index), change_events.get(change_index)) { - (Some(fill), Some(change)) => { - if fill.txn_version < change.txn_version - || (fill.txn_version == change.txn_version - && fill.event_idx < change.event_idx) - { - if fill.maker_address == fill.emit_address { - aggregate_fill( - &mut transaction, - &fill.size, - &fill.maker_order_id, - &fill.market_id, - &fill.time, - ) - .await?; + let (fill_event_to_aggregate, change_event_to_aggregate) = + match (fill_events.get(fill_index), change_events.get(change_index)) { + (Some(fill), Some(change)) => { + if fill.txn_version < change.txn_version + || (fill.txn_version == change.txn_version + && fill.event_idx < change.event_idx) + { + (Some(fill), None) + } else { + (None, Some(change)) } - mark_as_aggregated(&mut transaction, &fill.txn_version, &fill.event_idx) - .await?; - fill_index = fill_index + 1; - } else { - aggregate_change( - &mut transaction, - &change.new_size, - &change.order_id, - &change.market_id, - &change.time, - &fill.txn_version, - &fill.event_idx, - ) - .await?; - mark_as_aggregated( - &mut transaction, - &change.txn_version, - &change.event_idx, - ) - .await?; - change_index = change_index + 1; } - } + (Some(fill), None) => (Some(fill), None), + (None, Some(change)) => (None, Some(change)), + (None, None) => unreachable!(), + }; + match (fill_event_to_aggregate, change_event_to_aggregate) { (Some(fill), None) => { + // Dedupe if needed by only aggregating events emitted to maker handle. if fill.maker_address == fill.emit_address { - aggregate_fill( + aggregate_fill_for_maker_and_taker( &mut transaction, &fill.size, &fill.maker_order_id, + &fill.taker_order_id, &fill.market_id, &fill.time, ) @@ -335,7 +316,7 @@ impl Data for UserHistory { } mark_as_aggregated(&mut transaction, &fill.txn_version, &fill.event_idx) .await?; - fill_index = fill_index + 1; + fill_index += 1; } (None, Some(change)) => { aggregate_change( @@ -350,9 +331,9 @@ impl Data for UserHistory { .await?; mark_as_aggregated(&mut transaction, &change.txn_version, &change.event_idx) .await?; - change_index = change_index + 1; + change_index += 1; } - (None, None) => unreachable!(), + _ => unreachable!(), }; } for x in &cancel_events { @@ -379,36 +360,52 @@ impl Data for UserHistory { } } -async fn aggregate_fill<'a>( +async fn aggregate_fill_for_maker_and_taker<'a>( tx: &mut Transaction<'a, Postgres>, size: &BigDecimal, maker_order_id: &BigDecimal, + taker_order_id: &BigDecimal, market_id: &BigDecimal, time: &DateTime, ) -> DataAggregationResult { + aggregate_fill(tx, size, maker_order_id, market_id, time).await?; + aggregate_fill(tx, size, taker_order_id, market_id, time).await?; + Ok(()) +} + +async fn aggregate_fill<'a>( + tx: &mut Transaction<'a, Postgres>, + size: &BigDecimal, + order_id: &BigDecimal, + market_id: &BigDecimal, + time: &DateTime, +) -> DataAggregationResult { + // To protect against unexpected asynchronous behavior, only update order status to closed upon + // remaining size hitting 0 if the order is not marked cancelled. Note that the cancel event and + // change event aggregators should enforce that orders are respectively marked cancelled and + // open whenever they are called, such that events can be aggregated out of order. This logic + // applies for limit orders that post only, take only, and take then post, as well as market + // orders and swaps. sqlx::query!( r#" - UPDATE aggregator.user_history - SET - remaining_size = remaining_size - $1, - total_filled = total_filled + $1, - order_status = CASE remaining_size - $1 - WHEN 0 THEN CASE order_status - WHEN 'cancelled' THEN order_status - ELSE 'closed' - END - ELSE CASE order_type - WHEN 'swap' THEN 'closed' - ELSE order_status - END - END, - last_updated_at = $4 - WHERE order_id = $2 AND market_id = $3 + UPDATE aggregator.user_history + SET + remaining_size = remaining_size - $1, + total_filled = total_filled + $1, + order_status = CASE order_status + WHEN 'cancelled' THEN order_status + ELSE CASE remaining_size - $1 + WHEN 0 THEN 'closed' + ELSE order_status + END + END, + last_updated_at = $4 + WHERE order_id = $2 AND market_id = $3 "#, size, - maker_order_id, + order_id, market_id, - time, + time ) .execute(tx as &mut PgConnection) .await @@ -441,7 +438,7 @@ async fn aggregate_change<'a>( .map_err(|e| DataAggregationError::ProcessingError(anyhow!(e)))?; let (order_type, original_size): (OrderType, BigDecimal) = (record.order_type, record.remaining_size); - // If its a limit order and needs reordering + // If it's a limit order and needs reordering if matches!(order_type, OrderType::Limit) && &original_size < new_size { let txn = txn_version .to_bigint() @@ -470,10 +467,14 @@ async fn aggregate_change<'a>( .await .map_err(|e| DataAggregationError::ProcessingError(anyhow!(e)))?; } + // Enforce that order status is set to open after a size change to guard against async issues sqlx::query!( r#" UPDATE aggregator.user_history - SET remaining_size = $1, last_updated_at = $4 + SET + last_updated_at = $4, + order_status = 'open', + remaining_size = $1 WHERE order_id = $2 AND market_id = $3; "#, new_size, From aafedcbb7afebdd6f42af4527f3e7273d0c373ff Mon Sep 17 00:00:00 2001 From: Bogdan Crisan Date: Sun, 8 Oct 2023 16:52:56 +0200 Subject: [PATCH 19/23] add ws doc and more events --- doc/doc-site/docs/off-chain/dss/websocket.md | 11 ++++++ .../down.sql | 4 ++ .../2023-10-03-070930_add_order_queue/up.sql | 38 +++++++++++++++++++ 3 files changed, 53 insertions(+) diff --git a/doc/doc-site/docs/off-chain/dss/websocket.md b/doc/doc-site/docs/off-chain/dss/websocket.md index 4beb1b2ce..67b22aef8 100644 --- a/doc/doc-site/docs/off-chain/dss/websocket.md +++ b/doc/doc-site/docs/off-chain/dss/websocket.md @@ -31,10 +31,21 @@ Channels include: - `fill_event` - `change_order_size_event` - `cancel_order_event` +- `new_limit_order` +- `updated_limit_order` +- `new_market_order` +- `updated_market_order` +- `new_swap_order` +- `updated_swap_order` +- `updated_order` For each channel, the payload format is identical to the corresponding event format returned by the [DSS REST API](./rest-api.md). For example, the payload of an event from the `fill_event` channel is identical to the event format returned by a REST API query for `localhost:3000/fill_events` (note that channel names have no `s` at the end but REST API endpoints do), except that WebSocket events are received one by one instead of in an array. +Note that `new_{limit,market,swap}_order` and `updated_{limit,market,swap}_order` correspond to `{limit,market,swap}_orders`. +`new_*` channels will send a message each time an order is placed. +`updated_*` channels will send a message each time an order is updated (size changed, filled, etc). + Hence the format of an event payload from the `fill_event` channel: ```json diff --git a/src/rust/dbv2/migrations/2023-10-03-070930_add_order_queue/down.sql b/src/rust/dbv2/migrations/2023-10-03-070930_add_order_queue/down.sql index 192a75ec1..c3d1e739f 100644 --- a/src/rust/dbv2/migrations/2023-10-03-070930_add_order_queue/down.sql +++ b/src/rust/dbv2/migrations/2023-10-03-070930_add_order_queue/down.sql @@ -7,6 +7,10 @@ DROP TRIGGER new_swap_order_trigger ON aggregator.user_history_swap; DROP FUNCTION notify_new_swap_order; DROP TRIGGER updated_limit_order_trigger ON aggregator.user_history_limit; DROP FUNCTION notify_updated_limit_order; +DROP TRIGGER updated_market_order_trigger ON aggregator.user_history_market; +DROP FUNCTION notify_updated_market_order; +DROP TRIGGER updated_swap_order_trigger ON aggregator.user_history_swap; +DROP FUNCTION notify_updated_swap_order; DROP TRIGGER updated_order_trigger ON aggregator.user_history; DROP FUNCTION notify_updated_order; diff --git a/src/rust/dbv2/migrations/2023-10-03-070930_add_order_queue/up.sql b/src/rust/dbv2/migrations/2023-10-03-070930_add_order_queue/up.sql index 5061669f6..185e1a469 100644 --- a/src/rust/dbv2/migrations/2023-10-03-070930_add_order_queue/up.sql +++ b/src/rust/dbv2/migrations/2023-10-03-070930_add_order_queue/up.sql @@ -91,6 +91,36 @@ AFTER UPDATE ON aggregator.user_history_limit FOR EACH ROW EXECUTE PROCEDURE notify_updated_limit_order (); +CREATE FUNCTION notify_updated_market_order () RETURNS TRIGGER AS $$ + DECLARE x api.market_orders%ROWTYPE; +BEGIN + SELECT * INTO x FROM api.market_orders AS lo WHERE lo.market_id = NEW.market_id AND lo.order_id = NEW.order_id; + PERFORM pg_notify('econiaws', json_build_object('channel', 'updated_market_order', 'payload', x)::text); + RETURN NEW; +END; +$$ LANGUAGE plpgsql; + + +CREATE TRIGGER updated_market_order_trigger +AFTER UPDATE ON aggregator.user_history_market FOR EACH ROW +EXECUTE PROCEDURE notify_updated_market_order (); + + +CREATE FUNCTION notify_updated_swap_order () RETURNS TRIGGER AS $$ + DECLARE x api.swap_orders%ROWTYPE; +BEGIN + SELECT * INTO x FROM api.swap_orders AS lo WHERE lo.market_id = NEW.market_id AND lo.order_id = NEW.order_id; + PERFORM pg_notify('econiaws', json_build_object('channel', 'updated_swap_order', 'payload', x)::text); + RETURN NEW; +END; +$$ LANGUAGE plpgsql; + + +CREATE TRIGGER updated_swap_order_trigger +AFTER UPDATE ON aggregator.user_history_swap FOR EACH ROW +EXECUTE PROCEDURE notify_updated_swap_order (); + + CREATE FUNCTION notify_updated_order () RETURNS TRIGGER AS $$ DECLARE x api.limit_orders%ROWTYPE; @@ -101,6 +131,14 @@ BEGIN SELECT * INTO x FROM api.limit_orders AS lo WHERE lo.market_id = NEW.market_id AND lo.order_id = NEW.order_id; PERFORM pg_notify('econiaws', json_build_object('channel', 'updated_limit_order', 'payload', x)::text); END IF; + IF NEW.order_type = 'market' THEN + SELECT * INTO x FROM api.market_orders AS lo WHERE lo.market_id = NEW.market_id AND lo.order_id = NEW.order_id; + PERFORM pg_notify('econiaws', json_build_object('channel', 'updated_market_order', 'payload', x)::text); + END IF; + IF NEW.order_type = 'swap' THEN + SELECT * INTO x FROM api.swap_orders AS lo WHERE lo.market_id = NEW.market_id AND lo.order_id = NEW.order_id; + PERFORM pg_notify('econiaws', json_build_object('channel', 'updated_swap_order', 'payload', x)::text); + END IF; RETURN NEW; END; $$ LANGUAGE plpgsql; From 0eb778a087432b6207cb39272d63561178c87acd Mon Sep 17 00:00:00 2001 From: alnoki <43892045+alnoki@users.noreply.github.com> Date: Sun, 8 Oct 2023 09:24:54 -0700 Subject: [PATCH 20/23] Update guard conditions for effectively serial --- ...57c3959f401fb7884a37ebbaf76cab817328.json} | 4 ++-- ...ce23aa68f7a6b421ca0e4e7d2d84db7a6fc3.json} | 4 ++-- src/rust/aggregator/src/data/user_history.rs | 20 ++++++------------- 3 files changed, 10 insertions(+), 18 deletions(-) rename src/rust/.sqlx/{query-9ef7e9da5d5996ddb0baaaaa6d4b14a33b1c8f435666f5f5f86d97acb311db42.json => query-a19af3d32ebfdfd481d8a334981d57c3959f401fb7884a37ebbaf76cab817328.json} (50%) rename src/rust/.sqlx/{query-078b270e79d36efce4abbac15749a19aba42e1e7812129ce7b86faeb1c528ab3.json => query-cc5b2550b2cc5845a564e916ee99ce23aa68f7a6b421ca0e4e7d2d84db7a6fc3.json} (63%) diff --git a/src/rust/.sqlx/query-9ef7e9da5d5996ddb0baaaaa6d4b14a33b1c8f435666f5f5f86d97acb311db42.json b/src/rust/.sqlx/query-a19af3d32ebfdfd481d8a334981d57c3959f401fb7884a37ebbaf76cab817328.json similarity index 50% rename from src/rust/.sqlx/query-9ef7e9da5d5996ddb0baaaaa6d4b14a33b1c8f435666f5f5f86d97acb311db42.json rename to src/rust/.sqlx/query-a19af3d32ebfdfd481d8a334981d57c3959f401fb7884a37ebbaf76cab817328.json index efe61400b..2e4784545 100644 --- a/src/rust/.sqlx/query-9ef7e9da5d5996ddb0baaaaa6d4b14a33b1c8f435666f5f5f86d97acb311db42.json +++ b/src/rust/.sqlx/query-a19af3d32ebfdfd481d8a334981d57c3959f401fb7884a37ebbaf76cab817328.json @@ -1,6 +1,6 @@ { "db_name": "PostgreSQL", - "query": "\n UPDATE aggregator.user_history\n SET\n remaining_size = remaining_size - $1,\n total_filled = total_filled + $1,\n order_status = CASE order_status\n WHEN 'cancelled' THEN order_status\n ELSE CASE remaining_size - $1\n WHEN 0 THEN 'closed'\n ELSE order_status\n END\n END,\n last_updated_at = $4\n WHERE order_id = $2 AND market_id = $3\n ", + "query": "\n UPDATE aggregator.user_history\n SET\n remaining_size = remaining_size - $1,\n total_filled = total_filled + $1,\n order_status = CASE remaining_size - $1\n WHEN 0 THEN 'closed'\n ELSE order_status\n END,\n last_updated_at = $4\n WHERE order_id = $2 AND market_id = $3\n ", "describe": { "columns": [], "parameters": { @@ -13,5 +13,5 @@ }, "nullable": [] }, - "hash": "9ef7e9da5d5996ddb0baaaaa6d4b14a33b1c8f435666f5f5f86d97acb311db42" + "hash": "a19af3d32ebfdfd481d8a334981d57c3959f401fb7884a37ebbaf76cab817328" } diff --git a/src/rust/.sqlx/query-078b270e79d36efce4abbac15749a19aba42e1e7812129ce7b86faeb1c528ab3.json b/src/rust/.sqlx/query-cc5b2550b2cc5845a564e916ee99ce23aa68f7a6b421ca0e4e7d2d84db7a6fc3.json similarity index 63% rename from src/rust/.sqlx/query-078b270e79d36efce4abbac15749a19aba42e1e7812129ce7b86faeb1c528ab3.json rename to src/rust/.sqlx/query-cc5b2550b2cc5845a564e916ee99ce23aa68f7a6b421ca0e4e7d2d84db7a6fc3.json index d0479c837..c949401f5 100644 --- a/src/rust/.sqlx/query-078b270e79d36efce4abbac15749a19aba42e1e7812129ce7b86faeb1c528ab3.json +++ b/src/rust/.sqlx/query-cc5b2550b2cc5845a564e916ee99ce23aa68f7a6b421ca0e4e7d2d84db7a6fc3.json @@ -1,6 +1,6 @@ { "db_name": "PostgreSQL", - "query": "\n UPDATE aggregator.user_history\n SET\n last_updated_at = $4,\n order_status = 'open',\n remaining_size = $1\n WHERE order_id = $2 AND market_id = $3;\n ", + "query": "\n UPDATE aggregator.user_history\n SET\n last_updated_at = $4,\n remaining_size = $1\n WHERE order_id = $2 AND market_id = $3;\n ", "describe": { "columns": [], "parameters": { @@ -13,5 +13,5 @@ }, "nullable": [] }, - "hash": "078b270e79d36efce4abbac15749a19aba42e1e7812129ce7b86faeb1c528ab3" + "hash": "cc5b2550b2cc5845a564e916ee99ce23aa68f7a6b421ca0e4e7d2d84db7a6fc3" } diff --git a/src/rust/aggregator/src/data/user_history.rs b/src/rust/aggregator/src/data/user_history.rs index 1fe22989f..6c2207fc5 100644 --- a/src/rust/aggregator/src/data/user_history.rs +++ b/src/rust/aggregator/src/data/user_history.rs @@ -53,6 +53,9 @@ impl Data for UserHistory { Some(std::time::Duration::from_secs(5)) } + /// All database interactions are handled in a single atomic transaction. Processor insertions + /// are also handled in a single atomic transaction for each batch of transactions, such that + /// user history aggregation logic is effectively serialized across historical chain state. async fn process_and_save_internal(&mut self) -> DataAggregationResult { let mut transaction = self .pool @@ -380,24 +383,15 @@ async fn aggregate_fill<'a>( market_id: &BigDecimal, time: &DateTime, ) -> DataAggregationResult { - // To protect against unexpected asynchronous behavior, only update order status to closed upon - // remaining size hitting 0 if the order is not marked cancelled. Note that the cancel event and - // change event aggregators should enforce that orders are respectively marked cancelled and - // open whenever they are called, such that events can be aggregated out of order. This logic - // applies for limit orders that post only, take only, and take then post, as well as market - // orders and swaps. sqlx::query!( r#" UPDATE aggregator.user_history SET remaining_size = remaining_size - $1, total_filled = total_filled + $1, - order_status = CASE order_status - WHEN 'cancelled' THEN order_status - ELSE CASE remaining_size - $1 - WHEN 0 THEN 'closed' - ELSE order_status - END + order_status = CASE remaining_size - $1 + WHEN 0 THEN 'closed' + ELSE order_status END, last_updated_at = $4 WHERE order_id = $2 AND market_id = $3 @@ -467,13 +461,11 @@ async fn aggregate_change<'a>( .await .map_err(|e| DataAggregationError::ProcessingError(anyhow!(e)))?; } - // Enforce that order status is set to open after a size change to guard against async issues sqlx::query!( r#" UPDATE aggregator.user_history SET last_updated_at = $4, - order_status = 'open', remaining_size = $1 WHERE order_id = $2 AND market_id = $3; "#, From 8494adcf902f0ecf6b6aa3e3820d84a1794a6ac0 Mon Sep 17 00:00:00 2001 From: Bogdan Crisan Date: Sun, 8 Oct 2023 18:36:07 +0200 Subject: [PATCH 21/23] add correct transaction flag --- src/rust/aggregator/src/data/user_history.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/rust/aggregator/src/data/user_history.rs b/src/rust/aggregator/src/data/user_history.rs index 02c211519..a63d154a2 100644 --- a/src/rust/aggregator/src/data/user_history.rs +++ b/src/rust/aggregator/src/data/user_history.rs @@ -1,7 +1,7 @@ use anyhow::anyhow; use bigdecimal::{num_bigint::ToBigInt, BigDecimal, Zero}; use chrono::{DateTime, Duration, Utc}; -use sqlx::{PgConnection, PgPool, Postgres, Transaction}; +use sqlx::{PgConnection, PgPool, Postgres, Transaction, Executor}; use super::{Data, DataAggregationError, DataAggregationResult}; @@ -59,6 +59,9 @@ impl Data for UserHistory { .begin() .await .map_err(|e| DataAggregationError::ProcessingError(anyhow!(e)))?; + transaction.execute("SET TRANSACTION ISOLATION LEVEL REPEATABLE READ;") + .await + .map_err(|e| DataAggregationError::ProcessingError(anyhow!(e)))?; let fill_events = sqlx::query!( r#" SELECT * FROM fill_events From 54ad20fce39a0f6dac064f472c8ccf9ed55a4382 Mon Sep 17 00:00:00 2001 From: alnoki <43892045+alnoki@users.noreply.github.com> Date: Sun, 8 Oct 2023 09:39:04 -0700 Subject: [PATCH 22/23] Add market order/swap closed logic --- ...b9c508e039285194b97b6d96e961dd7edc2557fbd2.json} | 4 ++-- src/rust/aggregator/src/data/user_history.rs | 13 ++++++++++--- src/rust/dependencies/aptos-indexer-processors | 2 +- 3 files changed, 13 insertions(+), 6 deletions(-) rename src/rust/.sqlx/{query-a19af3d32ebfdfd481d8a334981d57c3959f401fb7884a37ebbaf76cab817328.json => query-b17a5be1a3797d2bc5bfedb9c508e039285194b97b6d96e961dd7edc2557fbd2.json} (50%) diff --git a/src/rust/.sqlx/query-a19af3d32ebfdfd481d8a334981d57c3959f401fb7884a37ebbaf76cab817328.json b/src/rust/.sqlx/query-b17a5be1a3797d2bc5bfedb9c508e039285194b97b6d96e961dd7edc2557fbd2.json similarity index 50% rename from src/rust/.sqlx/query-a19af3d32ebfdfd481d8a334981d57c3959f401fb7884a37ebbaf76cab817328.json rename to src/rust/.sqlx/query-b17a5be1a3797d2bc5bfedb9c508e039285194b97b6d96e961dd7edc2557fbd2.json index 2e4784545..010e2db41 100644 --- a/src/rust/.sqlx/query-a19af3d32ebfdfd481d8a334981d57c3959f401fb7884a37ebbaf76cab817328.json +++ b/src/rust/.sqlx/query-b17a5be1a3797d2bc5bfedb9c508e039285194b97b6d96e961dd7edc2557fbd2.json @@ -1,6 +1,6 @@ { "db_name": "PostgreSQL", - "query": "\n UPDATE aggregator.user_history\n SET\n remaining_size = remaining_size - $1,\n total_filled = total_filled + $1,\n order_status = CASE remaining_size - $1\n WHEN 0 THEN 'closed'\n ELSE order_status\n END,\n last_updated_at = $4\n WHERE order_id = $2 AND market_id = $3\n ", + "query": "\n UPDATE aggregator.user_history\n SET\n remaining_size = remaining_size - $1,\n total_filled = total_filled + $1,\n order_status = CASE order_type\n WHEN 'limit' THEN CASE remaining_size - $1\n WHEN 0 THEN 'closed'\n ELSE order_status\n END\n ELSE 'closed'\n END,\n last_updated_at = $4\n WHERE order_id = $2 AND market_id = $3\n ", "describe": { "columns": [], "parameters": { @@ -13,5 +13,5 @@ }, "nullable": [] }, - "hash": "a19af3d32ebfdfd481d8a334981d57c3959f401fb7884a37ebbaf76cab817328" + "hash": "b17a5be1a3797d2bc5bfedb9c508e039285194b97b6d96e961dd7edc2557fbd2" } diff --git a/src/rust/aggregator/src/data/user_history.rs b/src/rust/aggregator/src/data/user_history.rs index 6c2207fc5..7f515b346 100644 --- a/src/rust/aggregator/src/data/user_history.rs +++ b/src/rust/aggregator/src/data/user_history.rs @@ -383,15 +383,22 @@ async fn aggregate_fill<'a>( market_id: &BigDecimal, time: &DateTime, ) -> DataAggregationResult { + // Only limit orders can remain open after a transaction during which they are filled against, + // so flag market orders and swaps as closed by default: if they end up being cancelled instead + // of closed, the cancel event emitted during the same transaction (aggregated after fills) will + // clean up the order status to cancelled. sqlx::query!( r#" UPDATE aggregator.user_history SET remaining_size = remaining_size - $1, total_filled = total_filled + $1, - order_status = CASE remaining_size - $1 - WHEN 0 THEN 'closed' - ELSE order_status + order_status = CASE order_type + WHEN 'limit' THEN CASE remaining_size - $1 + WHEN 0 THEN 'closed' + ELSE order_status + END + ELSE 'closed' END, last_updated_at = $4 WHERE order_id = $2 AND market_id = $3 diff --git a/src/rust/dependencies/aptos-indexer-processors b/src/rust/dependencies/aptos-indexer-processors index 1a68026c4..c9dd14def 160000 --- a/src/rust/dependencies/aptos-indexer-processors +++ b/src/rust/dependencies/aptos-indexer-processors @@ -1 +1 @@ -Subproject commit 1a68026c49c7b6f9965132850ce4ea289e5f0794 +Subproject commit c9dd14def07cc26ae349028188bfea7131c55d50 From 2a0eb8537dc2038001e74d0c2d22740e9925a416 Mon Sep 17 00:00:00 2001 From: Bogdan Crisan Date: Sun, 8 Oct 2023 19:06:45 +0200 Subject: [PATCH 23/23] use SERIALIZABLE instead --- src/rust/aggregator/src/data/user_history.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rust/aggregator/src/data/user_history.rs b/src/rust/aggregator/src/data/user_history.rs index 9eee6118e..ef6e14100 100644 --- a/src/rust/aggregator/src/data/user_history.rs +++ b/src/rust/aggregator/src/data/user_history.rs @@ -62,7 +62,7 @@ impl Data for UserHistory { .begin() .await .map_err(|e| DataAggregationError::ProcessingError(anyhow!(e)))?; - transaction.execute("SET TRANSACTION ISOLATION LEVEL REPEATABLE READ;") + transaction.execute("SET TRANSACTION ISOLATION LEVEL SERIALIZABLE;") .await .map_err(|e| DataAggregationError::ProcessingError(anyhow!(e)))?; let fill_events = sqlx::query!(