From 59f0102c5a4dbe500d3d8728520ee845da84ea8f Mon Sep 17 00:00:00 2001 From: VG Date: Tue, 1 Aug 2023 19:09:31 +0800 Subject: [PATCH] feat: implement deno connector --- Cargo.lock | 3154 +++++++++++++++-- dozer-ingestion/Cargo.toml | 3 + .../src/connectors/javascript/connector.rs | 58 +- .../javascript/js_extension/ingest.js | 24 + .../connectors/javascript/js_extension/mod.rs | 150 + .../javascript/js_extension/tests.rs | 32 + .../js_extension/ts_module_loader.rs | 126 + .../src/connectors/javascript/mod.rs | 4 +- .../src/connectors/javascript/test.rs | 216 -- dozer-ingestion/src/connectors/mod.rs | 4 + dozer-ingestion/src/errors.rs | 11 + .../pipeline/window/tests/operator_test.rs | 2 +- dozer-tests/Cargo.toml | 17 +- .../src/e2e_tests/runner/running_env.rs | 1 + dozer-types/src/ingestion_types.rs | 11 + dozer-types/src/models/connection.rs | 8 +- 16 files changed, 3256 insertions(+), 565 deletions(-) create mode 100644 dozer-ingestion/src/connectors/javascript/js_extension/ingest.js create mode 100644 dozer-ingestion/src/connectors/javascript/js_extension/mod.rs create mode 100644 dozer-ingestion/src/connectors/javascript/js_extension/tests.rs create mode 100644 dozer-ingestion/src/connectors/javascript/js_extension/ts_module_loader.rs delete mode 100644 dozer-ingestion/src/connectors/javascript/test.rs diff --git a/Cargo.lock b/Cargo.lock index a766f9ee5b..5021cd14fd 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -18,7 +18,7 @@ version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "57a7559404a7f3573127aab53c08ce37a6c6a315c374a31070f3c91cd1b4a7fe" dependencies = [ - "bitflags", + "bitflags 1.3.2", "bytes", "futures-core", "futures-sink", @@ -55,7 +55,7 @@ dependencies = [ "actix-utils", "actix-web", "askama_escape", - "bitflags", + "bitflags 1.3.2", "bytes", "derive_more", "futures-core", @@ -80,7 +80,7 @@ dependencies = [ "actix-utils", "ahash 0.8.3", "base64 0.21.0", - "bitflags", + "bitflags 1.3.2", "brotli", "bytes", "bytestring", @@ -113,7 +113,7 @@ version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "465a6172cf69b960917811022d8f29bc0b7fa1398bc4f78b3c466673db1213b6" dependencies = [ - "quote", + "quote 1.0.30", "syn 1.0.109", ] @@ -246,8 +246,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2262160a7ae29e3415554a3f1fc04c764b1540c116aa524683208078b7a75bc9" dependencies = [ "actix-router", - "proc-macro2", - "quote", + "proc-macro2 1.0.63", + "quote 1.0.30", "syn 1.0.109", ] @@ -278,13 +278,57 @@ version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "aae1277d39aeec15cb388266ecc24b11c80469deae6067e17a1a7aa9e5c1f234" +[[package]] +name = "aead" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d122413f284cf2d62fb1b7db97e02edb8cda96d769b16e443a4f6195e35662b0" +dependencies = [ + "crypto-common", + "generic-array 0.14.6", +] + +[[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.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "209b47e8954a928e1d72e86eca7000ebb6655fe1436d33eefc2201cad027e237" +dependencies = [ + "aead", + "aes", + "cipher", + "ctr", + "ghash", + "subtle", +] + +[[package]] +name = "aes-kw" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "69fa2b352dcefb5f7f3a5fb840e02665d311d878955380515e4fd50095dd3d8c" +dependencies = [ + "aes", +] + [[package]] name = "ahash" version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fcb51a0695d8f838b1ee009b3fbf66bda078cd64590202a864a8f3e8c4315c47" dependencies = [ - "getrandom", + "getrandom 0.2.8", "once_cell", "version_check", ] @@ -297,7 +341,7 @@ checksum = "2c99f64d1e06488f620f932677e24bc6e2897582980441ae90a671415bd7ec2f" dependencies = [ "cfg-if", "const-random", - "getrandom", + "getrandom 0.2.8", "once_cell", "version_check", ] @@ -404,9 +448,9 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.72" +version = "1.0.73" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b13c32d80ecc7ab747b80c3784bce54ee8a7a0cc4fbda9bf4cda2cf6fe90854" +checksum = "f768393e7fabd388fe8409b13faa4d93ab0fef35db1508438dfdb066918bcf38" [[package]] name = "apache-avro" @@ -680,6 +724,58 @@ version = "0.10.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "619743e34b5ba4e9703bba34deac3427c72507c7159f5fd030aea8cac0cfe341" +[[package]] +name = "asn1-rs" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f6fd5ddaf0351dff5b8da21b2fb4ff8e08ddd02857f0bf69c47639106c0fff0" +dependencies = [ + "asn1-rs-derive", + "asn1-rs-impl", + "displaydoc", + "nom", + "num-traits", + "rusticata-macros", + "thiserror", + "time 0.3.20", +] + +[[package]] +name = "asn1-rs-derive" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "726535892e8eae7e70657b4c8ea93d26b8553afb1ce617caee529ef96d7dee6c" +dependencies = [ + "proc-macro2 1.0.63", + "quote 1.0.30", + "syn 1.0.109", + "synstructure", +] + +[[package]] +name = "asn1-rs-impl" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2777730b2039ac0f95f093556e61b6d26cebed5393ca6f152717777cec3a42ed" +dependencies = [ + "proc-macro2 1.0.63", + "quote 1.0.30", + "syn 1.0.109", +] + +[[package]] +name = "ast_node" +version = "0.9.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c704e2f6ee1a98223f5a7629a6ef0f3decb3b552ed282889dc957edff98ce1e6" +dependencies = [ + "pmutil 0.5.3", + "proc-macro2 1.0.63", + "quote 1.0.30", + "swc_macros_common", + "syn 1.0.109", +] + [[package]] name = "async-compression" version = "0.3.15" @@ -700,6 +796,7 @@ version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "62b74f44609f0f91493e3082d3734d98497e094777144380ea4db9f9905dd5b6" dependencies = [ + "brotli", "bzip2", "flate2", "futures-core", @@ -729,20 +826,20 @@ version = "0.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e4655ae1a7b0cdf149156f780c5bf3f1352bc53cbd9e0a361a7ef7b22947e965" dependencies = [ - "proc-macro2", - "quote", + "proc-macro2 1.0.63", + "quote 1.0.30", "syn 1.0.109", ] [[package]] name = "async-trait" -version = "0.1.72" +version = "0.1.73" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cc6dde6e4ed435a4c1ee4e73592f5ba9da2151af10076cc04858746af9352d09" +checksum = "bc00ceb34980c03614e35a3a4e218276a0a824e911d07651cd0d858a51e8c0f0" dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.27", + "proc-macro2 1.0.63", + "quote 1.0.30", + "syn 2.0.28", ] [[package]] @@ -801,7 +898,7 @@ dependencies = [ "fastrand", "hex", "http", - "hyper", + "hyper 0.14.27", "ring", "time 0.3.20", "tokio", @@ -850,7 +947,7 @@ dependencies = [ "aws-types", "bytes", "http", - "http-body", + "http-body 0.4.5", "lazy_static", "percent-encoding", "pin-project-lite", @@ -880,7 +977,7 @@ dependencies = [ "aws-types", "bytes", "http", - "http-body", + "http-body 0.4.5", "once_cell", "percent-encoding", "regex", @@ -1002,7 +1099,7 @@ dependencies = [ "crc32fast", "hex", "http", - "http-body", + "http-body 0.4.5", "md-5 0.10.5", "pin-project-lite", "sha1", @@ -1023,8 +1120,8 @@ dependencies = [ "bytes", "fastrand", "http", - "http-body", - "hyper", + "http-body 0.4.5", + "hyper 0.14.27", "hyper-rustls 0.23.2", "lazy_static", "pin-project-lite", @@ -1057,8 +1154,8 @@ dependencies = [ "bytes-utils", "futures-core", "http", - "http-body", - "hyper", + "http-body 0.4.5", + "hyper 0.14.27", "once_cell", "percent-encoding", "pin-project-lite", @@ -1078,7 +1175,7 @@ dependencies = [ "aws-smithy-types", "bytes", "http", - "http-body", + "http-body 0.4.5", "pin-project-lite", "tower", "tracing", @@ -1149,12 +1246,12 @@ checksum = "2fb79c228270dcf2426e74864cabc94babb5dbab01a4314e702d2f16540e1591" dependencies = [ "async-trait", "axum-core", - "bitflags", + "bitflags 1.3.2", "bytes", "futures-util", "http", - "http-body", - "hyper", + "http-body 0.4.5", + "hyper 0.14.27", "itoa", "matchit", "memchr", @@ -1180,13 +1277,25 @@ dependencies = [ "bytes", "futures-util", "http", - "http-body", + "http-body 0.4.5", "mime", "rustversion", "tower-layer", "tower-service", ] +[[package]] +name = "base16ct" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "349a06037c7bf932dd7e7d1f653678b2038b9ad46a74102f1fc7bd7872678cce" + +[[package]] +name = "base16ct" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4c7f02d4ea65f2c1853089ffd8d2787bdbc63de2f0d29dedbcf8ccdfa0ccd4cf" + [[package]] name = "base64" version = "0.13.1" @@ -1209,12 +1318,27 @@ dependencies = [ "vsimd", ] +[[package]] +name = "base64ct" +version = "1.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8c3c1a368f70d6cf7302d78f8f7093da241fb8e8807c05cc9e51a125895a6d5b" + [[package]] name = "beef" version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3a8241f3ebb85c056b509d4327ad0358fbbba6ffb340bf388f26350aeda225b1" +[[package]] +name = "better_scoped_tls" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "794edcc9b3fb07bb4aecaa11f093fd45663b4feadb782d68303a2268bc2701de" +dependencies = [ + "scoped-tls", +] + [[package]] name = "bigdecimal" version = "0.3.1" @@ -1263,6 +1387,12 @@ version = "1.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" +[[package]] +name = "bitflags" +version = "2.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b4682ae6287fcf752ecaabbfcc7b6f9b72aa33933dc23a554d853aea8eea8635" + [[package]] name = "bitvec" version = "0.20.4" @@ -1316,8 +1446,8 @@ version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4152116fd6e9dadb291ae18fc1ec3575ed6d84c29642d97890f4b4a3417297e4" dependencies = [ - "block-padding", - "generic-array", + "block-padding 0.2.1", + "generic-array 0.14.6", ] [[package]] @@ -1326,15 +1456,30 @@ version = "0.10.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" dependencies = [ - "generic-array", + "generic-array 0.14.6", ] +[[package]] +name = "block-modes" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9e2211b0817f061502a8dd9f11a37e879e79763e3c698d2418cf824d8cb2f21e" + [[package]] name = "block-padding" version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8d696c370c750c948ada61c69a0ee2cbbb9c50b1019ddb86d9317157a99c2cae" +[[package]] +name = "block-padding" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a8894febbff9f758034a5b8e12d87918f56dfc64a8e1fe757d65e29041538d93" +dependencies = [ + "generic-array 0.14.6", +] + [[package]] name = "bloom" version = "0.3.2" @@ -1363,7 +1508,7 @@ dependencies = [ "borsh-derive-internal", "borsh-schema-derive-internal", "proc-macro-crate 0.1.5", - "proc-macro2", + "proc-macro2 1.0.63", "syn 1.0.109", ] @@ -1373,8 +1518,8 @@ version = "0.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "186b734fa1c9f6743e90c95d7233c9faab6360d1a96d4ffa19d9cfd1e9350f8a" dependencies = [ - "proc-macro2", - "quote", + "proc-macro2 1.0.63", + "quote 1.0.30", "syn 1.0.109", ] @@ -1384,8 +1529,8 @@ version = "0.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "99b7ff1008316626f485991b960ade129253d4034014616b94f309a15366cc49" dependencies = [ - "proc-macro2", - "quote", + "proc-macro2 1.0.63", + "quote 1.0.30", "syn 1.0.109", ] @@ -1460,8 +1605,8 @@ version = "0.6.10" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e31225543cb46f81a7e224762764f4a6a0f097b1db0b175f69e8065efaa42de5" dependencies = [ - "proc-macro2", - "quote", + "proc-macro2 1.0.63", + "quote 1.0.30", "syn 1.0.109", ] @@ -1523,6 +1668,12 @@ dependencies = [ "pkg-config", ] +[[package]] +name = "cache_control" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1bf2a5fb3207c12b5d208ebc145f967fea5cac41a021c37417ccc31ba40f39ee" + [[package]] name = "camino" version = "1.1.4" @@ -1535,6 +1686,15 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "37b2a672a2cb129a2e41c10b1224bb368f9f37a2b16b612598138befd7b37eb5" +[[package]] +name = "cbc" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26b52a9543ae338f279b96b0b9fed9c8093744685043739079ce85cd58f289a6" +dependencies = [ + "cipher", +] + [[package]] name = "cc" version = "1.0.79" @@ -1580,7 +1740,7 @@ checksum = "f1369bc6b9e9a7dfdae2055f6ec151fe9c554a9d23d357c0237cee2e25eaabb7" dependencies = [ "chrono", "chrono-tz-build", - "phf", + "phf 0.11.1", ] [[package]] @@ -1590,7 +1750,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e2f5ebdc942f57ed96d560a6d1a459bae5851102a25d5bf89dc04ae453e31ecf" dependencies = [ "parse-zoneinfo", - "phf", + "phf 0.11.1", "phf_codegen", ] @@ -1621,13 +1781,23 @@ dependencies = [ "half 1.8.2", ] +[[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 = "clap" version = "3.2.23" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "71655c45cb9845d3270c9d6df84ebe72b4dad3c2ba3f7023ad47c144e4e473a5" dependencies = [ - "bitflags", + "bitflags 1.3.2", "clap_lex 0.2.4", "indexmap", "textwrap", @@ -1663,9 +1833,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b8cd2b2a819ad6eec39e8f1d6b53001af1e5469f8c177579cdaeb313115b825f" dependencies = [ "heck", - "proc-macro2", - "quote", - "syn 2.0.27", + "proc-macro2 1.0.63", + "quote 1.0.30", + "syn 2.0.28", ] [[package]] @@ -1744,6 +1914,22 @@ dependencies = [ "windows-sys 0.42.0", ] +[[package]] +name = "console_static_text" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f4be93df536dfbcbd39ff7c129635da089901116b88bfc29ec1acb9b56f8ff35" +dependencies = [ + "unicode-width", + "vte", +] + +[[package]] +name = "const-oid" +version = "0.9.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "28c122c3980598d243d63d9a704629a2d748d101f278052ff068be5a4423ab6f" + [[package]] name = "const-random" version = "0.1.15" @@ -1760,7 +1946,7 @@ version = "0.1.15" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9d7d6ab3c3a2282db210df5f02c4dab6e0a7057af0fb7ebd4070f30fe05c0ddb" dependencies = [ - "getrandom", + "getrandom 0.2.8", "once_cell", "proc-macro-hack", "tiny-keccak", @@ -1934,7 +2120,7 @@ dependencies = [ "autocfg", "cfg-if", "crossbeam-utils", - "memoffset", + "memoffset 0.8.0", "scopeguard", ] @@ -1963,13 +2149,38 @@ version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7" +[[package]] +name = "crypto-bigint" +version = "0.4.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef2b4b23cddf68b89b8f8069890e8c270d54e2d5fe1b143820234805e4cb17ef" +dependencies = [ + "generic-array 0.14.6", + "rand_core 0.6.4", + "subtle", + "zeroize", +] + +[[package]] +name = "crypto-bigint" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf4c2f4e1afd912bc40bfd6fed5d9dc1f288e0ba01bfcc835cc5bc3eb13efe15" +dependencies = [ + "generic-array 0.14.6", + "rand_core 0.6.4", + "subtle", + "zeroize", +] + [[package]] name = "crypto-common" version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" dependencies = [ - "generic-array", + "generic-array 0.14.6", + "rand_core 0.6.4", "typenum", ] @@ -1979,7 +2190,7 @@ version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b1d1a86f49236c215f271d40892d5fc950490551400b02ef360692c29815c714" dependencies = [ - "generic-array", + "generic-array 0.14.6", "subtle", ] @@ -2013,16 +2224,65 @@ dependencies = [ "sct 0.6.1", ] +[[package]] +name = "ctr" +version = "0.9.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0369ee1ad671834580515889b80f2ea915f23b8be8d0daa4bbaf2ac5c7590835" +dependencies = [ + "cipher", +] + [[package]] name = "ctrlc" version = "3.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bbcf33c2a618cbe41ee43ae6e9f2e48368cd9f9db2896f10167d8d762679f639" dependencies = [ - "nix", + "nix 0.26.2", "windows-sys 0.45.0", ] +[[package]] +name = "curve25519-dalek" +version = "2.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4a9b85542f99a2dfa2a1b8e192662741c9859a846b296bef1c92ef9b58b5a216" +dependencies = [ + "byteorder", + "digest 0.8.1", + "rand_core 0.5.1", + "subtle", + "zeroize", +] + +[[package]] +name = "curve25519-dalek" +version = "4.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f711ade317dd348950a9910f81c5947e3d8907ebd2b83f76203ff1807e6a2bc2" +dependencies = [ + "cfg-if", + "cpufeatures", + "curve25519-dalek-derive", + "fiat-crypto", + "platforms", + "rustc_version 0.4.0", + "subtle", + "zeroize", +] + +[[package]] +name = "curve25519-dalek-derive" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "83fdaf97f4804dcebfa5862639bc9ce4121e82140bec2a987ac5140294865b5b" +dependencies = [ + "proc-macro2 1.0.63", + "quote 1.0.30", + "syn 2.0.28", +] + [[package]] name = "cxx" version = "1.0.92" @@ -2044,8 +2304,8 @@ dependencies = [ "cc", "codespan-reporting", "once_cell", - "proc-macro2", - "quote", + "proc-macro2 1.0.63", + "quote 1.0.30", "scratch", "syn 1.0.109", ] @@ -2062,8 +2322,8 @@ version = "1.0.92" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0b75aed41bb2e6367cae39e6326ef817a851db13c13e4f3263714ca3cfb8de56" dependencies = [ - "proc-macro2", - "quote", + "proc-macro2 1.0.63", + "quote 1.0.30", "syn 1.0.109", ] @@ -2094,8 +2354,8 @@ checksum = "859d65a907b6852c9361e3185c862aae7fafd2887876799fa55f5f99dc40d610" dependencies = [ "fnv", "ident_case", - "proc-macro2", - "quote", + "proc-macro2 1.0.63", + "quote 1.0.30", "strsim", "syn 1.0.109", ] @@ -2107,7 +2367,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9c972679f83bdf9c42bd905396b6c3588a843a17f0f16dfcfa3e2c5d57441835" dependencies = [ "darling_core", - "quote", + "quote 1.0.30", "syn 1.0.109", ] @@ -2130,6 +2390,12 @@ version = "2.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "23d8666cb01533c39dde32bcbab8e227b4ed6679b2c925eba05feabea39508fb" +[[package]] +name = "data-url" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8d7439c3735f405729d52c3fbbe4de140eaf938a1fe47d227c27f8254d4302a5" + [[package]] name = "datafusion" version = "27.0.0" @@ -2390,8 +2656,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3c65c2ffdafc1564565200967edc4851c7b55422d3913466688907efd05ea26f" dependencies = [ "deno-proc-macro-rules-macros", - "proc-macro2", - "syn 2.0.27", + "proc-macro2 1.0.63", + "syn 2.0.28", ] [[package]] @@ -2401,9 +2667,80 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3047b312b7451e3190865713a4dd6e1f821aed614ada219766ebc3024a690435" dependencies = [ "once_cell", - "proc-macro2", - "quote", - "syn 2.0.27", + "proc-macro2 1.0.63", + "quote 1.0.30", + "syn 2.0.28", +] + +[[package]] +name = "deno_ast" +version = "0.27.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6b17e25531279d9795aeb076909c91c9b369fa63fd4d801486950577d0457d22" +dependencies = [ + "anyhow", + "base64 0.13.1", + "deno_media_type", + "dprint-swc-ext", + "serde", + "swc_atoms", + "swc_common", + "swc_config", + "swc_config_macro", + "swc_ecma_ast", + "swc_ecma_codegen", + "swc_ecma_codegen_macros", + "swc_ecma_loader", + "swc_ecma_parser", + "swc_ecma_transforms_base", + "swc_ecma_transforms_classes", + "swc_ecma_transforms_macros", + "swc_ecma_transforms_proposal", + "swc_ecma_transforms_react", + "swc_ecma_transforms_typescript", + "swc_ecma_utils", + "swc_ecma_visit", + "swc_eq_ignore_macros", + "swc_macros_common", + "swc_visit", + "swc_visit_macros", + "text_lines", + "url", +] + +[[package]] +name = "deno_broadcast_channel" +version = "0.107.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5b9779401aa75d94b57796a8b27587d49c8ce814e45b726c97fb0de6dfda28fd" +dependencies = [ + "async-trait", + "deno_core", + "tokio", + "uuid", +] + +[[package]] +name = "deno_cache" +version = "0.45.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9d48f7838681fe6bc6c382c6996f02d9e95066d8213e8daf885d1de78d91d37a" +dependencies = [ + "async-trait", + "deno_core", + "rusqlite", + "serde", + "sha2 0.10.6", + "tokio", +] + +[[package]] +name = "deno_console" +version = "0.113.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d031160f65cf55b6e12b19c36e176d5c6fc0004b1a19772a1537b4bd078493ad" +dependencies = [ + "deno_core", ] [[package]] @@ -2433,58 +2770,535 @@ dependencies = [ ] [[package]] -name = "deno_ops" -version = "0.75.0" +name = "deno_crypto" +version = "0.127.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba2d2ca95637f48ba885bfa78cf3b962aa6752e4bb0bacda438e024a4b6b3b69" +checksum = "aa9c64504b44413677f8129fdec12a90fb5059fb0730e013a897b175d275c903" dependencies = [ - "deno-proc-macro-rules", - "lazy-regex", + "aes", + "aes-gcm", + "aes-kw", + "base64 0.13.1", + "block-modes", + "cbc", + "const-oid", + "ctr", + "curve25519-dalek 2.1.3", + "deno_core", + "deno_web", + "elliptic-curve 0.12.3", + "num-traits", "once_cell", - "pmutil", - "proc-macro-crate 1.3.1", - "proc-macro2", - "quote", - "regex", - "strum 0.25.0", - "strum_macros 0.25.1", - "syn 1.0.109", - "syn 2.0.27", - "thiserror", - "v8", + "p256 0.11.1", + "p384 0.11.2", + "rand 0.8.5", + "ring", + "rsa", + "sec1 0.3.0", + "serde", + "serde_bytes", + "sha1", + "sha2 0.10.6", + "signature 1.6.4", + "spki 0.6.0", + "tokio", + "uuid", + "x25519-dalek", ] [[package]] -name = "derivative" -version = "2.2.0" +name = "deno_fetch" +version = "0.137.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fcc3dd5e9e9c0b295d6e1e4d811fb6f157d5ffd784b8d202fc62eac8035a770b" +checksum = "78e6f14059ac00b69cfb82f1a0a15af3272390b289ba3fa7a70bdeaa1d36ac6f" dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", + "bytes", + "data-url", + "deno_core", + "deno_tls", + "dyn-clone", + "http", + "reqwest", + "serde", + "tokio", + "tokio-stream", + "tokio-util 0.7.8", ] [[package]] -name = "derive_more" -version = "0.99.17" +name = "deno_ffi" +version = "0.100.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4fb810d30a7c1953f91334de7244731fc3f3c10d7fe163338a35b9f640960321" +checksum = "64385e3c86623c213ea6749021bc094ffb4d22631575e098d09cf9914f16e262" dependencies = [ - "convert_case", - "proc-macro2", - "quote", - "rustc_version 0.4.0", - "syn 1.0.109", -] - -[[package]] -name = "digest" + "deno_core", + "dlopen", + "dynasmrt", + "libffi", + "libffi-sys", + "serde", + "serde-value", + "serde_json", + "tokio", + "winapi", +] + +[[package]] +name = "deno_fs" +version = "0.23.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "863e77d2fd0d45ef032c562b2a7aa12ae54ec68779c8f17ba8cc169da124e351" +dependencies = [ + "async-trait", + "deno_core", + "deno_io", + "filetime", + "fs3", + "libc", + "log", + "nix 0.24.2", + "rand 0.8.5", + "serde", + "tokio", + "winapi", +] + +[[package]] +name = "deno_http" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "563fa2cbf5bd3981561cccf47f670583ce1d7be935bb11a0f1de5b9015449d2c" +dependencies = [ + "async-compression 0.3.15", + "async-trait", + "base64 0.13.1", + "brotli", + "bytes", + "cache_control", + "deno_core", + "deno_net", + "deno_websocket", + "flate2", + "fly-accept-encoding", + "http", + "httparse", + "hyper 0.14.27", + "hyper 1.0.0-rc.3", + "memmem", + "mime", + "once_cell", + "percent-encoding", + "phf 0.10.1", + "pin-project", + "ring", + "serde", + "slab", + "smallvec", + "thiserror", + "tokio", + "tokio-util 0.7.8", +] + +[[package]] +name = "deno_io" +version = "0.23.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ad30ace963341ff9f3de068dd92f3104d83e02f75021493bdd325c516db86b69" +dependencies = [ + "async-trait", + "deno_core", + "filetime", + "fs3", + "nix 0.24.2", + "once_cell", + "tokio", + "winapi", +] + +[[package]] +name = "deno_kv" +version = "0.21.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d29392da2385cf4c72b31ba96c9a7b1c2ba143aa736e1fb86624b45f2c753b5c" +dependencies = [ + "anyhow", + "async-trait", + "base64 0.13.1", + "deno_core", + "hex", + "num-bigint", + "rand 0.8.5", + "rusqlite", + "serde", + "serde_json", + "tokio", + "uuid", +] + +[[package]] +name = "deno_media_type" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "001d69b833ed4d244b608bab9c07069bfb570f631b763b58e73f82a020bf84ef" +dependencies = [ + "data-url", + "serde", + "url", +] + +[[package]] +name = "deno_napi" +version = "0.43.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dcaba94bf240bfefdc5351898035d215dd3d3bc62413df43440eb3d44fce66d4" +dependencies = [ + "deno_core", + "libloading 0.7.4", +] + +[[package]] +name = "deno_net" +version = "0.105.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bd680c9b60c548336f127c2214bc2873c24151d68c22281f5ec655b78f0ba739" +dependencies = [ + "deno_core", + "deno_tls", + "enum-as-inner 0.5.1", + "log", + "pin-project", + "serde", + "socket2", + "tokio", + "trust-dns-proto 0.22.0", + "trust-dns-resolver 0.22.0", +] + +[[package]] +name = "deno_node" +version = "0.50.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77c6151c07b38a8e2cd2e5b8a5a6cab6bca7f70f6100c44ed9e90e1cc7b6a3af" +dependencies = [ + "aes", + "brotli", + "cbc", + "data-encoding", + "deno_core", + "deno_fetch", + "deno_fs", + "deno_media_type", + "deno_npm", + "deno_semver", + "digest 0.10.7", + "dsa", + "ecb", + "elliptic-curve 0.13.5", + "hex", + "hkdf", + "idna 0.3.0", + "indexmap", + "lazy-regex", + "libz-sys", + "md-5 0.10.5", + "md4", + "num-bigint", + "num-bigint-dig", + "num-integer", + "num-traits", + "once_cell", + "p224", + "p256 0.13.2", + "p384 0.13.0", + "path-clean", + "pbkdf2 0.12.2", + "rand 0.8.5", + "regex", + "reqwest", + "ring", + "ripemd", + "rsa", + "scrypt", + "secp256k1 0.27.0", + "serde", + "sha-1 0.10.0", + "sha2 0.10.6", + "sha3 0.10.8", + "signature 1.6.4", + "tokio", + "typenum", + "x25519-dalek", + "x509-parser", +] + +[[package]] +name = "deno_npm" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "371ef0398b5b5460d66b78a958d5015658e198ad3a29fb9ce329459272fd29aa" +dependencies = [ + "anyhow", + "async-trait", + "deno_semver", + "futures", + "log", + "monch", + "once_cell", + "serde", + "thiserror", +] + +[[package]] +name = "deno_ops" +version = "0.75.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ba2d2ca95637f48ba885bfa78cf3b962aa6752e4bb0bacda438e024a4b6b3b69" +dependencies = [ + "deno-proc-macro-rules", + "lazy-regex", + "once_cell", + "pmutil 0.6.1", + "proc-macro-crate 1.3.1", + "proc-macro2 1.0.63", + "quote 1.0.30", + "regex", + "strum 0.25.0", + "strum_macros 0.25.1", + "syn 1.0.109", + "syn 2.0.28", + "thiserror", + "v8", +] + +[[package]] +name = "deno_runtime" +version = "0.121.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "07a17ae4234e16d53e3b23959988978e18e2abbcf57a6f78e2db1934f9d7d8e0" +dependencies = [ + "atty", + "console_static_text", + "deno_ast", + "deno_broadcast_channel", + "deno_cache", + "deno_console", + "deno_core", + "deno_crypto", + "deno_fetch", + "deno_ffi", + "deno_fs", + "deno_http", + "deno_io", + "deno_kv", + "deno_napi", + "deno_net", + "deno_node", + "deno_tls", + "deno_url", + "deno_web", + "deno_webidl", + "deno_websocket", + "deno_webstorage", + "dlopen", + "encoding_rs", + "fastwebsockets", + "filetime", + "fs3", + "fwdansi", + "http", + "hyper 0.14.27", + "libc", + "log", + "netif", + "nix 0.24.2", + "notify 5.0.0", + "ntapi", + "once_cell", + "regex", + "ring", + "serde", + "signal-hook-registry", + "termcolor", + "tokio", + "tokio-metrics", + "uuid", + "winapi", + "winres", +] + +[[package]] +name = "deno_semver" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "242c8ad9f4ce614ec0fa2e6b3d834f2662ce024ca78e9ed4c58d812cbfc3e41d" +dependencies = [ + "monch", + "serde", + "thiserror", + "url", +] + +[[package]] +name = "deno_tls" +version = "0.100.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "266a8bf6ebd913f1860eda28989dcff6ad5f69e056024d6d0af2efb5f7356630" +dependencies = [ + "deno_core", + "once_cell", + "rustls 0.21.0", + "rustls-native-certs 0.6.2", + "rustls-pemfile", + "serde", + "webpki 0.22.0", + "webpki-roots", +] + +[[package]] +name = "deno_url" +version = "0.113.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "63c6c209176b313a162afe6e711a89933dd401361f54a7d8594897c151f47ecb" +dependencies = [ + "deno_core", + "serde", + "serde_repr", + "urlpattern", +] + +[[package]] +name = "deno_web" +version = "0.144.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3b0fa8ae9d5f7a2067ede8f282247b81fb6fe2fc791c8986b0d8e32f00ef61ac" +dependencies = [ + "async-trait", + "base64-simd", + "deno_core", + "encoding_rs", + "flate2", + "serde", + "tokio", + "uuid", + "windows-sys 0.48.0", +] + +[[package]] +name = "deno_webidl" +version = "0.113.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9be2ec2778676fbe8c5958cbce126fb72eb34f5d8d91fb5748bee6c6590355d8" +dependencies = [ + "deno_core", +] + +[[package]] +name = "deno_websocket" +version = "0.118.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0182b4c19b07752ce5cc0968619b04070e2c4f223889a7b9b7f08c2c41bbb219" +dependencies = [ + "bytes", + "deno_core", + "deno_net", + "deno_tls", + "fastwebsockets", + "http", + "hyper 0.14.27", + "once_cell", + "serde", + "tokio", + "tokio-rustls 0.24.0", +] + +[[package]] +name = "deno_webstorage" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "081eade7c739eb178c33fc1b5737d62058f503da70a08daffdb24665c6edb6b5" +dependencies = [ + "deno_core", + "deno_web", + "rusqlite", + "serde", +] + +[[package]] +name = "der" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f1a467a65c5e759bce6e65eaf91cc29f466cdc57cb65777bd646872a8a1fd4de" +dependencies = [ + "const-oid", + "pem-rfc7468 0.6.0", + "zeroize", +] + +[[package]] +name = "der" +version = "0.7.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fffa369a668c8af7dbf8b5e56c9f744fbd399949ed171606040001947de40b1c" +dependencies = [ + "const-oid", + "pem-rfc7468 0.7.0", + "zeroize", +] + +[[package]] +name = "der-parser" +version = "8.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dbd676fbbab537128ef0278adb5576cf363cff6aa22a7b24effe97347cfab61e" +dependencies = [ + "asn1-rs", + "displaydoc", + "nom", + "num-bigint", + "num-traits", + "rusticata-macros", +] + +[[package]] +name = "derivative" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fcc3dd5e9e9c0b295d6e1e4d811fb6f157d5ffd784b8d202fc62eac8035a770b" +dependencies = [ + "proc-macro2 1.0.63", + "quote 1.0.30", + "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.63", + "quote 1.0.30", + "rustc_version 0.4.0", + "syn 1.0.109", +] + +[[package]] +name = "digest" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f3d0c8c8752312f9713efd397ff63acb9f85585afbf179282e720e7704954dd5" +dependencies = [ + "generic-array 0.12.4", +] + +[[package]] +name = "digest" version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d3dd60d1080a57a05ab032377049e0591415d2b31afd7028356dbf3cc6dcb066" dependencies = [ - "generic-array", + "generic-array 0.14.6", ] [[package]] @@ -2494,6 +3308,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" dependencies = [ "block-buffer 0.10.4", + "const-oid", "crypto-common", "subtle", ] @@ -2519,6 +3334,40 @@ dependencies = [ "winapi", ] +[[package]] +name = "displaydoc" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "487585f4d0c6655fe74905e2504d8ad6908e4db67f744eb140876906c2f3175d" +dependencies = [ + "proc-macro2 1.0.63", + "quote 1.0.30", + "syn 2.0.28", +] + +[[package]] +name = "dlopen" +version = "0.1.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "71e80ad39f814a9abe68583cd50a2d45c8a67561c3361ab8da240587dda80937" +dependencies = [ + "dlopen_derive", + "lazy_static", + "libc", + "winapi", +] + +[[package]] +name = "dlopen_derive" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f236d9e1b1fbd81cea0f9cbdc8dcc7e8ebcd80e6659cd7cb2ad5f6c05946c581" +dependencies = [ + "libc", + "quote 0.6.13", + "syn 0.15.44", +] + [[package]] name = "doc-comment" version = "0.3.3" @@ -2544,7 +3393,7 @@ dependencies = [ "futures-util", "gethostname", "handlebars", - "hyper", + "hyper 0.14.27", "jsonwebtoken", "metrics", "openapiv3", @@ -2607,7 +3456,7 @@ dependencies = [ "handlebars", "include_dir", "metrics", - "notify", + "notify 6.0.1", "notify-debouncer-full", "page_size", "reqwest", @@ -2650,7 +3499,9 @@ dependencies = [ "criterion", "crossbeam", "deltalake", + "deno_ast", "deno_core", + "deno_runtime", "dozer-tracing", "dozer-types", "dozer-utils", @@ -2855,6 +3706,38 @@ dependencies = [ "dozer-types", ] +[[package]] +name = "dprint-swc-ext" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dd4dda8a1b920e8be367aeaad035753d21bb69b3c50515afb41ab1eefbb886b5" +dependencies = [ + "bumpalo", + "num-bigint", + "rustc-hash", + "swc_atoms", + "swc_common", + "swc_ecma_ast", + "swc_ecma_parser", + "text_lines", +] + +[[package]] +name = "dsa" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b5638f6d17447bc0ffc46354949ee366847e83450e2a07895862942085cc9761" +dependencies = [ + "digest 0.10.7", + "num-bigint-dig", + "num-traits", + "pkcs8 0.10.2", + "rfc6979 0.4.0", + "sha2 0.10.6", + "signature 2.1.0", + "zeroize", +] + [[package]] name = "dyn-clone" version = "1.0.11" @@ -2877,6 +3760,32 @@ dependencies = [ "uuid", ] +[[package]] +name = "dynasm" +version = "1.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "add9a102807b524ec050363f09e06f1504214b0e1c7797f64261c891022dce8b" +dependencies = [ + "bitflags 1.3.2", + "byteorder", + "lazy_static", + "proc-macro-error", + "proc-macro2 1.0.63", + "quote 1.0.30", + "syn 1.0.109", +] + +[[package]] +name = "dynasmrt" +version = "1.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "64fba5a42bd76a17cad4bfa00de168ee1cbfa06a5e8ce992ae880218c05641a9" +dependencies = [ + "byteorder", + "dynasm", + "memmap2", +] + [[package]] name = "earcutr" version = "0.4.2" @@ -2887,6 +3796,41 @@ dependencies = [ "num-traits", ] +[[package]] +name = "ecb" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "17fd84ba81a904351ee27bbccb4aa2461e1cca04176a63ab4f8ca087757681a2" +dependencies = [ + "cipher", +] + +[[package]] +name = "ecdsa" +version = "0.14.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "413301934810f597c1d19ca71c8710e99a3f1ba28a0d2ebc01551a2daeea3c5c" +dependencies = [ + "der 0.6.1", + "elliptic-curve 0.12.3", + "rfc6979 0.3.1", + "signature 1.6.4", +] + +[[package]] +name = "ecdsa" +version = "0.16.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a4b1e0c257a9e9f25f90ff76d7a68360ed497ee519c8e428d1825ef0000799d4" +dependencies = [ + "der 0.7.8", + "digest 0.10.7", + "elliptic-curve 0.13.5", + "rfc6979 0.4.0", + "signature 2.1.0", + "spki 0.7.2", +] + [[package]] name = "educe" version = "0.4.20" @@ -2894,8 +3838,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cb0188e3c3ba8df5753894d54461f0e39bc91741dc5b22e1c46999ec2c71f4e4" dependencies = [ "enum-ordinalize", - "proc-macro2", - "quote", + "proc-macro2 1.0.63", + "quote 1.0.30", "syn 1.0.109", ] @@ -2905,6 +3849,49 @@ version = "1.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7fcaabb2fef8c910e7f4c7ce9f67a1283a1715879a7c230ca9d6d1ae31f16d91" +[[package]] +name = "elliptic-curve" +version = "0.12.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7bb888ab5300a19b8e5bceef25ac745ad065f3c9f7efc6de1b91958110891d3" +dependencies = [ + "base16ct 0.1.1", + "crypto-bigint 0.4.9", + "der 0.6.1", + "digest 0.10.7", + "ff 0.12.1", + "generic-array 0.14.6", + "group 0.12.1", + "hkdf", + "pem-rfc7468 0.6.0", + "pkcs8 0.9.0", + "rand_core 0.6.4", + "sec1 0.3.0", + "subtle", + "zeroize", +] + +[[package]] +name = "elliptic-curve" +version = "0.13.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "968405c8fdc9b3bf4df0a6638858cc0b52462836ab6b1c87377785dd09cf1c0b" +dependencies = [ + "base16ct 0.2.0", + "crypto-bigint 0.5.2", + "digest 0.10.7", + "ff 0.13.0", + "generic-array 0.14.6", + "group 0.13.0", + "hkdf", + "pem-rfc7468 0.7.0", + "pkcs8 0.10.2", + "rand_core 0.6.4", + "sec1 0.7.1", + "subtle", + "zeroize", +] + [[package]] name = "encode_unicode" version = "0.3.6" @@ -2939,8 +3926,20 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "21cdad81446a7f7dc43f6a77409efeb9733d2fa65553efef6018ef257c959b73" dependencies = [ "heck", - "proc-macro2", - "quote", + "proc-macro2 1.0.63", + "quote 1.0.30", + "syn 1.0.109", +] + +[[package]] +name = "enum-as-inner" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c9720bba047d567ffc8a3cba48bf19126600e249ab7f128e9233e6376976a116" +dependencies = [ + "heck", + "proc-macro2 1.0.63", + "quote 1.0.30", "syn 1.0.109", ] @@ -2952,8 +3951,8 @@ checksum = "a62bb1df8b45ecb7ffa78dca1c17a438fb193eb083db0b1b494d2a61bcb5096a" dependencies = [ "num-bigint", "num-traits", - "proc-macro2", - "quote", + "proc-macro2 1.0.63", + "quote 1.0.30", "rustc_version 0.4.0", "syn 1.0.109", ] @@ -2965,8 +3964,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "11f36e95862220b211a6e2aa5eca09b4fa391b13cd52ceb8035a24bf65a79de2" dependencies = [ "once_cell", - "proc-macro2", - "quote", + "proc-macro2 1.0.63", + "quote 1.0.30", "syn 1.0.109", ] @@ -3035,7 +4034,7 @@ dependencies = [ "hex", "serde", "serde_json", - "sha3", + "sha3 0.9.1", "thiserror", "uint", ] @@ -3088,6 +4087,23 @@ dependencies = [ "instant", ] +[[package]] +name = "fastwebsockets" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1925eb5ee48fffa504a9edce24b3b4d43e2809d1cc713a1df2b13a46e661b3c6" +dependencies = [ + "base64 0.21.0", + "cc", + "hyper 0.14.27", + "pin-project", + "rand 0.8.5", + "sha1", + "simdutf8", + "tokio", + "utf-8", +] + [[package]] name = "fd-lock" version = "3.0.10" @@ -3099,6 +4115,32 @@ dependencies = [ "windows-sys 0.45.0", ] +[[package]] +name = "ff" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d013fc25338cc558c5c2cfbad646908fb23591e2404481826742b651c9af7160" +dependencies = [ + "rand_core 0.6.4", + "subtle", +] + +[[package]] +name = "ff" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ded41244b729663b1e574f1b4fb731469f69f79c17667b5d776b16cda0479449" +dependencies = [ + "rand_core 0.6.4", + "subtle", +] + +[[package]] +name = "fiat-crypto" +version = "0.1.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e825f6987101665dea6ec934c09ec6d721de7bc1bf92248e1d5810c8cd636b77" + [[package]] name = "file-id" version = "0.1.0" @@ -3144,7 +4186,7 @@ version = "23.1.21" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "77f5399c2c9c50ae9418e522842ad362f61ee48b346ac106807bd355a8a7c619" dependencies = [ - "bitflags", + "bitflags 1.3.2", "rustc_version 0.4.0", ] @@ -3164,6 +4206,17 @@ version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8bf7cc16383c4b8d58b9905a8509f02926ce3058053c056376248d958c9df1e8" +[[package]] +name = "fly-accept-encoding" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a3afa7516fdcfd8e5e93a938f8fec857785ced190a1f62d842d1fe1ffbe22ba8" +dependencies = [ + "http", + "itertools 0.10.5", + "thiserror", +] + [[package]] name = "fnv" version = "1.0.7" @@ -3194,12 +4247,35 @@ dependencies = [ "percent-encoding", ] +[[package]] +name = "from_variant" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d449976075322384507443937df2f1d5577afbf4282f12a5a66ef29fa3e6307" +dependencies = [ + "pmutil 0.5.3", + "proc-macro2 1.0.63", + "swc_macros_common", + "syn 1.0.109", +] + [[package]] name = "fs-err" version = "2.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0845fa252299212f0389d64ba26f34fa32cfe41588355f21ed507c59a0f64541" +[[package]] +name = "fs3" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fb17cf6ed704f72485332f6ab65257460c4f9f3083934cf402bf9f5b3b600a90" +dependencies = [ + "libc", + "rustc_version 0.2.3", + "winapi", +] + [[package]] name = "fsevent-sys" version = "4.1.0" @@ -3291,9 +4367,9 @@ version = "0.3.28" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "89ca545a94061b6365f2c7355b4b32bd20df3ff95f02da9329b34ccc3bd6ee72" dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.27", + "proc-macro2 1.0.63", + "quote 1.0.30", + "syn 2.0.28", ] [[package]] @@ -3332,6 +4408,25 @@ dependencies = [ "slab", ] +[[package]] +name = "fwdansi" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "08c1f5787fe85505d1f7777268db5103d80a7a374d2316a7ce262e57baf8f208" +dependencies = [ + "memchr", + "termcolor", +] + +[[package]] +name = "generic-array" +version = "0.12.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ffdf9f34f1447443d37393cc6c2b8313aebddcd96906caf34e54c68d8e57d7bd" +dependencies = [ + "typenum", +] + [[package]] name = "generic-array" version = "0.14.6" @@ -3340,6 +4435,7 @@ checksum = "bff49e947297f3312447abdca79f45f4738097cc82b06e72054d2223f601f1b9" dependencies = [ "typenum", "version_check", + "zeroize", ] [[package]] @@ -3390,6 +4486,17 @@ dependencies = [ "windows-targets 0.48.0", ] +[[package]] +name = "getrandom" +version = "0.1.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8fc3cb4d91f53b50155bdcfd23f6a4c39ae1969c2ae85982b135750cccaf5fce" +dependencies = [ + "cfg-if", + "libc", + "wasi 0.9.0+wasi-snapshot-preview1", +] + [[package]] name = "getrandom" version = "0.2.8" @@ -3402,10 +4509,42 @@ dependencies = [ ] [[package]] -name = "glob" -version = "0.3.1" +name = "ghash" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d930750de5717d2dd0b8c0d42c076c0e884c81a73e6cab859bbd2339c71e3e40" +dependencies = [ + "opaque-debug", + "polyval", +] + +[[package]] +name = "glob" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b" + +[[package]] +name = "group" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5dfbfb3a6cfbd390d5c9564ab283a0349b9b9fcd46a706c1eb10e0db70bfbac7" +dependencies = [ + "ff 0.12.1", + "rand_core 0.6.4", + "subtle", +] + +[[package]] +name = "group" +version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b" +checksum = "f0f9ef7462f7c099f518d754361858f86d8a07af53ba9af0fe635bbccb151a63" +dependencies = [ + "ff 0.13.0", + "rand_core 0.6.4", + "subtle", +] [[package]] name = "h2" @@ -3509,7 +4648,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f3e372db8e5c0d213e0cd0b9be18be2aca3d44cf2fe30a9d46a65581cd454584" dependencies = [ "base64 0.13.1", - "bitflags", + "bitflags 1.3.2", "bytes", "headers-core", "http", @@ -3582,6 +4721,15 @@ version = "0.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7ebdb29d2ea9ed0083cd8cece49bbd968021bd99b0849edb4a9a7ee0fdf6a4e0" +[[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.11.0" @@ -3643,6 +4791,16 @@ dependencies = [ "pin-project-lite", ] +[[package]] +name = "http-body" +version = "1.0.0-rc.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "951dfc2e32ac02d67c90c0d65bd27009a635dc9b381a2cc7d284ab01e3a0150d" +dependencies = [ + "bytes", + "http", +] + [[package]] name = "http-range" version = "0.1.5" @@ -3685,7 +4843,7 @@ dependencies = [ "futures-util", "h2", "http", - "http-body", + "http-body 0.4.5", "httparse", "httpdate", "itoa", @@ -3697,6 +4855,28 @@ dependencies = [ "want", ] +[[package]] +name = "hyper" +version = "1.0.0-rc.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7b75264b2003a3913f118d35c586e535293b3e22e41f074930762929d071e092" +dependencies = [ + "bytes", + "futures-channel", + "futures-core", + "futures-util", + "h2", + "http", + "http-body 1.0.0-rc.2", + "httparse", + "httpdate", + "itoa", + "pin-project-lite", + "tokio", + "tracing", + "want", +] + [[package]] name = "hyper-rustls" version = "0.22.1" @@ -3705,7 +4885,7 @@ checksum = "5f9f7a97316d44c0af9b0301e65010573a853a9fc97046d7331d7f6bc0fd5a64" dependencies = [ "ct-logs", "futures-util", - "hyper", + "hyper 0.14.27", "log", "rustls 0.19.1", "rustls-native-certs 0.5.0", @@ -3721,7 +4901,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1788965e61b367cd03a62950836d5cd41560c3577d90e40e0819373194d1661c" dependencies = [ "http", - "hyper", + "hyper 0.14.27", "log", "rustls 0.20.8", "rustls-native-certs 0.6.2", @@ -3737,7 +4917,7 @@ checksum = "8d78e1e73ec14cf7375674f74d7dde185c8206fd9dea6fb6295e8a98098aaa97" dependencies = [ "futures-util", "http", - "hyper", + "hyper 0.14.27", "rustls 0.21.0", "tokio", "tokio-rustls 0.24.0", @@ -3749,7 +4929,7 @@ version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bbb958482e8c7be4bc3cf272a766a2b0bf1a6755e7a6ae777f017a31d11b13b1" dependencies = [ - "hyper", + "hyper 0.14.27", "pin-project-lite", "tokio", "tokio-io-timeout", @@ -3762,7 +4942,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d6183ddfa99b85da61a140bea0efc93fdf56ceaa041b37d553518030827f9905" dependencies = [ "bytes", - "hyper", + "hyper 0.14.27", "native-tls", "tokio", "tokio-native-tls", @@ -3868,8 +5048,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.63", + "quote 1.0.30", "syn 1.0.109", ] @@ -3888,8 +5068,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.63", + "quote 1.0.30", ] [[package]] @@ -3927,7 +5107,7 @@ version = "0.9.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f8069d3ec154eb856955c1c0fbffefbf5f3c40a104ec912d4797314c1801abff" dependencies = [ - "bitflags", + "bitflags 1.3.2", "inotify-sys", "libc", ] @@ -3941,6 +5121,16 @@ dependencies = [ "libc", ] +[[package]] +name = "inout" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a0c10553d664a4d0bcff9f4215d0aac67a639cc68ef660840afe309b807bc9f5" +dependencies = [ + "block-padding 0.3.3", + "generic-array 0.14.6", +] + [[package]] name = "instant" version = "0.1.12" @@ -3993,6 +5183,19 @@ dependencies = [ "nom", ] +[[package]] +name = "is-macro" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a7d079e129b77477a49c5c4f1cfe9ce6c2c909ef52520693e8e811a714c7b20" +dependencies = [ + "Inflector", + "pmutil 0.5.3", + "proc-macro2 1.0.63", + "quote 1.0.30", + "syn 1.0.109", +] + [[package]] name = "is-terminal" version = "0.4.4" @@ -4135,7 +5338,7 @@ version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8367585489f01bc55dd27404dcf56b95e6da061a256a666ab23be9ba96a2e587" dependencies = [ - "bitflags", + "bitflags 1.3.2", "libc", ] @@ -4162,8 +5365,8 @@ version = "2.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8edfc11b8f56ce85e207e62ea21557cfa09bb24a8f6b04ae181b086ff8611c22" dependencies = [ - "proc-macro2", - "quote", + "proc-macro2 1.0.63", + "quote 1.0.30", "regex", "syn 1.0.109", ] @@ -4173,6 +5376,18 @@ name = "lazy_static" version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" +dependencies = [ + "spin 0.5.2", +] + +[[package]] +name = "lexical" +version = "6.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c7aefb36fd43fef7003334742cbf77b243fcd36418a1d1bdd480d613a67968f6" +dependencies = [ + "lexical-core", +] [[package]] name = "lexical-core" @@ -4244,6 +5459,25 @@ version = "0.2.144" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2b00cc1c228a6782d0f076e7b232802e0c5689d41bb5df366f2a6b6621cfdfe1" +[[package]] +name = "libffi" +version = "3.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce826c243048e3d5cec441799724de52e2d42f820468431fc3fceee2341871e2" +dependencies = [ + "libc", + "libffi-sys", +] + +[[package]] +name = "libffi-sys" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f36115160c57e8529781b4183c2bb51fdc1f6d6d1ed345591d84be7703befb3c" +dependencies = [ + "cc", +] + [[package]] name = "libflate" version = "1.3.0" @@ -4274,6 +5508,16 @@ dependencies = [ "winapi", ] +[[package]] +name = "libloading" +version = "0.7.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b67380fd3b2fbe7527a606e18729d21c6f3951633d0500574c4dc22d2d638b9f" +dependencies = [ + "cfg-if", + "winapi", +] + [[package]] name = "libm" version = "0.2.6" @@ -4282,9 +5526,9 @@ checksum = "348108ab3fba42ec82ff6e9564fc4ca0247bdccdc68dd8af9764bbc79c3c8ffb" [[package]] name = "libsqlite3-sys" -version = "0.25.2" +version = "0.26.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29f835d03d717946d28b1d1ed632eb6f0e24a299388ee623d0c23118d3e8a7fa" +checksum = "afc22eff61b133b115c6e8c74e818c628d6d5e7a502afea6f64dee076dd94326" dependencies = [ "cc", "pkg-config", @@ -4347,7 +5591,7 @@ version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "447a296f7aca299cfbb50f4e4f3d49451549af655fb7215d7f8c0c3d64bad42b" dependencies = [ - "bitflags", + "bitflags 1.3.2", "byteorder", "libc", "lmdb-rkv-sys", @@ -4415,8 +5659,8 @@ checksum = "a1d849148dbaf9661a6151d1ca82b13bb4c4c128146a88d05253b38d4e2f496c" dependencies = [ "beef", "fnv", - "proc-macro2", - "quote", + "proc-macro2 1.0.63", + "quote 1.0.30", "regex-syntax 0.6.28", "syn 1.0.109", ] @@ -4532,12 +5776,45 @@ dependencies = [ "digest 0.10.7", ] +[[package]] +name = "md4" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7da5ac363534dce5fabf69949225e174fbf111a498bf0ff794c8ea1fba9f3dda" +dependencies = [ + "digest 0.10.7", +] + [[package]] name = "memchr" version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d" +[[package]] +name = "memmap2" +version = "0.5.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "83faa42c0a078c393f6b29d5db232d8be22776a891f8f56e5284faee4a20b327" +dependencies = [ + "libc", +] + +[[package]] +name = "memmem" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a64a92489e2744ce060c349162be1c5f33c6969234104dbd99ddb5feb08b8c15" + +[[package]] +name = "memoffset" +version = "0.6.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5aa361d4faea93603064a027415f07bd8e1d5c88c9fbf68bf56a285428fd79ce" +dependencies = [ + "autocfg", +] + [[package]] name = "memoffset" version = "0.8.0" @@ -4565,7 +5842,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8a4964177ddfdab1e3a2b37aec7cf320e14169abb0ed73999f558136409178d5" dependencies = [ "base64 0.21.0", - "hyper", + "hyper 0.14.27", "indexmap", "ipnet", "metrics", @@ -4582,9 +5859,9 @@ version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ddece26afd34c31585c74a4db0630c376df271c285d682d1e55012197830b6df" dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.27", + "proc-macro2 1.0.63", + "quote 1.0.30", + "syn 2.0.28", ] [[package]] @@ -4645,6 +5922,12 @@ dependencies = [ "windows-sys 0.45.0", ] +[[package]] +name = "monch" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4519a88847ba2d5ead3dc53f1060ec6a571de93f325d9c5c4968147382b1cbc3" + [[package]] name = "mongodb" version = "2.6.0" @@ -4653,7 +5936,7 @@ checksum = "ebcd85ec209a5b84fd9f54b9e381f6fa17462bc74160d018fc94fd8b9f61faa8" dependencies = [ "async-trait", "base64 0.13.1", - "bitflags", + "bitflags 1.3.2", "bson", "chrono", "derivative", @@ -4666,7 +5949,7 @@ dependencies = [ "hmac 0.12.1", "lazy_static", "md-5 0.10.5", - "pbkdf2", + "pbkdf2 0.11.0", "percent-encoding", "rand 0.8.5", "rustc_version_runtime", @@ -4685,8 +5968,8 @@ dependencies = [ "tokio", "tokio-rustls 0.23.4", "tokio-util 0.7.8", - "trust-dns-proto", - "trust-dns-resolver", + "trust-dns-proto 0.21.2", + "trust-dns-resolver 0.21.2", "typed-builder", "uuid", "webpki-roots", @@ -4750,7 +6033,7 @@ version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b7288eac8b54af7913c60e0eb0e2a7683020dffa342ab3fd15e28f035ba897cf" dependencies = [ - "quote", + "quote 1.0.30", "syn 1.0.109", "syn-mid", ] @@ -4762,10 +6045,26 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4676720fa8bb32c64c3d9f49c47a47289239ec46b4bdb66d0913cc512cb0daca" dependencies = [ "cfg-if", - "libloading", + "libloading 0.6.7", "smallvec", ] +[[package]] +name = "netif" +version = "0.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d29a01b9f018d6b7b277fef6c79fdbd9bf17bb2d1e298238055cafab49baa5ee" +dependencies = [ + "libc", + "winapi", +] + +[[package]] +name = "new_debug_unreachable" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e4a24736216ec316047a1fc4252e27dabb04218aa4a3f37c6e7ddbf1f9782b54" + [[package]] name = "nibble_vec" version = "0.1.0" @@ -4775,13 +6074,25 @@ dependencies = [ "smallvec", ] +[[package]] +name = "nix" +version = "0.24.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "195cdbc1741b8134346d515b3a56a1c94b0912758009cfd53f99ea0f57b065fc" +dependencies = [ + "bitflags 1.3.2", + "cfg-if", + "libc", + "memoffset 0.6.5", +] + [[package]] name = "nix" version = "0.26.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bfdda3d196821d6af13126e40375cdf7da646a96114af134d5f417a9a1dc8e1a" dependencies = [ - "bitflags", + "bitflags 1.3.2", "cfg-if", "libc", "static_assertions", @@ -4803,13 +6114,31 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "38bf9645c8b145698bb0b18a4637dcacbc421ea49bef2317e4fd8065a387cf21" +[[package]] +name = "notify" +version = "5.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed2c66da08abae1c024c01d635253e402341b4060a12e99b31c7594063bf490a" +dependencies = [ + "bitflags 1.3.2", + "crossbeam-channel", + "filetime", + "fsevent-sys", + "inotify", + "kqueue", + "libc", + "mio", + "walkdir", + "winapi", +] + [[package]] name = "notify" version = "6.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5738a2795d57ea20abec2d6d76c6081186709c0024187cd5977265eda6598b51" dependencies = [ - "bitflags", + "bitflags 1.3.2", "crossbeam-channel", "filetime", "fsevent-sys", @@ -4829,11 +6158,20 @@ checksum = "416969970ec751a5d702a88c6cd19ac1332abe997fce43f96db0418550426241" dependencies = [ "crossbeam-channel", "file-id", - "notify", + "notify 6.0.1", "parking_lot", "walkdir", ] +[[package]] +name = "ntapi" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e8a3895c6391c39d7fe7ebc444a87eb2991b2a0bc718fdabd071eec617fc68e4" +dependencies = [ + "winapi", +] + [[package]] name = "nu-ansi-term" version = "0.46.0" @@ -4868,6 +6206,25 @@ dependencies = [ "num-integer", "num-traits", "rand 0.8.5", + "serde", +] + +[[package]] +name = "num-bigint-dig" +version = "0.8.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc84195820f291c7697304f3cbdadd1cb7199c0efc917ff5eafd71225c136151" +dependencies = [ + "byteorder", + "lazy_static", + "libm", + "num-integer", + "num-iter", + "num-traits", + "rand 0.8.5", + "serde", + "smallvec", + "zeroize", ] [[package]] @@ -4948,8 +6305,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dcbff9bc912032c62bf65ef1d5aea88983b420f4f839db1e9b0c281a25c9c799" dependencies = [ "proc-macro-crate 1.3.1", - "proc-macro2", - "quote", + "proc-macro2 1.0.63", + "quote 1.0.30", "syn 1.0.109", ] @@ -4980,7 +6337,7 @@ dependencies = [ "chrono", "futures", "humantime", - "hyper", + "hyper 0.14.27", "itertools 0.10.5", "parking_lot", "percent-encoding", @@ -5025,6 +6382,15 @@ version = "0.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dec5c5490e13c423d25508b13cd2cc432490043f5ed5b46b61a75857642f4f37" +[[package]] +name = "oid-registry" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9bedf36ffb6ba96c2eb7144ef6270557b52e54b20c0a8e1eb2ff99a6c6959bff" +dependencies = [ + "asn1-rs", +] + [[package]] name = "once_cell" version = "1.17.1" @@ -5060,7 +6426,7 @@ version = "0.10.55" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "345df152bc43501c5eb9e4654ff05f794effb78d4efe3d53abc158baddc0703d" dependencies = [ - "bitflags", + "bitflags 1.3.2", "cfg-if", "foreign-types", "libc", @@ -5075,8 +6441,8 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b501e44f11665960c7e7fcf062c7d96a14ade4aa98116c004b2e37b5be7d736c" dependencies = [ - "proc-macro2", - "quote", + "proc-macro2 1.0.63", + "quote 1.0.30", "syn 1.0.109", ] @@ -5224,6 +6590,64 @@ version = "3.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c1b04fb49957986fdce4d6ee7a65027d55d4b6d2265e5848bbb507b58ccfdb6f" +[[package]] +name = "p224" +version = "0.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "30c06436d66652bc2f01ade021592c80a2aad401570a18aa18b82e440d2b9aa1" +dependencies = [ + "ecdsa 0.16.8", + "elliptic-curve 0.13.5", + "primeorder", + "sha2 0.10.6", +] + +[[package]] +name = "p256" +version = "0.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "51f44edd08f51e2ade572f141051021c5af22677e42b7dd28a88155151c33594" +dependencies = [ + "ecdsa 0.14.8", + "elliptic-curve 0.12.3", + "sha2 0.10.6", +] + +[[package]] +name = "p256" +version = "0.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c9863ad85fa8f4460f9c48cb909d38a0d689dba1f6f6988a5e3e0d31071bcd4b" +dependencies = [ + "ecdsa 0.16.8", + "elliptic-curve 0.13.5", + "primeorder", + "sha2 0.10.6", +] + +[[package]] +name = "p384" +version = "0.11.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dfc8c5bf642dde52bb9e87c0ecd8ca5a76faac2eeed98dedb7c717997e1080aa" +dependencies = [ + "ecdsa 0.14.8", + "elliptic-curve 0.12.3", + "sha2 0.10.6", +] + +[[package]] +name = "p384" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "70786f51bcc69f6a4c0360e063a4cac5419ef7c5cd5b3c99ad70f3be5ba79209" +dependencies = [ + "ecdsa 0.16.8", + "elliptic-curve 0.13.5", + "primeorder", + "sha2 0.10.6", +] + [[package]] name = "page_size" version = "0.5.0" @@ -5255,8 +6679,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1557010476e0595c9b568d16dcfb81b93cdeb157612726f5170d31aa707bed27" dependencies = [ "proc-macro-crate 1.3.1", - "proc-macro2", - "quote", + "proc-macro2 1.0.63", + "quote 1.0.30", "syn 1.0.109", ] @@ -5326,28 +6750,79 @@ dependencies = [ "regex", ] +[[package]] +name = "password-hash" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "346f04948ba92c43e8469c1ee6736c7563d71012b17d40745260fe106aac2166" +dependencies = [ + "base64ct", + "rand_core 0.6.4", + "subtle", +] + [[package]] name = "paste" version = "1.0.12" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9f746c4065a8fa3fe23974dd82f15431cc8d40779821001404d10d2e79ca7d79" +[[package]] +name = "path-clean" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ecba01bf2678719532c5e3059e0b5f0811273d94b397088b82e3bd0a78c78fdd" + +[[package]] +name = "pathdiff" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8835116a5c179084a830efb3adc117ab007512b535bc1a21c991d3b32a6b44dd" + [[package]] name = "pbkdf2" version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "83a0692ec44e4cf1ef28ca317f14f8f07da2d95ec3fa01f86e4467b725e60917" dependencies = [ - "digest 0.10.7", + "digest 0.10.7", +] + +[[package]] +name = "pbkdf2" +version = "0.12.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8ed6a7761f76e3b9f92dfb0a60a6a6477c61024b775147ff0973a02653abaf2" +dependencies = [ + "digest 0.10.7", + "hmac 0.12.1", +] + +[[package]] +name = "pem" +version = "1.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a8835c273a76a90455d7344889b0964598e3316e2a79ede8e36f16bdcf2228b8" +dependencies = [ + "base64 0.13.1", +] + +[[package]] +name = "pem-rfc7468" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "24d159833a9105500e0398934e205e0773f0b27529557134ecfc51c27646adac" +dependencies = [ + "base64ct", ] [[package]] -name = "pem" -version = "1.1.1" +name = "pem-rfc7468" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8835c273a76a90455d7344889b0964598e3316e2a79ede8e36f16bdcf2228b8" +checksum = "88b39c9bfcfc231068454382784bb460aae594343fb030d46e9f50a645418412" dependencies = [ - "base64 0.13.1", + "base64ct", ] [[package]] @@ -5384,8 +6859,8 @@ checksum = "75a1ef20bf3193c15ac345acb32e26b3dc3223aff4d77ae4fc5359567683796b" dependencies = [ "pest", "pest_meta", - "proc-macro2", - "quote", + "proc-macro2 1.0.63", + "quote 1.0.30", "syn 1.0.109", ] @@ -5421,13 +6896,24 @@ dependencies = [ "serde_derive", ] +[[package]] +name = "phf" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fabbf1ead8a5bcbc20f5f8b939ee3f5b0f6f281b6ad3468b84656b658b455259" +dependencies = [ + "phf_macros", + "phf_shared 0.10.0", + "proc-macro-hack", +] + [[package]] name = "phf" version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "928c6535de93548188ef63bb7c4036bd415cd8f36ad25af44b9789b2ee72a48c" dependencies = [ - "phf_shared", + "phf_shared 0.11.1", ] [[package]] @@ -5436,8 +6922,18 @@ version = "0.11.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e8d39688d359e6b34654d328e262234662d16cc0f60ec8dcbe5e718709342a5a" dependencies = [ - "phf_generator", - "phf_shared", + "phf_generator 0.11.1", + "phf_shared 0.11.1", +] + +[[package]] +name = "phf_generator" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d5285893bb5eb82e6aaf5d59ee909a06a16737a8970984dd7746ba9283498d6" +dependencies = [ + "phf_shared 0.10.0", + "rand 0.8.5", ] [[package]] @@ -5446,10 +6942,33 @@ version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b1181c94580fa345f50f19d738aaa39c0ed30a600d95cb2d3e23f94266f14fbf" dependencies = [ - "phf_shared", + "phf_shared 0.11.1", "rand 0.8.5", ] +[[package]] +name = "phf_macros" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "58fdf3184dd560f160dd73922bea2d5cd6e8f064bf4b13110abd81b03697b4e0" +dependencies = [ + "phf_generator 0.10.0", + "phf_shared 0.10.0", + "proc-macro-hack", + "proc-macro2 1.0.63", + "quote 1.0.30", + "syn 1.0.109", +] + +[[package]] +name = "phf_shared" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6796ad771acdc0123d2a88dc428b5e38ef24456743ddb1744ed628f9815c096" +dependencies = [ + "siphasher", +] + [[package]] name = "phf_shared" version = "0.11.1" @@ -5474,9 +6993,9 @@ version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec2e072ecce94ec471b13398d5402c188e76ac03cf74dd1a975161b23a3f6d9c" dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.27", + "proc-macro2 1.0.63", + "quote 1.0.30", + "syn 2.0.28", ] [[package]] @@ -5491,12 +7010,50 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" +[[package]] +name = "pkcs1" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eff33bdbdfc54cc98a2eca766ebdec3e1b8fb7387523d5c9c9a2891da856f719" +dependencies = [ + "der 0.6.1", + "pkcs8 0.9.0", + "spki 0.6.0", + "zeroize", +] + +[[package]] +name = "pkcs8" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9eca2c590a5f85da82668fa685c09ce2888b9430e83299debf1f34b65fd4a4ba" +dependencies = [ + "der 0.6.1", + "spki 0.6.0", +] + +[[package]] +name = "pkcs8" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f950b2377845cebe5cf8b5165cb3cc1a5e0fa5cfa3e1f7f55707d8fd82e0a7b7" +dependencies = [ + "der 0.7.8", + "spki 0.7.2", +] + [[package]] name = "pkg-config" version = "0.3.26" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6ac9a59f73473f1b8d852421e59e64809f025994837ef743615c6d0c5b305160" +[[package]] +name = "platforms" +version = "3.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3d7ddaed09e0eb771a79ab0fd64609ba0afb0a8366421957936ad14cbd13630" + [[package]] name = "plotters" version = "0.3.4" @@ -5525,15 +7082,38 @@ dependencies = [ "plotters-backend", ] +[[package]] +name = "pmutil" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3894e5d549cccbe44afecf72922f277f603cd4bb0219c8342631ef18fffbe004" +dependencies = [ + "proc-macro2 1.0.63", + "quote 1.0.30", + "syn 1.0.109", +] + [[package]] name = "pmutil" version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "52a40bc70c2c58040d2d8b167ba9a5ff59fc9dab7ad44771cfde3dcfde7a09c6" dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.27", + "proc-macro2 1.0.63", + "quote 1.0.30", + "syn 2.0.28", +] + +[[package]] +name = "polyval" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d52cff9d1d4dee5fe6d03729099f4a310a41179e0a10dbf542039873f2e826fb" +dependencies = [ + "cfg-if", + "cpufeatures", + "opaque-debug", + "universal-hash", ] [[package]] @@ -5599,13 +7179,19 @@ version = "0.2.17" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" +[[package]] +name = "precomputed-hash" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "925383efa346730478fb4838dbe9137d2a47675ad789c546d150a6e1dd4ab31c" + [[package]] name = "prettyplease" version = "0.1.24" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4ebcd279d20a4a0a2404a33056388e950504d891c855c7975b9a8fef75f3bf04" dependencies = [ - "proc-macro2", + "proc-macro2 1.0.63", "syn 1.0.109", ] @@ -5623,6 +7209,15 @@ dependencies = [ "unicode-width", ] +[[package]] +name = "primeorder" +version = "0.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3c2fcef82c0ec6eefcc179b978446c399b3cdf73c392c35604e399eee6df1ee3" +dependencies = [ + "elliptic-curve 0.13.5", +] + [[package]] name = "primitive-types" version = "0.10.1" @@ -5655,12 +7250,45 @@ dependencies = [ "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.63", + "quote 1.0.30", + "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.63", + "quote 1.0.30", + "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 0.1.0", +] + [[package]] name = "proc-macro2" version = "1.0.63" @@ -5677,7 +7305,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "29f1b898011ce9595050a68e60f90bad083ff2987a695a42357134c8381fba70" dependencies = [ "bit-set", - "bitflags", + "bitflags 1.3.2", "byteorder", "lazy_static", "num-traits", @@ -5731,8 +7359,8 @@ checksum = "4ea9b0f8cbe5e15a8a042d030bd96668db28ecb567ec37d691971ff5731d2b1b" dependencies = [ "anyhow", "itertools 0.10.5", - "proc-macro2", - "quote", + "proc-macro2 1.0.63", + "quote 1.0.30", "syn 1.0.109", ] @@ -5766,6 +7394,15 @@ version = "2.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "33cb294fe86a74cbcf50d4445b37da762029549ebeea341421c7c70370f86cac" +[[package]] +name = "psm" +version = "0.1.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5787f7cda34e3033a72192c018bc5883100330f362ef279a8cbccfce8bb4e874" +dependencies = [ + "cc", +] + [[package]] name = "ptr_meta" version = "0.1.4" @@ -5781,8 +7418,8 @@ version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "16b845dbfca988fa33db069c0e230574d15a3088f147a87b64c7589eb662c9ac" dependencies = [ - "proc-macro2", - "quote", + "proc-macro2 1.0.63", + "quote 1.0.30", "syn 1.0.109", ] @@ -5805,7 +7442,7 @@ dependencies = [ "cfg-if", "indoc", "libc", - "memoffset", + "memoffset 0.8.0", "parking_lot", "pyo3-build-config", "pyo3-ffi", @@ -5852,9 +7489,9 @@ version = "0.18.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bd44cf207476c6a9760c4653559be4f206efafb924d3e4cbf2721475fc0d6cc5" dependencies = [ - "proc-macro2", + "proc-macro2 1.0.63", "pyo3-macros-backend", - "quote", + "quote 1.0.30", "syn 1.0.109", ] @@ -5864,8 +7501,8 @@ version = "0.18.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dc1f43d8e30460f36350d18631ccf85ded64c059829208fe680904c65bcd0a4c" dependencies = [ - "proc-macro2", - "quote", + "proc-macro2 1.0.63", + "quote 1.0.30", "syn 1.0.109", ] @@ -5913,13 +7550,22 @@ dependencies = [ "serde", ] +[[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.30" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5907a1b7c277254a8b15170f6e7c97cfa60ee7872a3217663bb81151e48184bb" dependencies = [ - "proc-macro2", + "proc-macro2 1.0.63", ] [[package]] @@ -5993,13 +7639,22 @@ version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9c33a3c44ca05fa6f1807d8e6743f3824e8509beca625669633be0acbdf509dc" +[[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", + "getrandom 0.2.8", ] [[package]] @@ -6017,7 +7672,7 @@ version = "10.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6c297679cb867470fa8c9f67dbba74a78d78e3e98d7cf2b08d6d71540f797332" dependencies = [ - "bitflags", + "bitflags 1.3.2", ] [[package]] @@ -6093,7 +7748,7 @@ version = "0.2.16" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a" dependencies = [ - "bitflags", + "bitflags 1.3.2", ] [[package]] @@ -6102,7 +7757,7 @@ version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b033d837a7cf162d7993aded9304e30a83213c648b6e389db233191f891e5c2b" dependencies = [ - "getrandom", + "getrandom 0.2.8", "redox_syscall", "thiserror", ] @@ -6163,6 +7818,7 @@ version = "0.11.18" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cde824a14b7c14f85caff81225f411faacc04a2013f41670f41443742b1c1c55" dependencies = [ + "async-compression 0.4.1", "base64 0.21.0", "bytes", "cookie", @@ -6172,8 +7828,8 @@ dependencies = [ "futures-util", "h2", "http", - "http-body", - "hyper", + "http-body 0.4.5", + "hyper 0.14.27", "hyper-rustls 0.24.1", "hyper-tls", "ipnet", @@ -6192,6 +7848,7 @@ dependencies = [ "tokio", "tokio-native-tls", "tokio-rustls 0.24.0", + "tokio-socks", "tokio-util 0.7.8", "tower-service", "url", @@ -6219,6 +7876,27 @@ version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8c31b5c4033f8fdde8700e4657be2c497e7288f01515be52168c631e2e4d4086" +[[package]] +name = "rfc6979" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7743f17af12fa0b03b803ba12cd6a8d9483a587e89c69445e3909655c0b9fabb" +dependencies = [ + "crypto-bigint 0.4.9", + "hmac 0.12.1", + "zeroize", +] + +[[package]] +name = "rfc6979" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8dd2a808d456c4a54e300a23e9f5a67e122c3024119acbfd73e3bf664491cb2" +dependencies = [ + "hmac 0.12.1", + "subtle", +] + [[package]] name = "ring" version = "0.16.20" @@ -6234,6 +7912,15 @@ dependencies = [ "winapi", ] +[[package]] +name = "ripemd" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bd124222d17ad93a644ed9d011a40f4fb64aa54275c08cc216524a9ea82fb09f" +dependencies = [ + "digest 0.10.7", +] + [[package]] name = "rkyv" version = "0.7.40" @@ -6254,8 +7941,8 @@ version = "0.7.40" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ff26ed6c7c4dfc2aa9480b86a60e3c7233543a270a680e10758a507c5a4ce476" dependencies = [ - "proc-macro2", - "quote", + "proc-macro2 1.0.63", + "quote 1.0.30", "syn 1.0.109", ] @@ -6292,6 +7979,27 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cbf4a6aa5f6d6888f39e980649f3ad6b666acdce1d78e95b8a2cb076e687ae30" +[[package]] +name = "rsa" +version = "0.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "094052d5470cbcef561cb848a7209968c9f12dfa6d668f4bca048ac5de51099c" +dependencies = [ + "byteorder", + "digest 0.10.7", + "num-bigint-dig", + "num-integer", + "num-iter", + "num-traits", + "pkcs1", + "pkcs8 0.9.0", + "rand_core 0.6.4", + "signature 1.6.4", + "smallvec", + "subtle", + "zeroize", +] + [[package]] name = "rstar" version = "0.11.0" @@ -6315,7 +8023,7 @@ dependencies = [ "crc32fast", "futures", "http", - "hyper", + "hyper 0.14.27", "hyper-rustls 0.22.1", "lazy_static", "log", @@ -6338,7 +8046,7 @@ dependencies = [ "chrono", "dirs-next", "futures", - "hyper", + "hyper 0.14.27", "serde", "serde_json", "shlex", @@ -6374,7 +8082,7 @@ dependencies = [ "hex", "hmac 0.11.0", "http", - "hyper", + "hyper 0.14.27", "log", "md-5 0.9.1", "percent-encoding", @@ -6403,11 +8111,11 @@ dependencies = [ [[package]] name = "rusqlite" -version = "0.28.0" +version = "0.29.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01e213bc3ecb39ac32e81e51ebe31fd888a940515173e3a18a35f8c6e896422a" +checksum = "549b9d036d571d42e6e85d1c1425e2ac83491075078ca9a15be021c56b1641f2" dependencies = [ - "bitflags", + "bitflags 2.4.0", "fallible-iterator", "fallible-streaming-iterator", "hashlink", @@ -6434,6 +8142,12 @@ dependencies = [ "serde_json", ] +[[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" @@ -6468,13 +8182,22 @@ dependencies = [ "semver 0.9.0", ] +[[package]] +name = "rusticata-macros" +version = "4.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "faf0c4a6ece9950b9abdb62b1cfcf2a68b3b67a10ba445b3bb85be2a293d0632" +dependencies = [ + "nom", +] + [[package]] name = "rustix" version = "0.36.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fd5c6ff11fecd55b40746d1995a02f2eb375bf8c00d192d521ee09f42bef37bc" dependencies = [ - "bitflags", + "bitflags 1.3.2", "errno 0.2.8", "io-lifetimes", "libc", @@ -6586,7 +8309,7 @@ version = "11.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5dfc8644681285d1fb67a467fb3021bfea306b99b4146b166a1fe3ada965eece" dependencies = [ - "bitflags", + "bitflags 1.3.2", "cfg-if", "clipboard-win", "dirs-next", @@ -6594,7 +8317,7 @@ dependencies = [ "libc", "log", "memchr", - "nix", + "nix 0.26.2", "radix_trie", "scopeguard", "unicode-segmentation", @@ -6609,8 +8332,8 @@ version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8218eaf5d960e3c478a1b0f129fa888dd3d8d22eb3de097e9af14c1ab4438024" dependencies = [ - "proc-macro2", - "quote", + "proc-macro2 1.0.63", + "quote 1.0.30", "syn 1.0.109", ] @@ -6620,6 +8343,15 @@ version = "1.0.13" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f91339c0467de62360649f8d3e185ca8de4224ff281f66000de5eb2a77a79041" +[[package]] +name = "salsa20" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "97a22f5af31f73a954c10289c93e8a50cc23d971e80ee446f1f6f7137a088213" +dependencies = [ + "cipher", +] + [[package]] name = "same-file" version = "1.0.6" @@ -6653,6 +8385,12 @@ dependencies = [ "serde_json", ] +[[package]] +name = "scoped-tls" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e1cf6437eb19a8f4a6cc0f7dca544973b0b78843adbfeb3683d1a94a0024a294" + [[package]] name = "scopeguard" version = "1.1.0" @@ -6665,6 +8403,18 @@ version = "1.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1792db035ce95be60c3f8853017b3999209281c24e2ba5bc8e59bf97a0c590c1" +[[package]] +name = "scrypt" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0516a385866c09368f0b5bcd1caff3366aace790fcd46e2bb032697bb172fd1f" +dependencies = [ + "password-hash", + "pbkdf2 0.12.2", + "salsa20", + "sha2 0.10.6", +] + [[package]] name = "sct" version = "0.6.1" @@ -6691,13 +8441,51 @@ version = "4.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1c107b6f4780854c8b126e228ea8869f4d7b71260f962fefb57b996b8959ba6b" +[[package]] +name = "sec1" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3be24c1842290c45df0a7bf069e0c268a747ad05a192f2fd7dcfdbc1cba40928" +dependencies = [ + "base16ct 0.1.1", + "der 0.6.1", + "generic-array 0.14.6", + "pkcs8 0.9.0", + "subtle", + "zeroize", +] + +[[package]] +name = "sec1" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "48518a2b5775ba8ca5b46596aae011caa431e6ce7e4a67ead66d92f08884220e" +dependencies = [ + "base16ct 0.2.0", + "der 0.7.8", + "generic-array 0.14.6", + "pkcs8 0.10.2", + "subtle", + "zeroize", +] + [[package]] name = "secp256k1" version = "0.21.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9c42e6f1735c5f00f51e43e28d6634141f2bcad10931b2609ddd74a86d751260" dependencies = [ - "secp256k1-sys", + "secp256k1-sys 0.4.2", +] + +[[package]] +name = "secp256k1" +version = "0.27.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "25996b82292a7a57ed3508f052cfff8640d38d32018784acd714758b43da9c8f" +dependencies = [ + "rand 0.8.5", + "secp256k1-sys 0.8.1", ] [[package]] @@ -6709,13 +8497,22 @@ dependencies = [ "cc", ] +[[package]] +name = "secp256k1-sys" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "70a129b9e9efbfb223753b9163c4ab3b13cff7fd9c7f010fbac25ab4099fa07e" +dependencies = [ + "cc", +] + [[package]] name = "security-framework" version = "2.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a332be01508d814fed64bf28f798a146d73792121129962fdf335bb3c49a4254" dependencies = [ - "bitflags", + "bitflags 1.3.2", "core-foundation", "core-foundation-sys", "libc", @@ -6793,8 +8590,8 @@ version = "1.0.154" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4fc80d722935453bcafdc2c9a73cd6fac4dc1938f0346035d84bf99fa9e33217" dependencies = [ - "proc-macro2", - "quote", + "proc-macro2 1.0.63", + "quote 1.0.30", "syn 1.0.109", ] @@ -6810,6 +8607,17 @@ dependencies = [ "serde", ] +[[package]] +name = "serde_repr" +version = "0.1.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fe39d9fbb0ebf5eb2c7cb7e2a47e4f462fad1379f1166b8ae49ad9eae89a7ca" +dependencies = [ + "proc-macro2 1.0.63", + "quote 1.0.30", + "syn 1.0.109", +] + [[package]] name = "serde_urlencoded" version = "0.7.1" @@ -6855,8 +8663,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e182d6ec6f05393cc0e5ed1bf81ad6db3a8feedf8ee515ecdd369809bcce8082" dependencies = [ "darling", - "proc-macro2", - "quote", + "proc-macro2 1.0.63", + "quote 1.0.30", "syn 1.0.109", ] @@ -6893,8 +8701,8 @@ version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "079a83df15f85d89a68d64ae1238f142f172b1fa915d0d76b26a7cba1b659a69" dependencies = [ - "proc-macro2", - "quote", + "proc-macro2 1.0.63", + "quote 1.0.30", "syn 1.0.109", ] @@ -6969,6 +8777,16 @@ dependencies = [ "opaque-debug", ] +[[package]] +name = "sha3" +version = "0.10.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "75872d278a8f37ef87fa0ddbda7802605cb18344497949862c0d4dcb291eba60" +dependencies = [ + "digest 0.10.7", + "keccak", +] + [[package]] name = "sharded-slab" version = "0.1.4" @@ -6979,18 +8797,38 @@ dependencies = [ ] [[package]] -name = "shlex" -version = "1.1.0" +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 = "43b2853a4d09f215c24cc5489c992ce46052d359b5109343cbafbf26bc62f8a3" +checksum = "74233d3b3b2f6d4b006dc19dee745e73e2a6bfb6f93607cd3b02bd5b00797d7c" +dependencies = [ + "digest 0.10.7", + "rand_core 0.6.4", +] [[package]] -name = "signal-hook-registry" -version = "1.4.1" +name = "signature" +version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d8229b473baa5980ac72ef434c4415e70c4b5e71b423043adb4ba059f89c99a1" +checksum = "5e1788eed21689f9cf370582dfc467ef36ed9c707f073528ddafa8d83e3b8500" dependencies = [ - "libc", + "digest 0.10.7", + "rand_core 0.6.4", ] [[package]] @@ -7044,6 +8882,17 @@ version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a507befe795404456341dfab10cef66ead4c041f62b8b11bbb92bffe5d0953e0" +[[package]] +name = "smartstring" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3fb72c633efbaa2dd666986505016c32c3044395ceaf881518399d2f4127ee29" +dependencies = [ + "autocfg", + "static_assertions", + "version_check", +] + [[package]] name = "snafu" version = "0.7.4" @@ -7061,8 +8910,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "475b3bbe5245c26f2d8a6f62d67c1f30eb9fffeccee721c45d162c3ebbdf81b2" dependencies = [ "heck", - "proc-macro2", - "quote", + "proc-macro2 1.0.63", + "quote 1.0.30", "syn 1.0.109", ] @@ -7099,9 +8948,9 @@ dependencies = [ [[package]] name = "sourcemap" -version = "6.3.0" +version = "6.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e8df03d85f2767c45e61b4453eb6144153c80399e4fdd6407a6d16cb87cc0347" +checksum = "e4cbf65ca7dc576cf50e21f8d0712d96d4fcfd797389744b7b222a85cdf5bd90" dependencies = [ "data-encoding", "debugid", @@ -7128,6 +8977,26 @@ dependencies = [ "lock_api", ] +[[package]] +name = "spki" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67cf02bbac7a337dc36e4f5a693db6c21e7863f45070f7064577eb4367a3212b" +dependencies = [ + "base64ct", + "der 0.6.1", +] + +[[package]] +name = "spki" +version = "0.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9d1e996ef02c474957d681f1b05213dfb0abab947b446a62d37770b23500184a" +dependencies = [ + "base64ct", + "der 0.7.8", +] + [[package]] name = "sqllogictest" version = "0.11.2" @@ -7176,8 +9045,8 @@ version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "55fe75cb4a364c7f7ae06c7dbbc8d84bddd85d6cdf9975963c3935bc1991761e" dependencies = [ - "proc-macro2", - "quote", + "proc-macro2 1.0.63", + "quote 1.0.30", "syn 1.0.109", ] @@ -7187,6 +9056,19 @@ version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" +[[package]] +name = "stacker" +version = "0.1.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c886bd4480155fd3ef527d45e9ac8dd7118a898a46530b7b94c3e21866259fce" +dependencies = [ + "cc", + "cfg-if", + "libc", + "psm", + "winapi", +] + [[package]] name = "static_assertions" version = "1.1.0" @@ -7194,73 +9076,464 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" [[package]] -name = "str-buf" -version = "1.0.6" +name = "str-buf" +version = "1.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9e08d8363704e6c71fc928674353e6b7c23dcea9d82d7012c8faf2a3a025f8d0" + +[[package]] +name = "string_cache" +version = "0.8.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f91138e76242f575eb1d3b38b4f1362f10d3a43f47d182a5b359af488a02293b" +dependencies = [ + "new_debug_unreachable", + "once_cell", + "parking_lot", + "phf_shared 0.10.0", + "precomputed-hash", + "serde", +] + +[[package]] +name = "string_cache_codegen" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6bb30289b722be4ff74a408c3cc27edeaad656e06cb1fe8fa9231fa59c728988" +dependencies = [ + "phf_generator 0.10.0", + "phf_shared 0.10.0", + "proc-macro2 1.0.63", + "quote 1.0.30", +] + +[[package]] +name = "string_enum" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0090512bdfee4b56d82480d66c0fd8a6f53f0fe0f97e075e949b252acdd482e0" +dependencies = [ + "pmutil 0.5.3", + "proc-macro2 1.0.63", + "quote 1.0.30", + "swc_macros_common", + "syn 1.0.109", +] + +[[package]] +name = "stringprep" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8ee348cb74b87454fff4b551cbf727025810a004f88aeacae7f85b87f4e9a1c1" +dependencies = [ + "unicode-bidi", + "unicode-normalization", +] + +[[package]] +name = "strsim" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" + +[[package]] +name = "strum" +version = "0.24.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "063e6045c0e62079840579a7e47a355ae92f60eb74daaf156fb1e84ba164e63f" + +[[package]] +name = "strum" +version = "0.25.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "290d54ea6f91c969195bdbcd7442c8c2a2ba87da8bf60a7ee86a235d4bc1e125" +dependencies = [ + "strum_macros 0.25.1", +] + +[[package]] +name = "strum_macros" +version = "0.24.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e385be0d24f186b4ce2f9982191e7101bb737312ad61c1f2f984f34bcf85d59" +dependencies = [ + "heck", + "proc-macro2 1.0.63", + "quote 1.0.30", + "rustversion", + "syn 1.0.109", +] + +[[package]] +name = "strum_macros" +version = "0.25.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6069ca09d878a33f883cc06aaa9718ede171841d3832450354410b718b097232" +dependencies = [ + "heck", + "proc-macro2 1.0.63", + "quote 1.0.30", + "rustversion", + "syn 2.0.28", +] + +[[package]] +name = "subtle" +version = "2.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6bdef32e8150c2a081110b42772ffe7d7c9032b606bc226c8260fd97e0976601" + +[[package]] +name = "swc_atoms" +version = "0.5.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93d0307dc4bfd107d49c7528350c372758cfca94fb503629b9a056e6a1572860" +dependencies = [ + "once_cell", + "rustc-hash", + "serde", + "string_cache", + "string_cache_codegen", + "triomphe", +] + +[[package]] +name = "swc_common" +version = "0.31.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "19c774005489d2907fb67909cf42af926e72edee1366512777c605ba2ef19c94" +dependencies = [ + "ahash 0.7.6", + "ast_node", + "better_scoped_tls", + "cfg-if", + "either", + "from_variant", + "new_debug_unreachable", + "num-bigint", + "once_cell", + "rustc-hash", + "serde", + "siphasher", + "sourcemap", + "string_cache", + "swc_atoms", + "swc_eq_ignore_macros", + "swc_visit", + "tracing", + "unicode-width", + "url", +] + +[[package]] +name = "swc_config" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "89c8fc2c12bb1634c7c32fc3c9b6b963ad8f034cc62c4ecddcf215dc4f6f959d" +dependencies = [ + "indexmap", + "serde", + "serde_json", + "swc_config_macro", +] + +[[package]] +name = "swc_config_macro" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7dadb9998d4f5fc36ef558ed5a092579441579ee8c6fcce84a5228cca9df4004" +dependencies = [ + "pmutil 0.5.3", + "proc-macro2 1.0.63", + "quote 1.0.30", + "swc_macros_common", + "syn 1.0.109", +] + +[[package]] +name = "swc_ecma_ast" +version = "0.104.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b5cf9dd351d0c285dcd36535267953a18995d4dda0cbe34ac9d1df61aa415b26" +dependencies = [ + "bitflags 2.4.0", + "is-macro", + "num-bigint", + "scoped-tls", + "serde", + "string_enum", + "swc_atoms", + "swc_common", + "unicode-id", +] + +[[package]] +name = "swc_ecma_codegen" +version = "0.139.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c66d1ea16bb9b7ea6f87f17325742ff256fcbd65b188af57c2bf415fe4afc945" +dependencies = [ + "memchr", + "num-bigint", + "once_cell", + "rustc-hash", + "serde", + "sourcemap", + "swc_atoms", + "swc_common", + "swc_ecma_ast", + "swc_ecma_codegen_macros", + "tracing", +] + +[[package]] +name = "swc_ecma_codegen_macros" +version = "0.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bf4ee0caee1018808d94ecd09490cb7affd3d504b19aa11c49238f5fc4b54901" +dependencies = [ + "pmutil 0.5.3", + "proc-macro2 1.0.63", + "quote 1.0.30", + "swc_macros_common", + "syn 1.0.109", +] + +[[package]] +name = "swc_ecma_loader" +version = "0.43.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fe45f1e5dcc1b005544ff78253b787dea5dfd5e2f712b133964cdc3545c954a4" +dependencies = [ + "ahash 0.7.6", + "anyhow", + "pathdiff", + "serde", + "swc_common", + "tracing", +] + +[[package]] +name = "swc_ecma_parser" +version = "0.134.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0a3fcfe3d83dd445cbd9321882e47b467594433d9a21c4d6c37a27f534bb89e" +dependencies = [ + "either", + "lexical", + "num-bigint", + "serde", + "smallvec", + "smartstring", + "stacker", + "swc_atoms", + "swc_common", + "swc_ecma_ast", + "tracing", + "typed-arena", +] + +[[package]] +name = "swc_ecma_transforms_base" +version = "0.127.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f9c33ec5369178f3a0580ab86cfe89ffb9c3fbd122aed379cfb71d469d9d61c1" +dependencies = [ + "better_scoped_tls", + "bitflags 2.4.0", + "indexmap", + "once_cell", + "phf 0.10.1", + "rustc-hash", + "serde", + "smallvec", + "swc_atoms", + "swc_common", + "swc_ecma_ast", + "swc_ecma_parser", + "swc_ecma_utils", + "swc_ecma_visit", + "tracing", +] + +[[package]] +name = "swc_ecma_transforms_classes" +version = "0.116.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6e3b0d5f362f0da97be1f1b06d7b0d8667ea70b4adeabff0dcaecb6259c09525" +dependencies = [ + "swc_atoms", + "swc_common", + "swc_ecma_ast", + "swc_ecma_transforms_base", + "swc_ecma_utils", + "swc_ecma_visit", +] + +[[package]] +name = "swc_ecma_transforms_macros" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "984d5ac69b681fc5438f9abf82b0fda34fe04e119bc75f8213b7e01128c7c9a2" +dependencies = [ + "pmutil 0.5.3", + "proc-macro2 1.0.63", + "quote 1.0.30", + "swc_macros_common", + "syn 1.0.109", +] + +[[package]] +name = "swc_ecma_transforms_proposal" +version = "0.161.22" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0cdce42d44ef775bc29f5ada3678a80ff72fa17a0ef705e14f63cfd0e0155e0e" +dependencies = [ + "either", + "rustc-hash", + "serde", + "smallvec", + "swc_atoms", + "swc_common", + "swc_ecma_ast", + "swc_ecma_transforms_base", + "swc_ecma_transforms_classes", + "swc_ecma_transforms_macros", + "swc_ecma_utils", + "swc_ecma_visit", +] + +[[package]] +name = "swc_ecma_transforms_react" +version = "0.173.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5fb9481ad4e2acba34c6fbb6d4ccc64efe9f1821675e883dcfa732d7220f4b1e" +dependencies = [ + "ahash 0.7.6", + "base64 0.13.1", + "dashmap", + "indexmap", + "once_cell", + "serde", + "sha-1 0.10.0", + "string_enum", + "swc_atoms", + "swc_common", + "swc_config", + "swc_ecma_ast", + "swc_ecma_parser", + "swc_ecma_transforms_base", + "swc_ecma_transforms_macros", + "swc_ecma_utils", + "swc_ecma_visit", +] + +[[package]] +name = "swc_ecma_transforms_typescript" +version = "0.177.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e08d8363704e6c71fc928674353e6b7c23dcea9d82d7012c8faf2a3a025f8d0" +checksum = "1fe2eea4f5b8a25c93cdaa29fb1ce4108893da88a11e61e04b7f5295b5468829" +dependencies = [ + "serde", + "swc_atoms", + "swc_common", + "swc_ecma_ast", + "swc_ecma_transforms_base", + "swc_ecma_transforms_react", + "swc_ecma_utils", + "swc_ecma_visit", +] [[package]] -name = "stringprep" -version = "0.1.2" +name = "swc_ecma_utils" +version = "0.117.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ee348cb74b87454fff4b551cbf727025810a004f88aeacae7f85b87f4e9a1c1" +checksum = "ad791bbfdafcebd878584021e050964c8ab68aba7eeac9d0ee4afba4c284a629" dependencies = [ - "unicode-bidi", - "unicode-normalization", + "indexmap", + "num_cpus", + "once_cell", + "rustc-hash", + "swc_atoms", + "swc_common", + "swc_ecma_ast", + "swc_ecma_visit", + "tracing", + "unicode-id", ] [[package]] -name = "strsim" -version = "0.10.0" +name = "swc_ecma_visit" +version = "0.90.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" +checksum = "6ce3ac941ae1d6c7e683aa375fc71fbf58df58b441f614d757fbb10554936ca2" +dependencies = [ + "num-bigint", + "swc_atoms", + "swc_common", + "swc_ecma_ast", + "swc_visit", + "tracing", +] [[package]] -name = "strum" -version = "0.24.1" +name = "swc_eq_ignore_macros" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "063e6045c0e62079840579a7e47a355ae92f60eb74daaf156fb1e84ba164e63f" +checksum = "0c20468634668c2bbab581947bb8c75c97158d5a6959f4ba33df20983b20b4f6" +dependencies = [ + "pmutil 0.5.3", + "proc-macro2 1.0.63", + "quote 1.0.30", + "syn 1.0.109", +] [[package]] -name = "strum" -version = "0.25.0" +name = "swc_macros_common" +version = "0.3.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "290d54ea6f91c969195bdbcd7442c8c2a2ba87da8bf60a7ee86a235d4bc1e125" +checksum = "3e582c3e3c2269238524923781df5be49e011dbe29cf7683a2215d600a562ea6" dependencies = [ - "strum_macros 0.25.1", + "pmutil 0.5.3", + "proc-macro2 1.0.63", + "quote 1.0.30", + "syn 1.0.109", ] [[package]] -name = "strum_macros" -version = "0.24.3" +name = "swc_visit" +version = "0.5.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e385be0d24f186b4ce2f9982191e7101bb737312ad61c1f2f984f34bcf85d59" +checksum = "5f412dd4fbc58f509a04e64f5c8038333142fc139e8232f01b883db0094b3b51" dependencies = [ - "heck", - "proc-macro2", - "quote", - "rustversion", - "syn 1.0.109", + "either", + "swc_visit_macros", ] [[package]] -name = "strum_macros" -version = "0.25.1" +name = "swc_visit_macros" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6069ca09d878a33f883cc06aaa9718ede171841d3832450354410b718b097232" +checksum = "4cfc226380ba54a5feed2c12f3ccd33f1ae8e959160290e5d2d9b4e918b6472a" dependencies = [ - "heck", - "proc-macro2", - "quote", - "rustversion", - "syn 2.0.27", + "Inflector", + "pmutil 0.5.3", + "proc-macro2 1.0.63", + "quote 1.0.30", + "swc_macros_common", + "syn 1.0.109", ] [[package]] -name = "subtle" -version = "2.4.1" +name = "syn" +version = "0.15.44" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6bdef32e8150c2a081110b42772ffe7d7c9032b606bc226c8260fd97e0976601" +checksum = "9ca4b3b69a77cbe1ffc9e198781b7acb0c7365a883670e8f1c1bc66fba79a5c5" +dependencies = [ + "proc-macro2 0.4.30", + "quote 0.6.13", + "unicode-xid 0.1.0", +] [[package]] name = "syn" @@ -7268,19 +9541,19 @@ version = "1.0.109" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" dependencies = [ - "proc-macro2", - "quote", + "proc-macro2 1.0.63", + "quote 1.0.30", "unicode-ident", ] [[package]] name = "syn" -version = "2.0.27" +version = "2.0.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b60f673f44a8255b9c8c657daf66a596d435f2da81a555b06dc644d080ba45e0" +checksum = "04361975b3f5e348b2189d8dc55bc942f278b2d482a6a0365de5bdd62d351567" dependencies = [ - "proc-macro2", - "quote", + "proc-macro2 1.0.63", + "quote 1.0.30", "unicode-ident", ] @@ -7290,8 +9563,8 @@ version = "0.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fea305d57546cc8cd04feb14b62ec84bf17f50e3f7b12560d7bfa9265f39d9ed" dependencies = [ - "proc-macro2", - "quote", + "proc-macro2 1.0.63", + "quote 1.0.30", "syn 1.0.109", ] @@ -7301,6 +9574,18 @@ version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2047c6ded9c721764247e62cd3b03c09ffc529b2ba5b10ec482ae507a4a70160" +[[package]] +name = "synstructure" +version = "0.12.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f36bdaa60a83aca3921b5259d5400cbf5e90fc51931376a9bd4a0eb79aa7210f" +dependencies = [ + "proc-macro2 1.0.63", + "quote 1.0.30", + "syn 1.0.109", + "unicode-xid 0.2.4", +] + [[package]] name = "take_mut" version = "0.2.2" @@ -7362,6 +9647,15 @@ dependencies = [ "winapi-util", ] +[[package]] +name = "text_lines" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7fd5828de7deaa782e1dd713006ae96b3bee32d3279b79eb67ecf8072c059bcf" +dependencies = [ + "serde", +] + [[package]] name = "textwrap" version = "0.16.0" @@ -7370,22 +9664,22 @@ checksum = "222a222a5bfe1bba4a77b45ec488a741b3cb8872e5e499451fd7d0129c9c7c3d" [[package]] name = "thiserror" -version = "1.0.44" +version = "1.0.45" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "611040a08a0439f8248d1990b111c95baa9c704c805fa1f62104b39655fd7f90" +checksum = "dedd246497092a89beedfe2c9f176d44c1b672ea6090edc20544ade01fbb7ea0" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.44" +version = "1.0.45" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "090198534930841fab3a5d1bb637cde49e339654e606195f8d9c76eeb081dc96" +checksum = "7d7b1fadccbbc7e19ea64708629f9d8dccd007c260d66485f20a6d41bc1cf4b3" dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.27", + "proc-macro2 1.0.63", + "quote 1.0.30", + "syn 2.0.28", ] [[package]] @@ -7538,9 +9832,21 @@ version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "630bdcf245f78637c13ec01ffae6187cca34625e8c63150d424b59e55af2675e" dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.27", + "proc-macro2 1.0.63", + "quote 1.0.30", + "syn 2.0.28", +] + +[[package]] +name = "tokio-metrics" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b60ac6224d622f71d0b80546558eedf8ff6c2d3817517a9d3ed87ce24fccf6a6" +dependencies = [ + "futures-util", + "pin-project-lite", + "tokio", + "tokio-stream", ] [[package]] @@ -7568,7 +9874,7 @@ dependencies = [ "log", "parking_lot", "percent-encoding", - "phf", + "phf 0.11.1", "pin-project-lite", "postgres-protocol", "postgres-types", @@ -7623,6 +9929,18 @@ dependencies = [ "tokio", ] +[[package]] +name = "tokio-socks" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "51165dfa029d2a65969413a6cc96f354b86b464498702f174a4efa13608fd8c0" +dependencies = [ + "either", + "futures-util", + "thiserror", + "tokio", +] + [[package]] name = "tokio-stream" version = "0.1.14" @@ -7705,8 +10023,8 @@ dependencies = [ "futures-util", "h2", "http", - "http-body", - "hyper", + "http-body 0.4.5", + "hyper 0.14.27", "hyper-timeout", "percent-encoding", "pin-project", @@ -7732,9 +10050,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5bf5e9b9c0f7e0a7c027dcfaba7b2c60816c7049171f679d99ee2ff65d0de8c4" dependencies = [ "prettyplease", - "proc-macro2", + "proc-macro2 1.0.63", "prost-build", - "quote", + "quote 1.0.30", "syn 1.0.109", ] @@ -7762,8 +10080,8 @@ dependencies = [ "bytes", "futures-core", "http", - "http-body", - "hyper", + "http-body 0.4.5", + "hyper 0.14.27", "pin-project", "tonic", "tower-service", @@ -7798,12 +10116,12 @@ checksum = "f873044bf02dd1e8239e9c1293ea39dad76dc594ec16185d0a1bf31d8dc8d858" dependencies = [ "async-compression 0.3.15", "base64 0.13.1", - "bitflags", + "bitflags 1.3.2", "bytes", "futures-core", "futures-util", "http", - "http-body", + "http-body 0.4.5", "http-range-header", "httpdate", "iri-string", @@ -7863,8 +10181,8 @@ version = "0.1.23" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4017f8f45139870ca7e672686113917c71c7a6e02d4924eda67186083c03081a" dependencies = [ - "proc-macro2", - "quote", + "proc-macro2 1.0.63", + "quote 1.0.30", "syn 1.0.109", ] @@ -7931,6 +10249,16 @@ dependencies = [ "tracing-log", ] +[[package]] +name = "triomphe" +version = "0.1.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0eee8098afad3fb0c54a9007aab6804558410503ad676d4633f9c2559a00ac0f" +dependencies = [ + "serde", + "stable_deref_trait", +] + [[package]] name = "trust-dns-proto" version = "0.21.2" @@ -7940,7 +10268,7 @@ dependencies = [ "async-trait", "cfg-if", "data-encoding", - "enum-as-inner", + "enum-as-inner 0.4.0", "futures-channel", "futures-io", "futures-util", @@ -7956,6 +10284,32 @@ dependencies = [ "url", ] +[[package]] +name = "trust-dns-proto" +version = "0.22.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4f7f83d1e4a0e4358ac54c5c3681e5d7da5efc5a7a632c90bb6d6669ddd9bc26" +dependencies = [ + "async-trait", + "cfg-if", + "data-encoding", + "enum-as-inner 0.5.1", + "futures-channel", + "futures-io", + "futures-util", + "idna 0.2.3", + "ipnet", + "lazy_static", + "rand 0.8.5", + "serde", + "smallvec", + "thiserror", + "tinyvec", + "tokio", + "tracing", + "url", +] + [[package]] name = "trust-dns-resolver" version = "0.21.2" @@ -7973,7 +10327,28 @@ dependencies = [ "smallvec", "thiserror", "tokio", - "trust-dns-proto", + "trust-dns-proto 0.21.2", +] + +[[package]] +name = "trust-dns-resolver" +version = "0.22.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aff21aa4dcefb0a1afbfac26deb0adc93888c7d295fb63ab273ef276ba2b7cfe" +dependencies = [ + "cfg-if", + "futures-util", + "ipconfig", + "lazy_static", + "lru-cache", + "parking_lot", + "resolv-conf", + "serde", + "smallvec", + "thiserror", + "tokio", + "tracing", + "trust-dns-proto 0.22.0", ] [[package]] @@ -7992,14 +10367,20 @@ dependencies = [ "static_assertions", ] +[[package]] +name = "typed-arena" +version = "2.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6af6ae20167a9ece4bcb41af5b80f8a1f1df981f6391189ce00fd257af04126a" + [[package]] name = "typed-builder" version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "89851716b67b937e393b3daa8423e67ddfc4bbbf1654bcf05488e95e0828db0c" dependencies = [ - "proc-macro2", - "quote", + "proc-macro2 1.0.63", + "quote 1.0.30", "syn 1.0.109", ] @@ -8033,6 +10414,47 @@ version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "eaea85b334db583fe3274d12b4cd1880032beab409c0d774be044d4480ab9a94" +[[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-ucd-ident" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e230a37c0381caa9219d67cf063aa3a375ffed5bf541a452db16e744bdab6987" +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 = "unicase" version = "2.6.0" @@ -8081,12 +10503,34 @@ 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 = "unicode-xid" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f962df74c8c05a667b5ee8bcf162993134c104e96440b663c8daa176dc772d8c" + [[package]] name = "unindent" version = "0.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e1766d682d402817b5ac4490b3c3002d91dfa0d22812f341609f97b08757359c" +[[package]] +name = "universal-hash" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc1de2c688dc15305988b563c3854064043356019f97a4b46276fe734c4f07ea" +dependencies = [ + "crypto-common", + "subtle", +] + [[package]] name = "unsafe-libyaml" version = "0.2.7" @@ -8117,6 +10561,25 @@ version = "2.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e8db7427f936968176eaa7cdf81b7f98b980b18495ec28f1b5791ac3bfe3eea9" +[[package]] +name = "urlpattern" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f9bd5ff03aea02fa45b13a7980151fe45009af1980ba69f651ec367121a31609" +dependencies = [ + "derive_more", + "regex", + "serde", + "unic-ucd-ident", + "url", +] + +[[package]] +name = "utf-8" +version = "0.7.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9" + [[package]] name = "utf8parse" version = "0.2.1" @@ -8130,7 +10593,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5b55a3fef2a1e3b3a00ce878640918820d3c51081576ac657d23af9fc7928fdb" dependencies = [ "atomic", - "getrandom", + "getrandom 0.2.8", "rand 0.8.5", "serde", ] @@ -8141,7 +10604,7 @@ version = "0.74.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2eedac634b8dd39b889c5b62349cbc55913780226239166435c5cf66771792ea" dependencies = [ - "bitflags", + "bitflags 1.3.2", "fslock", "once_cell", "which", @@ -8171,6 +10634,27 @@ version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5c3082ca00d5a5ef149bb8b555a72ae84c9c59f7250f013ac822ac2e49b19c64" +[[package]] +name = "vte" +version = "0.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f5022b5fbf9407086c180e9557be968742d839e68346af7792b8592489732197" +dependencies = [ + "arrayvec", + "utf8parse", + "vte_generate_state_changes", +] + +[[package]] +name = "vte_generate_state_changes" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d257817081c7dffcdbab24b9e62d2def62e2ff7d00b1c20062551e6cccc145ff" +dependencies = [ + "proc-macro2 1.0.63", + "quote 1.0.30", +] + [[package]] name = "wait-timeout" version = "0.2.0" @@ -8201,6 +10685,12 @@ dependencies = [ "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" @@ -8232,8 +10722,8 @@ dependencies = [ "bumpalo", "log", "once_cell", - "proc-macro2", - "quote", + "proc-macro2 1.0.63", + "quote 1.0.30", "syn 1.0.109", "wasm-bindgen-shared", ] @@ -8256,7 +10746,7 @@ version = "0.2.84" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4c21f77c0bedc37fd5dc21f897894a5ca01e7bb159884559461862ae90c0b4c5" dependencies = [ - "quote", + "quote 1.0.30", "wasm-bindgen-macro-support", ] @@ -8266,8 +10756,8 @@ version = "0.2.84" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2aff81306fcac3c7515ad4e177f521b5c9a15f2b08f4e32d823066102f35a5f6" dependencies = [ - "proc-macro2", - "quote", + "proc-macro2 1.0.63", + "quote 1.0.30", "syn 1.0.109", "wasm-bindgen-backend", "wasm-bindgen-shared", @@ -8326,7 +10816,7 @@ dependencies = [ "pin-project", "reqwest", "rlp", - "secp256k1", + "secp256k1 0.21.3", "serde", "serde_json", "soketto", @@ -8609,6 +11099,15 @@ dependencies = [ "winapi", ] +[[package]] +name = "winres" +version = "0.1.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b68db261ef59e9e52806f688020631e987592bd83619edccda9c47d42cde4f6c" +dependencies = [ + "toml", +] + [[package]] name = "wyz" version = "0.2.0" @@ -8624,6 +11123,35 @@ dependencies = [ "tap", ] +[[package]] +name = "x25519-dalek" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fb66477291e7e8d2b0ff1bcb900bf29489a9692816d79874bea351e7a8b6de96" +dependencies = [ + "curve25519-dalek 4.0.0", + "rand_core 0.6.4", + "serde", + "zeroize", +] + +[[package]] +name = "x509-parser" +version = "0.15.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7069fba5b66b9193bd2c5d3d4ff12b839118f6bcbef5328efafafb5395cf63da" +dependencies = [ + "asn1-rs", + "data-encoding", + "der-parser", + "lazy_static", + "nom", + "oid-registry", + "rusticata-macros", + "thiserror", + "time 0.3.20", +] + [[package]] name = "xml-rs" version = "0.8.14" @@ -8661,8 +11189,8 @@ version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6505e6815af7de1746a08f69c69606bb45695a17149517680f3b2149713b19a3" dependencies = [ - "proc-macro2", - "quote", + "proc-macro2 1.0.63", + "quote 1.0.30", "syn 1.0.109", ] @@ -8671,6 +11199,20 @@ name = "zeroize" version = "1.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2a0956f1ba7c7909bfb66c2e9e4124ab6f6482560f6628b5aaeba39207c9aad9" +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.63", + "quote 1.0.30", + "syn 2.0.28", +] [[package]] name = "zip" diff --git a/dozer-ingestion/Cargo.toml b/dozer-ingestion/Cargo.toml index 500c43432b..94ebbb8902 100644 --- a/dozer-ingestion/Cargo.toml +++ b/dozer-ingestion/Cargo.toml @@ -37,6 +37,9 @@ mongodb = { version = "2.6.0", optional = true } # Javascript connector deno_core = "0.197.0" +deno_runtime = "0.121.0" +deno_ast = "0.27.3" + base64 = "0.21.0" include_dir = { version = "0.7.3", optional = true } diff --git a/dozer-ingestion/src/connectors/javascript/connector.rs b/dozer-ingestion/src/connectors/javascript/connector.rs index ef75c876d2..7d9741f9af 100644 --- a/dozer-ingestion/src/connectors/javascript/connector.rs +++ b/dozer-ingestion/src/connectors/javascript/connector.rs @@ -1,32 +1,24 @@ -use deno_core::{v8, JsRuntime}; use dozer_types::{ - serde::Serialize, + ingestion_types::JavascriptConfig, types::{FieldDefinition, Schema}, }; use tonic::async_trait; use crate::{ connectors::{ - CdcType, Connector, ListOrFilterColumns, SourceSchema, SourceSchemaResult, TableIdentifier, - TableInfo, + CdcType, Connector, SourceSchema, SourceSchemaResult, TableIdentifier, TableInfo, }, - errors::ConnectorError, + errors::{ConnectorError, JavascriptError}, ingestion::Ingestor, }; -#[derive(Clone, Debug)] -pub struct JavascriptConfig { - pub contents: String, -} +use super::js_extension::JsExtension; #[derive(Debug)] pub struct JavascriptConnector { - name: String, config: JavascriptConfig, } -impl JavascriptConnector {} - #[async_trait] impl Connector for JavascriptConnector { // We will return one field, named "value", of type Json to @@ -48,7 +40,7 @@ impl Connector for JavascriptConnector { async fn list_tables(&self) -> Result, ConnectorError> { Ok(vec![TableIdentifier { schema: None, - name: "json_reconds".to_string(), + name: "json_records".to_string(), }]) } @@ -62,7 +54,7 @@ impl Connector for JavascriptConnector { ) -> Result, ConnectorError> { Ok(vec![TableInfo { schema: None, - name: "json_reconds".to_string(), + name: "json_records".to_string(), column_names: vec!["value".to_string()], }]) } @@ -88,30 +80,28 @@ impl Connector for JavascriptConnector { async fn start( &self, ingestor: &Ingestor, - tables: Vec, + _tables: Vec, ) -> Result<(), ConnectorError> { - todo!() + let js_path = self.config.bootstrap_path.clone(); + let ingestor = ingestor.clone(); + let res = std::thread::spawn(move || -> Result<(), ConnectorError> { + let rt = tokio::runtime::Runtime::new().unwrap(); + rt.block_on(async move { + let ext = JsExtension::new(ingestor, js_path); + ext.run().await + }) + }); + match res.join() { + Ok(res) => res, + Err(e) => Err(ConnectorError::JavascriptError( + JavascriptError::ErrorString(format!("{:?}", e)), + )), + } } } impl JavascriptConnector { - pub fn new(name: String, config: JavascriptConfig) -> Self { - Self { name, config } - } - - async fn run_js(js_code: &str) -> Result<(), ConnectorError> { - let mut isolate = JsRuntime::new(Default::default()); - - let mut js_runtime = deno_core::JsRuntime::new(deno_core::RuntimeOptions { - module_loader: Some(Rc::new(deno_core::FsModuleLoader)), - ..Default::default() - }); - - isolate - .execute_script("js_connector", deno_core::FastString::Static(js_code)) - .unwrap(); - - isolate.poll_value(global, cx); - Ok(()) + pub fn new(config: JavascriptConfig) -> Self { + Self { config } } } diff --git a/dozer-ingestion/src/connectors/javascript/js_extension/ingest.js b/dozer-ingestion/src/connectors/javascript/js_extension/ingest.js new file mode 100644 index 0000000000..3831c30b79 --- /dev/null +++ b/dozer-ingestion/src/connectors/javascript/js_extension/ingest.js @@ -0,0 +1,24 @@ + + +(async () => { + let url = 'https://api.github.com/repos/getdozer/dozer/commits'; + let response = await fetch(url); + + let commits = await response.json(); + + let snapshop_msg = { typ: "SnapshottingDone", seq_no: 0, old_val: null, new_val: null }; + Deno[Deno.internal].core.ops.ingest(snapshop_msg); + + commits.forEach((commit, i) => { + let msg = { + typ: "Insert", + seq_no: i + 1, + new_val: { + commit: commit.sha, + }, + old_val: null, + }; + + Deno[Deno.internal].core.ops.ingest(msg); + }); +})(); diff --git a/dozer-ingestion/src/connectors/javascript/js_extension/mod.rs b/dozer-ingestion/src/connectors/javascript/js_extension/mod.rs new file mode 100644 index 0000000000..6d8e1b972f --- /dev/null +++ b/dozer-ingestion/src/connectors/javascript/js_extension/mod.rs @@ -0,0 +1,150 @@ +mod ts_module_loader; +use crate::connectors::javascript::js_extension::ts_module_loader::TypescriptModuleLoader; +use crate::errors::ConnectorError; + +use crate::ingestion::Ingestor; +use deno_core::anyhow::Error; +use deno_core::op; +use deno_core::serde; +use deno_core::serde::{Deserialize, Serialize}; +use deno_core::Extension; +use deno_core::Op; +use deno_core::OpState; +use deno_core::*; +use deno_runtime::permissions::PermissionsContainer; +use deno_runtime::worker::MainWorker; +use deno_runtime::worker::WorkerOptions; +use dozer_types::ingestion_types::IngestionMessage; +use dozer_types::json_types::serde_json_to_json_value; +use dozer_types::types::Field; +use dozer_types::types::Operation; +use dozer_types::types::Record; +use futures::channel::mpsc; +use futures::stream::StreamExt; + +#[derive(Deserialize, Serialize, Debug)] +#[serde(crate = "self::serde")] +pub enum MsgType { + SnapshottingStarted, + SnapshottingDone, + Insert, + Delete, + Update, +} + +#[derive(Deserialize, Serialize, Debug)] +#[serde(crate = "self::serde")] +pub struct JsMessage { + typ: MsgType, + seq_no: u64, + old_val: serde_json::Value, + new_val: serde_json::Value, +} + +#[op] +fn ingest(state: &mut OpState, val: serde_json::Value) -> Result<(), Error> { + let tx = state.borrow_mut::>(); + + let val: JsMessage = serde_json::from_value(val)?; + tx.unbounded_send(val).unwrap(); + + Ok(()) +} + +pub struct JsExtension { + ingestor: Ingestor, + js_path: String, +} + +impl JsExtension { + pub fn new(ingestor: Ingestor, js_path: String) -> Self { + Self { ingestor, js_path } + } + + pub async fn run(&self) -> Result<(), ConnectorError> { + let (tx, rx) = mpsc::unbounded::(); + + let ingestor = self.ingestor.clone(); + let handle = tokio::spawn(async move { + let mut rx = rx; + while let Some(msg) = rx.next().await { + send(ingestor.clone(), msg).unwrap(); + } + }); + + let dozer_extension: Extension = Extension::builder("dozer_extension") + .ops(vec![ingest::DECL]) + .state(|state| { + state.put(tx); + }) + .build(); + + let path = std::fs::canonicalize(self.js_path.clone()).unwrap(); + let main_module = ModuleSpecifier::from_file_path(path).unwrap(); + let mut worker = MainWorker::bootstrap_from_options( + main_module.clone(), + PermissionsContainer::allow_all(), + WorkerOptions { + // module_loader: std::rc::Rc::new(FsModuleLoader), + module_loader: std::rc::Rc::new(TypescriptModuleLoader), + extensions: vec![dozer_extension], + ..Default::default() + }, + ); + worker.execute_main_module(&main_module).await.unwrap(); + let fut = worker.run_event_loop(false); + + tokio::select! { + r = fut => r.unwrap(), + r = handle => r.unwrap(), + }; + Ok(()) + } +} + +fn send(ingestor: Ingestor, msg: JsMessage) -> Result<(), ConnectorError> { + let msg = match msg.typ { + MsgType::SnapshottingStarted => IngestionMessage::new_snapshotting_started(0, msg.seq_no), + MsgType::SnapshottingDone => IngestionMessage::new_snapshotting_done(0, msg.seq_no), + MsgType::Insert | MsgType::Delete | MsgType::Update => { + let seq_no = msg.seq_no; + let op = map_operation(msg); + IngestionMessage::new_op(0, seq_no, 0, op) + } + }; + + ingestor + .handle_message(msg) + .map_err(ConnectorError::IngestorError) +} + +fn map_operation(msg: JsMessage) -> Operation { + match msg.typ { + MsgType::Insert => Operation::Insert { + new: Record { + values: vec![Field::Json(serde_json_to_json_value(msg.new_val).unwrap())], + lifetime: None, + }, + }, + MsgType::Delete => Operation::Delete { + old: Record { + values: vec![Field::Json(serde_json_to_json_value(msg.old_val).unwrap())], + lifetime: None, + }, + }, + MsgType::Update => Operation::Update { + old: Record { + values: vec![Field::Json(serde_json_to_json_value(msg.old_val).unwrap())], + lifetime: None, + }, + new: Record { + values: vec![Field::Json(serde_json_to_json_value(msg.new_val).unwrap())], + lifetime: None, + }, + }, + _ => unreachable!(), + } +} + +#[cfg(test)] +mod tests; diff --git a/dozer-ingestion/src/connectors/javascript/js_extension/tests.rs b/dozer-ingestion/src/connectors/javascript/js_extension/tests.rs new file mode 100644 index 0000000000..3450f0daef --- /dev/null +++ b/dozer-ingestion/src/connectors/javascript/js_extension/tests.rs @@ -0,0 +1,32 @@ +use crate::ingestion::{IngestionConfig, Ingestor}; +use std::{panic, path::Path}; + +use super::JsExtension; + +#[tokio::test] +async fn test_deno() { + panic::set_hook(Box::new(move |panic_info| { + println!("{}", panic_info); + std::process::exit(1); + })); + + let js_path = Path::new(env!("CARGO_MANIFEST_DIR")) + .join("./src/connectors/javascript/js_extension/ingest.js"); + + let (ingestor, iterator) = Ingestor::initialize_channel(IngestionConfig::default()); + + std::thread::spawn(move || { + let rt = tokio::runtime::Runtime::new().unwrap(); + rt.block_on(async move { + let ext = JsExtension::new(ingestor, js_path.to_str().unwrap().to_string()); + ext.run().await.unwrap(); + }); + }); + + for (i, msg) in iterator.enumerate() { + if i > 3 { + std::process::exit(0); + } + println!("i: {:?}, msg: {:?}", i, msg); + } +} diff --git a/dozer-ingestion/src/connectors/javascript/js_extension/ts_module_loader.rs b/dozer-ingestion/src/connectors/javascript/js_extension/ts_module_loader.rs new file mode 100644 index 0000000000..4168e1404f --- /dev/null +++ b/dozer-ingestion/src/connectors/javascript/js_extension/ts_module_loader.rs @@ -0,0 +1,126 @@ +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. +//! This example shows how to use swc to transpile TypeScript and JSX/TSX +//! modules. +//! +//! It will only transpile, not typecheck (like Deno's `--no-check` flag). + +use std::pin::Pin; +use std::rc::Rc; + +use deno_ast::MediaType; +use deno_ast::ParseParams; +use deno_ast::SourceTextInfo; +use deno_core::anyhow::anyhow; +use deno_core::anyhow::bail; +use deno_core::anyhow::Context; +use deno_core::anyhow::Error; +use deno_core::error::AnyError; +use deno_core::resolve_import; +use deno_core::resolve_path; +use deno_core::JsRuntime; +use deno_core::ModuleLoader; +use deno_core::ModuleSource; +use deno_core::ModuleSourceFuture; +use deno_core::ModuleSpecifier; +use deno_core::ModuleType; +use deno_core::ResolutionKind; +use deno_core::RuntimeOptions; +use futures::FutureExt; + +pub struct TypescriptModuleLoader; + +impl ModuleLoader for TypescriptModuleLoader { + fn resolve( + &self, + specifier: &str, + referrer: &str, + _kind: ResolutionKind, + ) -> Result { + Ok(resolve_import(specifier, referrer)?) + } + + fn load( + &self, + module_specifier: &ModuleSpecifier, + _maybe_referrer: Option<&ModuleSpecifier>, + _is_dyn_import: bool, + ) -> Pin> { + fn load(module_specifier: &ModuleSpecifier) -> Result { + let path = module_specifier + .to_file_path() + .map_err(|_| anyhow!("Only file:// URLs are supported."))?; + + let media_type = MediaType::from_path(&path); + let (module_type, should_transpile) = match MediaType::from_path(&path) { + MediaType::JavaScript | MediaType::Mjs | MediaType::Cjs => { + (ModuleType::JavaScript, false) + } + MediaType::Jsx => (ModuleType::JavaScript, true), + MediaType::TypeScript + | MediaType::Mts + | MediaType::Cts + | MediaType::Dts + | MediaType::Dmts + | MediaType::Dcts + | MediaType::Tsx => (ModuleType::JavaScript, true), + MediaType::Json => (ModuleType::Json, false), + _ => bail!("Unknown extension {:?}", path.extension()), + }; + + let code = std::fs::read_to_string(&path)?; + let code = if should_transpile { + let parsed = deno_ast::parse_module(ParseParams { + specifier: module_specifier.to_string(), + text_info: SourceTextInfo::from_string(code), + media_type, + capture_tokens: false, + scope_analysis: false, + maybe_syntax: None, + })?; + parsed.transpile(&Default::default())?.text + } else { + code + }; + Ok(ModuleSource::new( + module_type, + code.into(), + module_specifier, + )) + } + + futures::future::ready(load(module_specifier)).boxed_local() + } +} + +fn main() -> Result<(), Error> { + let args: Vec = std::env::args().collect(); + if args.len() < 2 { + println!("Usage: target/examples/debug/ts_module_loader "); + std::process::exit(1); + } + let main_url = &args[1]; + println!("Run {main_url}"); + + let mut js_runtime = JsRuntime::new(RuntimeOptions { + module_loader: Some(Rc::new(TypescriptModuleLoader)), + ..Default::default() + }); + + let main_module = resolve_path( + main_url, + &std::env::current_dir().context("Unable to get CWD")?, + )?; + + let future = async move { + let mod_id = js_runtime.load_main_module(&main_module, None).await?; + let result = js_runtime.mod_evaluate(mod_id); + js_runtime.run_event_loop(false).await?; + result.await? + }; + + tokio::runtime::Builder::new_current_thread() + .enable_all() + .build() + .unwrap() + .block_on(future) +} diff --git a/dozer-ingestion/src/connectors/javascript/mod.rs b/dozer-ingestion/src/connectors/javascript/mod.rs index f030bc4ef3..c07210fe84 100644 --- a/dozer-ingestion/src/connectors/javascript/mod.rs +++ b/dozer-ingestion/src/connectors/javascript/mod.rs @@ -1 +1,3 @@ -mod connector; +pub mod connector; + +mod js_extension; diff --git a/dozer-ingestion/src/connectors/javascript/test.rs b/dozer-ingestion/src/connectors/javascript/test.rs deleted file mode 100644 index 86d24b83e9..0000000000 --- a/dozer-ingestion/src/connectors/javascript/test.rs +++ /dev/null @@ -1,216 +0,0 @@ -use async_trait::async_trait; -use deno_core::js_runtime::JsRuntime; -use deno_core::serde_json::Value as JsonValue; -use deno_core::v8; -use serde::Serialize; -use std::collections::HashMap; -use std::error::Error; -use std::future::Future; - -// Supporting data structures -pub enum FieldType { - // ... (same as in your provided code) -} - -pub struct TableIdentifier { - // ... (same as in your provided code) -} - -pub struct TableInfo { - // ... (same as in your provided code) -} - -// Error type for the connector -#[derive(Debug)] -pub struct ConnectorError(String); - -impl std::fmt::Display for ConnectorError { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { - write!(f, "Connector Error: {}", self.0) - } -} - -impl std::error::Error for ConnectorError {} - -// Trait defining the Connector methods -#[async_trait] -pub trait Connector { - fn types_mapping() -> Vec<(String, Option)> - where - Self: Sized; - - async fn validate_connection(&self) -> Result<(), ConnectorError>; - - async fn list_tables(&self) -> Result, ConnectorError>; - - async fn validate_tables(&self, tables: &[TableIdentifier]) -> Result<(), ConnectorError>; - - async fn list_columns( - &self, - tables: Vec, - ) -> Result, ConnectorError>; - - async fn get_schemas( - &self, - table_infos: &[TableInfo], - ) -> Result, ConnectorError>; - - async fn start( - &self, - ingestor: &Ingestor, - tables: Vec, - ) -> Result<(), ConnectorError>; -} - -// Struct representing the JavaScriptConnector -pub struct JavascriptConnector { - // ... (add any required fields here) -} - -impl JavascriptConnector { - pub fn new() -> Self { - // ... (initialize any required fields here) - Self {} - } - - // Function to execute JavaScript code using Deno runtime - fn execute_js( - &self, - js_code: &str, - params: HashMap<&str, T>, - ) -> Result> { - let mut isolate = JsRuntime::new(Default::default()); - - isolate.execute(js_code)?; - - let global = isolate.global_context(); - let context = isolate.global_context(); - let scope = &mut v8::ContextScope::new(global); - - let js_object = v8::Object::new(scope); - for (key, value) in params { - let key_str = v8::String::new(scope, key); - let value_str = v8::String::new(scope, serde_json::to_string(&value)?); - js_object.set(scope, context, key_str.into(), value_str.into()); - } - - let script = v8::Script::compile(scope, context, js_code.into(), None)?; - let result = script.run(scope, context, js_object.into())?; - - Ok(serde_json::from_str::(&result.to_string(scope)).unwrap()) - } -} - -#[async_trait] -impl Connector for JavascriptConnector { - fn types_mapping() -> Vec<(String, Option)> { - // ... (implement types_mapping using serde_json to return the mapping) - todo!() - } - - async fn validate_connection(&self) -> Result<(), ConnectorError> { - let js_code = r#" - // Implement your JavaScript code here to validate the connection. - // The JavaScript code should use the params passed from Rust. - // Example: validateConnection(params) - "#; - - let params: HashMap<&str, i32> = HashMap::new(); // Example params, adjust as needed - - let result: JsonValue = self.execute_js(js_code, params)?; - - // ... (parse the result and handle errors if necessary) - - Ok(()) - } - - async fn list_tables(&self) -> Result, ConnectorError> { - let js_code = r#" - // Implement your JavaScript code here to list the tables. - // The JavaScript code should use the params passed from Rust. - // Example: listTables(params) - "#; - - let params: HashMap<&str, i32> = HashMap::new(); // Example params, adjust as needed - - let result: JsonValue = self.execute_js(js_code, params)?; - - // ... (parse the result and handle errors if necessary) - - Ok(Vec::new()) // Return the list of tables, adjust as needed - } - - async fn validate_tables(&self, tables: &[TableIdentifier]) -> Result<(), ConnectorError> { - let js_code = r#" - // Implement your JavaScript code here to validate the tables. - // The JavaScript code should use the params passed from Rust. - // Example: validateTables(params) - "#; - - let params: HashMap<&str, i32> = HashMap::new(); // Example params, adjust as needed - - let result: JsonValue = self.execute_js(js_code, params)?; - - // ... (parse the result and handle errors if necessary) - - Ok(()) - } - - async fn list_columns( - &self, - tables: Vec, - ) -> Result, ConnectorError> { - let js_code = r#" - // Implement your JavaScript code here to list the columns. - // The JavaScript code should use the params passed from Rust. - // Example: listColumns(params) - "#; - - let params: HashMap<&str, i32> = HashMap::new(); // Example params, adjust as needed - - let result: JsonValue = self.execute_js(js_code, params)?; - - // ... (parse the result and handle errors if necessary) - - Ok(Vec::new()) // Return the list of columns, adjust as needed - } - - async fn get_schemas( - &self, - table_infos: &[TableInfo], - ) -> Result, ConnectorError> { - let js_code = r#" - // Implement your JavaScript code here to get the schemas. - // The JavaScript code should use the params passed from Rust. - // Example: getSchemas(params) - "#; - - let params: HashMap<&str, i32> = HashMap::new(); // Example params, adjust as needed - - let result: JsonValue = self.execute_js(js_code, params)?; - - // ... (parse the result and handle errors if necessary) - - Ok(Vec::new()) // Return the list of schemas, adjust as needed - } - - async fn start( - &self, - ingestor: &Ingestor, - tables: Vec, - ) -> Result<(), ConnectorError> { - let js_code = r#" - // Implement your JavaScript code here to start data ingestion. - // The JavaScript code should use the params passed from Rust. - // Example: startIngestion(params) - "#; - - let params: HashMap<&str, i32> = HashMap::new(); // Example params, adjust as needed - - let result: JsonValue = self.execute_js(js_code, params)?; - - // ... (parse the result and handle errors if necessary) - - Ok(()) - } -} diff --git a/dozer-ingestion/src/connectors/mod.rs b/dozer-ingestion/src/connectors/mod.rs index b072656be0..a66cde2ace 100644 --- a/dozer-ingestion/src/connectors/mod.rs +++ b/dozer-ingestion/src/connectors/mod.rs @@ -39,6 +39,8 @@ use dozer_types::types::{FieldType, Schema}; pub mod delta_lake; pub mod snowflake; +pub use self::javascript::connector::JavascriptConnector; + #[cfg(feature = "ethereum")] use self::ethereum::{EthLogConnector, EthTraceConnector}; @@ -239,6 +241,8 @@ pub fn get_connector(connection: Connection) -> Result, Conne } #[cfg(not(feature = "mongodb"))] ConnectionConfig::MongoDB(_) => Err(ConnectorError::MongodbFeatureNotEnabled), + + ConnectionConfig::Javascript(config) => Ok(Box::new(JavascriptConnector::new(config))), } } diff --git a/dozer-ingestion/src/errors.rs b/dozer-ingestion/src/errors.rs index 7725b3abe9..3bf09b9fc9 100644 --- a/dozer-ingestion/src/errors.rs +++ b/dozer-ingestion/src/errors.rs @@ -118,6 +118,8 @@ pub enum ConnectorError { #[error("mongodb feature is not enabled")] MongodbFeatureNotEnabled, + #[error("JavascriptError: {0}")] + JavascriptError(#[from] JavascriptError), } impl ConnectorError { pub fn map_serialization_error(e: serde_json::Error) -> ConnectorError { @@ -509,3 +511,12 @@ pub enum ObjectStoreTableReaderError { #[error("Stream execution failed: {0}")] StreamExecutionError(DataFusionError), } + +#[derive(Error, Debug)] + +pub enum JavascriptError { + #[error("Error running js: {0}")] + RuntimeError(deno_core::anyhow::Error), + #[error("Error in js_runtime: {0}")] + ErrorString(String), +} diff --git a/dozer-sql/src/pipeline/window/tests/operator_test.rs b/dozer-sql/src/pipeline/window/tests/operator_test.rs index adb09577a3..b48b22b302 100644 --- a/dozer-sql/src/pipeline/window/tests/operator_test.rs +++ b/dozer-sql/src/pipeline/window/tests/operator_test.rs @@ -76,7 +76,7 @@ fn test_tumble() { let result = window .execute( - &&record_store, + &record_store, record.clone(), record_store.load_record(&record).unwrap(), ) diff --git a/dozer-tests/Cargo.toml b/dozer-tests/Cargo.toml index 44c57a7a60..76c988831e 100644 --- a/dozer-tests/Cargo.toml +++ b/dozer-tests/Cargo.toml @@ -25,14 +25,21 @@ dozer-utils = { path = "../dozer-utils" } dozer-cli = { path = "../dozer-cli" } dozer-tracing = { path = "../dozer-tracing" } -reqwest = { version = "0.11.14", features = ["json", "rustls-tls"], default-features = false } +reqwest = { version = "0.11.14", features = [ + "json", + "rustls-tls", +], default-features = false } tokio = { version = "1.25.0", features = ["full"] } bson = { version = "2.5.0", optional = true } mongodb = { version = "2.3.1", optional = true } futures = { version = "0.3.26", optional = true } env_logger = "0.10.0" clap = { version = "4.1.11", features = ["derive"] } -rusqlite = { version = "0.28.0", features = ["bundled", "column_decltype", "hooks"] } +rusqlite = { version = "0.29.0", features = [ + "bundled", + "column_decltype", + "hooks", +] } sqllogictest = "0.11.1" async-trait = "0.1.53" dozer-core = { path = "../dozer-core" } @@ -50,11 +57,11 @@ dozer-core = { path = "../dozer-core" } dozer-sql = { path = "../dozer-sql" } dozer-cache = { path = "../dozer-cache" } -sqlparser = {git = "https://github.com/getdozer/sqlparser-rs.git" } -rusqlite = { version = "0.28.0", features = ["bundled", "column_decltype"] } +sqlparser = { git = "https://github.com/getdozer/sqlparser-rs.git" } +rusqlite = { version = "0.29.0", features = ["bundled", "column_decltype"] } csv = "1.2" tempdir = "0.3.7" [features] mongodb = ["dep:bson", "dep:mongodb", "dep:futures"] -python=["dozer-sql/python"] +python = ["dozer-sql/python"] diff --git a/dozer-tests/src/e2e_tests/runner/running_env.rs b/dozer-tests/src/e2e_tests/runner/running_env.rs index 3f97b259bf..6c7b82f20a 100644 --- a/dozer-tests/src/e2e_tests/runner/running_env.rs +++ b/dozer-tests/src/e2e_tests/runner/running_env.rs @@ -359,6 +359,7 @@ fn write_dozer_config_for_running_in_docker_compose( let _ = url.set_port(Some(map_port(url.port().unwrap_or(27017)))); mongo.connection_string = url.to_string(); } + ConnectionConfig::Javascript(_) => {} } } diff --git a/dozer-types/src/ingestion_types.rs b/dozer-types/src/ingestion_types.rs index 4430178752..1a8143e459 100644 --- a/dozer-types/src/ingestion_types.rs +++ b/dozer-types/src/ingestion_types.rs @@ -427,3 +427,14 @@ fn default_false() -> bool { fn default_marker() -> String { String::from(".marker") } + +#[derive(Serialize, Deserialize, Eq, PartialEq, Clone, ::prost::Message, Hash)] +pub struct JavascriptConfig { + #[prost(string, tag = "1")] + #[serde(default = "default_bootstrap_path")] + pub bootstrap_path: String, +} + +fn default_bootstrap_path() -> String { + String::from("src/js/bootstrap.js") +} diff --git a/dozer-types/src/models/connection.rs b/dozer-types/src/models/connection.rs index 5abe92d6ad..2284440f7f 100644 --- a/dozer-types/src/models/connection.rs +++ b/dozer-types/src/models/connection.rs @@ -1,6 +1,6 @@ use crate::ingestion_types::{ - DeltaLakeConfig, EthConfig, GrpcConfig, KafkaConfig, LocalStorage, MongodbConfig, S3Storage, - SnowflakeConfig, + DeltaLakeConfig, EthConfig, GrpcConfig, JavascriptConfig, KafkaConfig, LocalStorage, + MongodbConfig, S3Storage, SnowflakeConfig, }; use serde::{Deserialize, Serialize}; use std::str::FromStr; @@ -194,4 +194,8 @@ pub enum ConnectionConfig { #[prost(message, tag = "9")] /// In yaml, present as tag: `!MongoDB` MongoDB(MongodbConfig), + + #[prost(message, tag = "10")] + /// In yaml, present as tag" `!Javascript` + Javascript(JavascriptConfig), }