diff --git a/Cargo.lock b/Cargo.lock index e8a2b73149..0f2154fe0f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -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", ] @@ -248,8 +248,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", ] @@ -289,13 +289,71 @@ 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 = "aead-gcm-stream" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4a09ecb526d53de2842cc876ee5c9b51161ee60399edeca4cf74892a01b48177" +dependencies = [ + "aead", + "aes", + "cipher", + "ctr", + "ghash", + "subtle", +] + +[[package]] +name = "aes" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ac1f845298e95f983ff1944b728ae08b8cebab80d684f0a832ed0fc74dfa27e2" +dependencies = [ + "cfg-if", + "cipher", + "cpufeatures", +] + +[[package]] +name = "aes-gcm" +version = "0.10.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "831010a0f742e1209b3bcea8fab6a8e149051ba6099432c8cb2cc117dec3ead1" +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", ] @@ -308,7 +366,7 @@ checksum = "2c99f64d1e06488f620f932677e24bc6e2897582980441ae90a671415bd7ec2f" dependencies = [ "cfg-if", "const-random", - "getrandom", + "getrandom 0.2.8", "once_cell", "version_check", ] @@ -414,9 +472,9 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.69" +version = "1.0.75" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "224afbd727c3d6e4b90103ece64b8d1b67fbb1973b1046c2281eed3f3803f800" +checksum = "a4668cab20f66d8d020e1fbc0ebe47217433c1b6c8f2040faf858554e394ace6" [[package]] name = "apache-avro" @@ -425,7 +483,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8cf4144857f9e4d7dd6cc4ba4c78efd2a46bad682b029bd0d91e76a021af1b2a" dependencies = [ "byteorder", - "digest 0.10.6", + "digest 0.10.7", "lazy_static", "libflate", "log", @@ -700,6 +758,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.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c09c69dffe06d222d072c878c3afe86eee2179806f20503faec97250268b4c24" +dependencies = [ + "pmutil", + "proc-macro2 1.0.63", + "quote 1.0.30", + "swc_macros_common", + "syn 2.0.29", +] + [[package]] name = "async-compression" version = "0.4.1" @@ -736,8 +846,8 @@ version = "0.3.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "16e62a023e7c117e27523144c5d2459f4397fcc3cab0085af8e2224f643a0193" dependencies = [ - "proc-macro2", - "quote", + "proc-macro2 1.0.63", + "quote 1.0.30", "syn 2.0.29", ] @@ -747,8 +857,8 @@ version = "0.1.74" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a66537f1bb974b254c98ed142ff995236e81b9d0fe4db0575f46612cb15eb0f9" dependencies = [ - "proc-macro2", - "quote", + "proc-macro2 1.0.63", + "quote 1.0.30", "syn 2.0.29", ] @@ -808,7 +918,7 @@ dependencies = [ "fastrand", "hex", "http", - "hyper", + "hyper 0.14.27", "ring", "time 0.3.20", "tokio", @@ -843,7 +953,7 @@ dependencies = [ "aws-types", "bytes", "http", - "http-body", + "http-body 0.4.5", "lazy_static", "percent-encoding", "pin-project-lite", @@ -895,7 +1005,7 @@ dependencies = [ "aws-types", "bytes", "http", - "http-body", + "http-body 0.4.5", "once_cell", "percent-encoding", "regex", @@ -998,7 +1108,7 @@ dependencies = [ "crc32fast", "hex", "http", - "http-body", + "http-body 0.4.5", "md-5 0.10.5", "pin-project-lite", "sha1", @@ -1019,8 +1129,8 @@ dependencies = [ "bytes", "fastrand", "http", - "http-body", - "hyper", + "http-body 0.4.5", + "hyper 0.14.27", "hyper-rustls 0.24.1", "lazy_static", "pin-project-lite", @@ -1053,8 +1163,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", @@ -1074,7 +1184,7 @@ dependencies = [ "aws-smithy-types", "bytes", "http", - "http-body", + "http-body 0.4.5", "pin-project-lite", "tower", "tracing", @@ -1113,7 +1223,7 @@ dependencies = [ "bytes", "fastrand", "http", - "http-body", + "http-body 0.4.5", "once_cell", "pin-project-lite", "pin-utils", @@ -1187,8 +1297,8 @@ dependencies = [ "bytes", "futures-util", "http", - "http-body", - "hyper", + "http-body 0.4.5", + "hyper 0.14.27", "itoa", "matchit", "memchr", @@ -1213,7 +1323,7 @@ dependencies = [ "bytes", "futures-util", "http", - "http-body", + "http-body 0.4.5", "mime", "rustversion", "tower-layer", @@ -1230,11 +1340,23 @@ dependencies = [ "cc", "cfg-if", "libc", - "miniz_oxide 0.7.1", + "miniz_oxide", "object", "rustc-demangle", ] +[[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" @@ -1257,12 +1379,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" @@ -1296,9 +1433,9 @@ dependencies = [ "lazy_static", "lazycell", "peeking_take_while", - "prettyplease", - "proc-macro2", - "quote", + "prettyplease 0.2.12", + "proc-macro2 1.0.63", + "quote 1.0.30", "regex", "rustc-hash", "shlex", @@ -1362,7 +1499,7 @@ version = "0.10.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "46502ad458c9a52b69d4d4d32775c788b7a1b85e8bc9d482d92250fc0e3f8efe" dependencies = [ - "digest 0.10.6", + "digest 0.10.7", ] [[package]] @@ -1376,7 +1513,7 @@ dependencies = [ "cc", "cfg-if", "constant_time_eq", - "digest 0.10.6", + "digest 0.10.7", ] [[package]] @@ -1385,8 +1522,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]] @@ -1395,7 +1532,7 @@ 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]] @@ -1404,6 +1541,15 @@ 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 = "borsh" version = "0.10.2" @@ -1423,7 +1569,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", ] @@ -1433,8 +1579,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", ] @@ -1444,8 +1590,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", ] @@ -1480,7 +1626,7 @@ dependencies = [ "base64 0.13.1", "bitvec 1.0.1", "hex", - "indexmap 1.9.2", + "indexmap 1.9.3", "js-sys", "once_cell", "rand 0.8.5", @@ -1493,9 +1639,9 @@ dependencies = [ [[package]] name = "bumpalo" -version = "3.12.0" +version = "3.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d261e256854913907f67ed06efbc3338dfe6179796deefc1ff763fc1aee5535" +checksum = "7f30e7476521f6f8af1a1c4c0b8cc94f0bee37d91763d0ca2665f299b6cd8aec" [[package]] name = "byte-slice-cast" @@ -1520,8 +1666,8 @@ version = "0.6.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a7ec4c6f261935ad534c0c22dbef2201b45918860eb1c574b972bd213a76af61" dependencies = [ - "proc-macro2", - "quote", + "proc-macro2 1.0.63", + "quote 1.0.30", "syn 1.0.109", ] @@ -1583,6 +1729,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.6" @@ -1595,6 +1747,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" @@ -1650,7 +1811,7 @@ checksum = "f1369bc6b9e9a7dfdae2055f6ec151fe9c554a9d23d357c0237cee2e25eaabb7" dependencies = [ "chrono", "chrono-tz-build", - "phf", + "phf 0.11.1", ] [[package]] @@ -1660,7 +1821,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e2f5ebdc942f57ed96d560a6d1a459bae5851102a25d5bf89dc04ae453e31ecf" dependencies = [ "parse-zoneinfo", - "phf", + "phf 0.11.1", "phf_codegen", ] @@ -1691,6 +1852,16 @@ 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 = "clang-sys" version = "1.6.1" @@ -1710,7 +1881,7 @@ checksum = "71655c45cb9845d3270c9d6df84ebe72b4dad3c2ba3f7023ad47c144e4e473a5" dependencies = [ "bitflags 1.3.2", "clap_lex 0.2.4", - "indexmap 1.9.2", + "indexmap 1.9.3", "textwrap", ] @@ -1744,8 +1915,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c9fd1a5729c4548118d7d70ff234a44868d00489a4b6597b0b020918a0e91a1a" dependencies = [ "heck", - "proc-macro2", - "quote", + "proc-macro2 1.0.63", + "quote 1.0.30", "syn 2.0.29", ] @@ -1870,6 +2041,22 @@ dependencies = [ "tracing-subscriber", ] +[[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" @@ -1886,7 +2073,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", @@ -1949,9 +2136,9 @@ checksum = "5827cebf4670468b8772dd191856768aedcb1b0278a04f989f7766351917b9dc" [[package]] name = "cpufeatures" -version = "0.2.5" +version = "0.2.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28d997bd5e24a5928dd43e46dc529867e207907fe0b239c3477d924f7f2ca320" +checksum = "a17b76ff3a4162b0b27f354a0c87015ddad39d35f9c0c36607a3bdd175dde1f1" dependencies = [ "libc", ] @@ -2060,7 +2247,7 @@ dependencies = [ "autocfg", "cfg-if", "crossbeam-utils", - "memoffset", + "memoffset 0.8.0", "scopeguard", ] @@ -2089,13 +2276,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.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "740fe28e594155f10cfc383984cbefd529d7396050557148f79cb0f621204124" +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", ] @@ -2105,7 +2317,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", ] @@ -2139,6 +2351,55 @@ 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 = "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.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e89b8c6a2e4b1f45971ad09761aafb85514a84744b67a95e32c3cc1352d1f65c" +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.29", +] + [[package]] name = "cxx" version = "1.0.92" @@ -2160,8 +2421,8 @@ dependencies = [ "cc", "codespan-reporting", "once_cell", - "proc-macro2", - "quote", + "proc-macro2 1.0.63", + "quote 1.0.30", "scratch", "syn 1.0.109", ] @@ -2178,8 +2439,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", ] @@ -2220,8 +2481,8 @@ checksum = "859d65a907b6852c9361e3185c862aae7fafd2887876799fa55f5f99dc40d610" dependencies = [ "fnv", "ident_case", - "proc-macro2", - "quote", + "proc-macro2 1.0.63", + "quote 1.0.30", "strsim", "syn 1.0.109", ] @@ -2234,8 +2495,8 @@ checksum = "177e3443818124b357d8e76f53be906d60937f0d3a90773a664fa63fa253e621" dependencies = [ "fnv", "ident_case", - "proc-macro2", - "quote", + "proc-macro2 1.0.63", + "quote 1.0.30", "strsim", "syn 2.0.29", ] @@ -2247,7 +2508,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9c972679f83bdf9c42bd905396b6c3588a843a17f0f16dfcfa3e2c5d57441835" dependencies = [ "darling_core 0.13.4", - "quote", + "quote 1.0.30", "syn 1.0.109", ] @@ -2258,7 +2519,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "836a9bbc7ad63342d6d6e7b815ccab164bc77a2d95d84bc3117a8c0d5c98e2d5" dependencies = [ "darling_core 0.20.3", - "quote", + "quote 1.0.30", "syn 2.0.29", ] @@ -2281,6 +2542,12 @@ version = "2.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "23d8666cb01533c39dde32bcbab8e227b4ed6679b2c925eba05feabea39508fb" +[[package]] +name = "data-url" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41b319d1b62ffbd002e057f36bebd1f42b9f97927c9577461d855f3513c4289f" + [[package]] name = "datafusion" version = "30.0.0" @@ -2471,6 +2738,16 @@ dependencies = [ "sqlparser 0.36.1", ] +[[package]] +name = "debugid" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bef552e6f588e446098f6ba40d89ac146c8c7b64aade83c051ee00bb5d2bc18d" +dependencies = [ + "serde", + "uuid", +] + [[package]] name = "deltalake" version = "0.15.0" @@ -2497,7 +2774,7 @@ dependencies = [ "datafusion-proto", "datafusion-sql", "dynamodb_lock", - "errno", + "errno 0.3.1", "futures", "itertools 0.11.0", "lazy_static", @@ -2526,98 +2803,755 @@ dependencies = [ ] [[package]] -name = "derivative" -version = "2.2.0" +name = "deno-proc-macro-rules" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fcc3dd5e9e9c0b295d6e1e4d811fb6f157d5ffd784b8d202fc62eac8035a770b" +checksum = "3c65c2ffdafc1564565200967edc4851c7b55422d3913466688907efd05ea26f" dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", + "deno-proc-macro-rules-macros", + "proc-macro2 1.0.63", + "syn 2.0.29", ] [[package]] -name = "derive_arbitrary" -version = "1.3.1" +name = "deno-proc-macro-rules-macros" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53e0efad4403bfc52dc201159c4b842a246a14b98c64b55dfd0f2d89729dfeb8" +checksum = "3047b312b7451e3190865713a4dd6e1f821aed614ada219766ebc3024a690435" dependencies = [ - "proc-macro2", - "quote", + "once_cell", + "proc-macro2 1.0.63", + "quote 1.0.30", "syn 2.0.29", ] [[package]] -name = "derive_more" -version = "0.99.17" +name = "deno_ast" +version = "0.29.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4fb810d30a7c1953f91334de7244731fc3f3c10d7fe163338a35b9f640960321" +checksum = "8a8adb6aeb787db71d015d8e9f63f6e004eeb09c86babb4ded00878be18619b1" dependencies = [ - "convert_case", - "proc-macro2", - "quote", - "rustc_version 0.4.0", - "syn 1.0.109", + "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 = "digest" -version = "0.9.0" +name = "deno_broadcast_channel" +version = "0.115.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3dd60d1080a57a05ab032377049e0591415d2b31afd7028356dbf3cc6dcb066" +checksum = "0925a49d5044bac69707fc188dea6600428a3f7f5d15e0d050c10edff508bba6" dependencies = [ - "generic-array", + "async-trait", + "deno_core", + "tokio", + "uuid", ] [[package]] -name = "digest" -version = "0.10.6" +name = "deno_cache" +version = "0.53.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8168378f4e5023e7218c89c891c0fd8ecdb5e5e4f18cb78f38cf245dd021e76f" +checksum = "f3e9c19ad222c8bb432a8adb67757c24b6d972fdb5f13d564fa320bb43c4af00" dependencies = [ - "block-buffer 0.10.4", - "crypto-common", - "subtle", + "async-trait", + "deno_core", + "rusqlite", + "serde", + "sha2 0.10.6", + "tokio", ] [[package]] -name = "dirs-next" -version = "2.0.0" +name = "deno_console" +version = "0.121.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b98cf8ebf19c3d1b223e151f99a4f9f0690dca41414773390fc824184ac833e1" +checksum = "b72cbce2b28d1ede2669f4ddfbb2e68e8e360c4cfe9494686bec4ffd60aeee4b" dependencies = [ - "cfg-if", - "dirs-sys-next", + "deno_core", ] [[package]] -name = "dirs-sys-next" -version = "0.1.2" +name = "deno_core" +version = "0.222.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ebda144c4fe02d1f7ea1a7d9641b6fc6b580adcfa024ae48797ecdeb6825b4d" +checksum = "b13c81b9ea8462680e7b77088a44fc36390bab3dbfa5a205a285e11b64e0919c" dependencies = [ + "anyhow", + "bytes", + "deno_ops", + "deno_unsync 0.3.0", + "futures", + "indexmap 2.0.0", "libc", - "redox_users", - "winapi", + "log", + "once_cell", + "parking_lot", + "pin-project", + "serde", + "serde_json", + "serde_v8", + "smallvec", + "sourcemap 7.0.0", + "tokio", + "url", + "v8", ] [[package]] -name = "doc-comment" -version = "0.3.3" +name = "deno_crypto" +version = "0.135.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fea41bba32d969b513997752735605054bc0dfa92b4c56bf1189f2e174be7a10" - -[[package]] -name = "dozer-api" -version = "0.1.39" +checksum = "e424549a4d7a590288a99b7da36cc0c9b4b6f252aca0acbd21f9adf096b6ac21" dependencies = [ - "Inflector", - "actix-cors", - "actix-http", - "actix-web", - "actix-web-httpauth", - "arc-swap", - "async-stream", + "aes", + "aes-gcm", + "aes-kw", + "base64 0.13.1", + "cbc", + "const-oid", + "ctr", + "curve25519-dalek 2.1.3", + "deno_core", + "deno_web", + "elliptic-curve 0.12.3", + "num-traits", + "once_cell", + "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 = "deno_fetch" +version = "0.145.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4b361ef11c46e35de395ac0348f129094086ad913c9fb377085eef36eb653ed8" +dependencies = [ + "bytes", + "data-url", + "deno_core", + "deno_tls", + "dyn-clone", + "http", + "reqwest", + "serde", + "tokio", + "tokio-util 0.7.8", +] + +[[package]] +name = "deno_ffi" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "078d16f50ac1b64831177e3aa63118de0f0079fb8b932a924a147ec057e5c55e" +dependencies = [ + "deno_core", + "dlopen", + "dynasmrt", + "libffi", + "libffi-sys", + "serde", + "serde-value", + "serde_json", + "tokio", + "winapi", +] + +[[package]] +name = "deno_fs" +version = "0.31.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59043690e9b9ae5c51001ef3716a37c8d783dc926417174a2f2da2dff243e783" +dependencies = [ + "async-trait", + "deno_core", + "deno_io", + "filetime", + "fs3", + "libc", + "log", + "nix", + "rand 0.8.5", + "serde", + "tokio", + "winapi", +] + +[[package]] +name = "deno_http" +version = "0.116.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59571ba7bea3c528784041c45e0cf2a07646de57017189eb2465f5c591842a7c" +dependencies = [ + "async-compression", + "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.4", + "memmem", + "mime", + "once_cell", + "percent-encoding", + "phf 0.10.1", + "pin-project", + "ring", + "scopeguard", + "serde", + "slab", + "smallvec", + "thiserror", + "tokio", + "tokio-util 0.7.8", +] + +[[package]] +name = "deno_io" +version = "0.31.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b3e98905198ac3370fadd03c24ec9a7abc37d60a8ef8c091bbd9d8db83798e2c" +dependencies = [ + "async-trait", + "deno_core", + "filetime", + "fs3", + "once_cell", + "tokio", + "winapi", +] + +[[package]] +name = "deno_kv" +version = "0.29.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dd4383eb6ed46ebdfa396a27d38f303b87bc1253600166157fce2a59014164ca" +dependencies = [ + "anyhow", + "async-trait", + "base64 0.13.1", + "chrono", + "deno_core", + "deno_node", + "deno_unsync 0.1.1", + "hex", + "log", + "num-bigint", + "prost 0.11.9", + "prost-build 0.11.9", + "rand 0.8.5", + "reqwest", + "rusqlite", + "serde", + "serde_json", + "termcolor", + "tokio", + "url", + "uuid", +] + +[[package]] +name = "deno_media_type" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a798670c20308e5770cc0775de821424ff9e85665b602928509c8c70430b3ee0" +dependencies = [ + "data-url", + "serde", + "url", +] + +[[package]] +name = "deno_napi" +version = "0.51.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c9e0cec067666532325b57fb1bf437e13da86760f87394d833df91988546bf80" +dependencies = [ + "deno_core", + "libloading 0.7.4", +] + +[[package]] +name = "deno_net" +version = "0.113.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d8e93ca934bac8b4058e91010330397dd5d761b98a88d48660c7ee56782b4190" +dependencies = [ + "deno_core", + "deno_tls", + "enum-as-inner 0.5.1", + "log", + "pin-project", + "serde", + "socket2 0.5.3", + "tokio", + "trust-dns-proto 0.22.0", + "trust-dns-resolver 0.22.0", +] + +[[package]] +name = "deno_node" +version = "0.58.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "496101e1082e0f6a86a1811fd6f82708bdfc05d0fc76fc540443ea980d23a568" +dependencies = [ + "aead-gcm-stream", + "aes", + "brotli", + "bytes", + "cbc", + "data-encoding", + "deno_core", + "deno_fetch", + "deno_fs", + "deno_media_type", + "deno_net", + "digest 0.10.7", + "dsa", + "ecb", + "elliptic-curve 0.13.6", + "errno 0.2.8", + "h2", + "hex", + "hkdf", + "http", + "idna 0.3.0", + "indexmap 2.0.0", + "lazy-regex", + "libc", + "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", + "signature 1.6.4", + "tokio", + "typenum", + "url", + "whoami", + "winapi", + "x25519-dalek", + "x509-parser", +] + +[[package]] +name = "deno_ops" +version = "0.98.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bf89da1a3e50ff7c89956495b53d9bcad29e1f1b3f3d2bc54cad7155f55419c4" +dependencies = [ + "deno-proc-macro-rules", + "lazy-regex", + "once_cell", + "pmutil", + "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 2.0.29", + "thiserror", +] + +[[package]] +name = "deno_runtime" +version = "0.129.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b0b3307a56a0bd387f3f69cd54406d0f5741ecbaa923db3fa9d4559f54ee1da8" +dependencies = [ + "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", + "notify 5.0.0", + "ntapi", + "once_cell", + "regex", + "ring", + "serde", + "signal-hook-registry", + "termcolor", + "tokio", + "tokio-metrics", + "uuid", + "which", + "winapi", + "winres", +] + +[[package]] +name = "deno_tls" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "127aa913635496873135691c34e54e058c0d3d8565a601c0422e5b1ab3c8447c" +dependencies = [ + "deno_core", + "once_cell", + "rustls 0.21.7", + "rustls-native-certs 0.6.3", + "rustls-pemfile", + "rustls-webpki 0.101.5", + "serde", + "webpki-roots 0.25.2", +] + +[[package]] +name = "deno_unsync" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ac0984205f25e71ddd1be603d76e70255953c12ff864707359ab195d26dfc7b3" +dependencies = [ + "tokio", +] + +[[package]] +name = "deno_unsync" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8a8f3722afd50e566ecfc783cc8a3a046bc4dd5eb45007431dfb2776aeb8993" +dependencies = [ + "tokio", +] + +[[package]] +name = "deno_url" +version = "0.121.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d1511f888bd2a7c458c31536f5a13403202b5443ed01eeab8b6eb5b5eaff29e2" +dependencies = [ + "deno_core", + "serde", + "urlpattern", +] + +[[package]] +name = "deno_web" +version = "0.152.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5176dfde7c04c999cf83afea82ed13434d56d7330733eaf31ef7953e7da081f5" +dependencies = [ + "async-trait", + "base64-simd", + "bytes", + "deno_core", + "encoding_rs", + "flate2", + "futures", + "serde", + "tokio", + "uuid", + "windows-sys 0.48.0", +] + +[[package]] +name = "deno_webidl" +version = "0.121.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d1358d0bd1ebe7286e7beb0f81848ff1478a08ead6191d6b2ad16bf9b6d712b3" +dependencies = [ + "deno_core", +] + +[[package]] +name = "deno_websocket" +version = "0.126.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0fabfc7174995cd9bfe115a3047cdcc2dca272cf15fd98885f23579638fc5567" +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.116.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "50a8fc80eb4b84971a7716827baa4f3c64f1adb0973b0a12ed5019af316666ec" +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_arbitrary" +version = "1.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "53e0efad4403bfc52dc201159c4b842a246a14b98c64b55dfd0f2d89729dfeb8" +dependencies = [ + "proc-macro2 1.0.63", + "quote 1.0.30", + "syn 2.0.29", +] + +[[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 0.14.6", +] + +[[package]] +name = "digest" +version = "0.10.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" +dependencies = [ + "block-buffer 0.10.4", + "const-oid", + "crypto-common", + "subtle", +] + +[[package]] +name = "dirs-next" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b98cf8ebf19c3d1b223e151f99a4f9f0690dca41414773390fc824184ac833e1" +dependencies = [ + "cfg-if", + "dirs-sys-next", +] + +[[package]] +name = "dirs-sys-next" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ebda144c4fe02d1f7ea1a7d9641b6fc6b580adcfa024ae48797ecdeb6825b4d" +dependencies = [ + "libc", + "redox_users", + "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.29", +] + +[[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" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fea41bba32d969b513997752735605054bc0dfa92b4c56bf1189f2e174be7a10" + +[[package]] +name = "dozer-api" +version = "0.1.39" +dependencies = [ + "Inflector", + "actix-cors", + "actix-http", + "actix-web", + "actix-web-httpauth", + "arc-swap", + "async-stream", "async-trait", "bytes", "dozer-cache", @@ -2628,13 +3562,13 @@ dependencies = [ "gethostname", "handlebars", "http", - "http-body", - "hyper", + "http-body 0.4.5", + "hyper 0.14.27", "jsonwebtoken", "metrics", "openapiv3", "pin-project", - "prost-build", + "prost-build 0.12.0", "prost-reflect", "tempdir", "tokio", @@ -2693,7 +3627,7 @@ dependencies = [ "handlebars", "include_dir", "metrics", - "notify", + "notify 6.0.1", "notify-debouncer-full", "page_size", "prometheus-parse", @@ -2740,6 +3674,7 @@ dependencies = [ "dozer-ingestion-dozer", "dozer-ingestion-ethereum", "dozer-ingestion-grpc", + "dozer-ingestion-javascript", "dozer-ingestion-kafka", "dozer-ingestion-mongodb", "dozer-ingestion-mysql", @@ -2806,6 +3741,16 @@ dependencies = [ "tower-http", ] +[[package]] +name = "dozer-ingestion-javascript" +version = "0.1.0" +dependencies = [ + "camino", + "deno_ast", + "deno_runtime", + "dozer-ingestion-connector", +] + [[package]] name = "dozer-ingestion-kafka" version = "0.1.0" @@ -3069,6 +4014,38 @@ dependencies = [ "dozer-types", ] +[[package]] +name = "dprint-swc-ext" +version = "0.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6a0a2492465344a58a37ae119de59e81fe5a2885f2711c7b5048ef0dfa14ce42" +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.14" @@ -3091,6 +4068,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 1.0.4", + "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" @@ -3101,6 +4104,41 @@ dependencies = [ "num-traits", ] +[[package]] +name = "ecb" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1a8bfa975b1aec2145850fcaa1c6fe269a16578c44705a532ae3edc92b8881c7" +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.6", + "rfc6979 0.4.0", + "signature 2.1.0", + "spki 0.7.2", +] + [[package]] name = "educe" version = "0.4.22" @@ -3108,8 +4146,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "079044df30bb07de7d846d41a184c4b00e66ebdac93ee459253474f3a47e50ae" dependencies = [ "enum-ordinalize", - "proc-macro2", - "quote", + "proc-macro2 1.0.63", + "quote 1.0.30", "syn 1.0.109", ] @@ -3119,6 +4157,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.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d97ca172ae9dc9f9b779a6e3a65d308f2af74e5b8c921299075bdb4a0370e914" +dependencies = [ + "base16ct 0.2.0", + "crypto-bigint 0.5.3", + "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" @@ -3133,9 +4214,9 @@ checksum = "34aa73646ffb006b8f5147f3dc182bd4bcb190227ce861fc4a4844bf8e3cb2c0" [[package]] name = "encoding_rs" -version = "0.8.32" +version = "0.8.33" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "071a31f4ee85403370b58aca746f01041ede6f0da2730960ad001edc2b71b394" +checksum = "7268b386296a025e474d5140678f75d6de9493ae55a5d709eeb9dd08149945e1" dependencies = [ "cfg-if", ] @@ -3153,8 +4234,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", ] @@ -3166,8 +4259,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", ] @@ -3179,8 +4272,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8f33313078bb8d4d05a2733a94ac4c2d8a0df9a2b84424ebf4f33bfc224a890e" dependencies = [ "once_cell", - "proc-macro2", - "quote", + "proc-macro2 1.0.63", + "quote 1.0.30", "syn 2.0.29", ] @@ -3203,6 +4296,17 @@ version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" +[[package]] +name = "errno" +version = "0.2.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f639046355ee4f37944e44f60642c6f3a7efa3cf6b78c78a0d989a8ce6c396a1" +dependencies = [ + "errno-dragonfly", + "libc", + "winapi", +] + [[package]] name = "errno" version = "0.3.1" @@ -3294,6 +4398,23 @@ version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6999dc1837253364c2ebb0704ba97994bd874e8f195d665c50b7548f6ea92764" +[[package]] +name = "fastwebsockets" +version = "0.4.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9e6185b6dc9dddc4db0dedd2e213047e93bcbf7a0fb092abc4c4e4f3195efdb4" +dependencies = [ + "base64 0.21.0", + "hyper 0.14.27", + "pin-project", + "rand 0.8.5", + "sha1", + "simdutf8", + "thiserror", + "tokio", + "utf-8", +] + [[package]] name = "fd-lock" version = "3.0.10" @@ -3305,6 +4426,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.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a481586acf778f1b1455424c343f71124b048ffa5f4fc3f8f6ae9dc432dcb3c7" + [[package]] name = "file-id" version = "0.1.0" @@ -3356,12 +4503,13 @@ dependencies = [ [[package]] name = "flate2" -version = "1.0.25" +version = "1.0.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8a2db397cb1c8772f31494cb8917e48cd1e64f0fa7efac59fbd741a0a8ce841" +checksum = "46303f565772937ffe1d394a4fac6f411c6013172fadde9dcdb1e147a086940e" dependencies = [ "crc32fast", - "miniz_oxide 0.6.2", + "libz-ng-sys", + "miniz_oxide", ] [[package]] @@ -3370,6 +4518,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" @@ -3400,6 +4559,18 @@ dependencies = [ "percent-encoding", ] +[[package]] +name = "from_variant" +version = "0.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "03ec5dc38ee19078d84a692b1c41181ff9f94331c76cee66ff0208c770b5e54f" +dependencies = [ + "pmutil", + "proc-macro2 1.0.63", + "swc_macros_common", + "syn 2.0.29", +] + [[package]] name = "frunk" version = "0.4.2" @@ -3424,7 +4595,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b0fa992f1656e1707946bbba340ad244f0814009ef8c0118eb7b658395f19a2e" dependencies = [ "frunk_proc_macro_helpers", - "quote", + "quote 1.0.30", "syn 2.0.29", ] @@ -3435,8 +4606,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "35b54add839292b743aeda6ebedbd8b11e93404f902c56223e51b9ec18a13d2c" dependencies = [ "frunk_core", - "proc-macro2", - "quote", + "proc-macro2 1.0.63", + "quote 1.0.30", "syn 2.0.29", ] @@ -3448,7 +4619,7 @@ checksum = "71b85a1d4a9a6b300b41c05e8e13ef2feca03e0334127f29eca9506a7fe13a93" dependencies = [ "frunk_core", "frunk_proc_macro_helpers", - "quote", + "quote 1.0.30", "syn 2.0.29", ] @@ -3458,6 +4629,17 @@ 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" @@ -3467,6 +4649,16 @@ dependencies = [ "libc", ] +[[package]] +name = "fslock" +version = "0.1.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "57eafdd0c16f57161105ae1b98a1238f97645f2f588438b2949c99a2af9616bf" +dependencies = [ + "libc", + "winapi", +] + [[package]] name = "fuchsia-cprng" version = "0.1.1" @@ -3539,8 +4731,8 @@ version = "0.3.28" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "89ca545a94061b6365f2c7355b4b32bd20df3ff95f02da9329b34ccc3bd6ee72" dependencies = [ - "proc-macro2", - "quote", + "proc-macro2 1.0.63", + "quote 1.0.30", "syn 2.0.29", ] @@ -3580,6 +4772,16 @@ 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 = "genawaiter" version = "0.99.1" @@ -3605,11 +4807,20 @@ checksum = "784f84eebc366e15251c4a8c3acee82a6a6f427949776ecb88377362a9621738" dependencies = [ "proc-macro-error 0.4.12", "proc-macro-hack", - "proc-macro2", - "quote", + "proc-macro2 1.0.63", + "quote 1.0.30", "syn 1.0.109", ] +[[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" @@ -3618,6 +4829,7 @@ checksum = "bff49e947297f3312447abdca79f45f4738097cc82b06e72054d2223f601f1b9" dependencies = [ "typenum", "version_check", + "zeroize", ] [[package]] @@ -3681,6 +4893,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" @@ -3692,6 +4915,16 @@ dependencies = [ "wasi 0.11.0+wasi-snapshot-preview1", ] +[[package]] +name = "ghash" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d930750de5717d2dd0b8c0d42c076c0e884c81a73e6cab859bbd2339c71e3e40" +dependencies = [ + "opaque-debug", + "polyval", +] + [[package]] name = "gimli" version = "0.27.3" @@ -3704,6 +4937,28 @@ 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 = "f0f9ef7462f7c099f518d754361858f86d8a07af53ba9af0fe635bbccb151a63" +dependencies = [ + "ff 0.13.0", + "rand_core 0.6.4", + "subtle", +] + [[package]] name = "h2" version = "0.3.17" @@ -3716,7 +4971,7 @@ dependencies = [ "futures-sink", "futures-util", "http", - "indexmap 1.9.2", + "indexmap 1.9.3", "slab", "tokio", "tokio-util 0.7.8", @@ -3893,6 +5148,15 @@ version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6fe2267d4ed49bc07b63801559be28c718ea06c4738b7a03c94df7386d2cde46" +[[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" @@ -3909,7 +5173,7 @@ version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e" dependencies = [ - "digest 0.10.6", + "digest 0.10.7", ] [[package]] @@ -3954,6 +5218,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" @@ -3986,24 +5260,45 @@ checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" [[package]] name = "hyper" -version = "0.14.27" +version = "0.14.27" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ffb1cfd654a8219eaef89881fdb3bb3b1cdc5fa75ded05d6933b2b382e395468" +dependencies = [ + "bytes", + "futures-channel", + "futures-core", + "futures-util", + "h2", + "http", + "http-body 0.4.5", + "httparse", + "httpdate", + "itoa", + "pin-project-lite", + "socket2 0.4.9", + "tokio", + "tower-service", + "tracing", + "want", +] + +[[package]] +name = "hyper" +version = "1.0.0-rc.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ffb1cfd654a8219eaef89881fdb3bb3b1cdc5fa75ded05d6933b2b382e395468" +checksum = "d280a71f348bcc670fc55b02b63c53a04ac0bf2daff2980795aeaf53edae10e6" dependencies = [ "bytes", "futures-channel", - "futures-core", "futures-util", "h2", "http", - "http-body", + "http-body 1.0.0-rc.2", "httparse", "httpdate", "itoa", "pin-project-lite", - "socket2 0.4.9", "tokio", - "tower-service", "tracing", "want", ] @@ -4016,7 +5311,7 @@ checksum = "5f9f7a97316d44c0af9b0301e65010573a853a9fc97046d7331d7f6bc0fd5a64" dependencies = [ "ct-logs", "futures-util", - "hyper", + "hyper 0.14.27", "log", "rustls 0.19.1", "rustls-native-certs 0.5.0", @@ -4033,7 +5328,7 @@ checksum = "8d78e1e73ec14cf7375674f74d7dde185c8206fd9dea6fb6295e8a98098aaa97" dependencies = [ "futures-util", "http", - "hyper", + "hyper 0.14.27", "log", "rustls 0.21.7", "rustls-native-certs 0.6.3", @@ -4047,7 +5342,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", @@ -4060,7 +5355,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", @@ -4127,6 +5422,12 @@ dependencies = [ "unicode-normalization", ] +[[package]] +name = "if_chain" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb56e1aa765b4b4f3aadfab769793b7087bb03a4ea4920644a6d238e2df5b9ed" + [[package]] name = "impl-codec" version = "0.5.1" @@ -4166,8 +5467,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", ] @@ -4186,15 +5487,15 @@ 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]] name = "indexmap" -version = "1.9.2" +version = "1.9.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1885e79c1fc4b10f0e172c475f458b7f7b93061064d98c3293e98c5ba0c8b399" +checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99" dependencies = [ "autocfg", "hashbrown 0.12.3", @@ -4249,6 +5550,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 = "integer-encoding" version = "3.0.4" @@ -4293,6 +5604,19 @@ dependencies = [ "serde", ] +[[package]] +name = "is-macro" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f4467ed1321b310c2625c5aa6c1b1ffc5de4d9e42668cf697a08fb033ee8265e" +dependencies = [ + "Inflector", + "pmutil", + "proc-macro2 1.0.63", + "quote 1.0.30", + "syn 2.0.29", +] + [[package]] name = "is-terminal" version = "0.4.4" @@ -4444,11 +5768,37 @@ version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d4345964bb142484797b161f473a503a434de77149dd8c7427788c6e13379388" +[[package]] +name = "lazy-regex" +version = "3.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e723bd417b2df60a0f6a2b6825f297ea04b245d4ba52b5a22cb679bdf58b05fa" +dependencies = [ + "lazy-regex-proc_macros", + "once_cell", + "regex", +] + +[[package]] +name = "lazy-regex-proc_macros" +version = "3.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0f0a1d9139f0ee2e862e08a9c5d0ba0470f2aa21cd1e1aa1b1562f83116c725f" +dependencies = [ + "proc-macro2 1.0.63", + "quote 1.0.30", + "regex", + "syn 2.0.29", +] + [[package]] 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 = "lazycell" @@ -4535,6 +5885,25 @@ version = "0.2.147" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b4668fb0ea861c1df094127ac5f1da3409a82116a4ba74fca2e58ef927159bb3" +[[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" @@ -4619,6 +5988,16 @@ dependencies = [ "threadpool", ] +[[package]] +name = "libz-ng-sys" +version = "1.1.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3dd9f43e75536a46ee0f92b758f6b63846e594e86638c61a9251338a65baea63" +dependencies = [ + "cmake", + "libc", +] + [[package]] name = "libz-sys" version = "1.1.9" @@ -4741,8 +6120,8 @@ checksum = "dc487311295e0002e452025d6b580b77bb17286de87b57138f3b5db711cded68" dependencies = [ "beef", "fnv", - "proc-macro2", - "quote", + "proc-macro2 1.0.63", + "quote 1.0.30", "regex-syntax 0.6.28", "syn 2.0.29", ] @@ -4883,7 +6262,16 @@ version = "0.10.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6365506850d44bff6e2fbcb5176cf63650e48bd45ef2fe2665ae1570e0f4b9ca" dependencies = [ - "digest 0.10.6", + "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]] @@ -4892,6 +6280,30 @@ version = "2.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f665ee40bc4a3c5590afb1e9677db74a508659dfd71e126420da8274909a0167" +[[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.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5de893c32cde5f383baa4c04c5d6dbdd735cfd4a794b0debdb2bb1b421da5ff4" +dependencies = [ + "autocfg", +] + [[package]] name = "memoffset" version = "0.8.0" @@ -4919,8 +6331,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8a4964177ddfdab1e3a2b37aec7cf320e14169abb0ed73999f558136409178d5" dependencies = [ "base64 0.21.0", - "hyper", - "indexmap 1.9.2", + "hyper 0.14.27", + "indexmap 1.9.3", "ipnet", "metrics", "metrics-util", @@ -4936,8 +6348,8 @@ version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ddece26afd34c31585c74a4db0630c376df271c285d682d1e55012197830b6df" dependencies = [ - "proc-macro2", - "quote", + "proc-macro2 1.0.63", + "quote 1.0.30", "syn 2.0.29", ] @@ -4978,15 +6390,6 @@ version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" -[[package]] -name = "miniz_oxide" -version = "0.6.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b275950c28b37e794e8c55d88aeb5e139d0ce23fdbbeda68f8d7174abdf9e8fa" -dependencies = [ - "adler", -] - [[package]] name = "miniz_oxide" version = "0.7.1" @@ -5029,7 +6432,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", @@ -5038,7 +6441,7 @@ dependencies = [ "serde", "serde_bytes", "serde_with", - "sha-1 0.10.1", + "sha-1 0.10.0", "sha2 0.10.6", "socket2 0.4.9", "stringprep", @@ -5048,8 +6451,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 0.22.6", @@ -5081,8 +6484,8 @@ dependencies = [ "num-bigint", "proc-macro-crate 1.3.1", "proc-macro-error 1.0.4", - "proc-macro2", - "quote", + "proc-macro2 1.0.63", + "quote 1.0.30", "syn 2.0.29", "termcolor", "thiserror", @@ -5225,7 +6628,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", ] @@ -5241,6 +6644,22 @@ dependencies = [ "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" @@ -5259,6 +6678,8 @@ dependencies = [ "bitflags 1.3.2", "cfg-if", "libc", + "memoffset 0.7.1", + "pin-utils", "static_assertions", ] @@ -5278,6 +6699,24 @@ 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" @@ -5304,11 +6743,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" @@ -5342,6 +6790,26 @@ dependencies = [ "autocfg", "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]] @@ -5422,8 +6890,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", ] @@ -5463,7 +6931,7 @@ dependencies = [ "chrono", "futures", "humantime", - "hyper", + "hyper 0.14.27", "itertools 0.10.5", "parking_lot", "percent-encoding", @@ -5508,6 +6976,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.18.0" @@ -5558,8 +7035,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", ] @@ -5639,7 +7116,7 @@ checksum = "8a81f725323db1b1206ca3da8bb19874bbd3f57c3bcd59471bfb04525b265b9b" dependencies = [ "futures-channel", "futures-util", - "indexmap 1.9.2", + "indexmap 1.9.3", "js-sys", "once_cell", "pin-project-lite", @@ -5734,6 +7211,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.6", + "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.6", + "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.6", + "primeorder", + "sha2 0.10.6", +] + [[package]] name = "page_size" version = "0.6.0" @@ -5765,8 +7300,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", ] @@ -5836,19 +7371,52 @@ 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.6", + "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]] @@ -5876,6 +7444,24 @@ dependencies = [ "serde", ] +[[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-rfc7468" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "88b39c9bfcfc231068454382784bb460aae594343fb030d46e9f50a645418412" +dependencies = [ + "base64ct", +] + [[package]] name = "percent-encoding" version = "2.3.0" @@ -5910,8 +7496,8 @@ checksum = "75a1ef20bf3193c15ac345acb32e26b3dc3223aff4d77ae4fc5359567683796b" dependencies = [ "pest", "pest_meta", - "proc-macro2", - "quote", + "proc-macro2 1.0.63", + "quote 1.0.30", "syn 1.0.109", ] @@ -5933,7 +7519,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4dd7d28ee937e54fe3080c91faa1c3a46c06de6252988a7f4592ba2310ef22a4" dependencies = [ "fixedbitset", - "indexmap 1.9.2", + "indexmap 1.9.3", ] [[package]] @@ -5942,18 +7528,29 @@ version = "0.6.3" source = "git+https://github.com/getdozer/petgraph?branch=feat/try_map#2422a3a21d92e7a6446f0d0f172c8aa24258846e" dependencies = [ "fixedbitset", - "indexmap 1.9.2", + "indexmap 1.9.3", "serde", "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]] @@ -5962,18 +7559,51 @@ 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]] name = "phf_generator" version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1181c94580fa345f50f19d738aaa39c0ed30a600d95cb2d3e23f94266f14fbf" +checksum = "b1181c94580fa345f50f19d738aaa39c0ed30a600d95cb2d3e23f94266f14fbf" +dependencies = [ + "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 = [ - "phf_shared", - "rand 0.8.5", + "siphasher", ] [[package]] @@ -6000,8 +7630,8 @@ version = "1.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4359fd9c9171ec6e8c62926d6faaf553a8dc3f64e1507e76da7911b4f6a04405" dependencies = [ - "proc-macro2", - "quote", + "proc-macro2 1.0.63", + "quote 1.0.30", "syn 2.0.29", ] @@ -6017,12 +7647,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.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4503fa043bf02cee09a9582e9554b4c6403b2ef55e4612e96561d294419429f8" + [[package]] name = "plotters" version = "0.3.4" @@ -6051,6 +7719,29 @@ dependencies = [ "plotters-backend", ] +[[package]] +name = "pmutil" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "52a40bc70c2c58040d2d8b167ba9a5ff59fc9dab7ad44771cfde3dcfde7a09c6" +dependencies = [ + "proc-macro2 1.0.63", + "quote 1.0.30", + "syn 2.0.29", +] + +[[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]] name = "portable-atomic" version = "0.3.19" @@ -6114,13 +7805,29 @@ 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.25" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6c8646e95016a7a6c4adea95bafa8a16baab64b583356217f2c85db4a39d9a86" +dependencies = [ + "proc-macro2 1.0.63", + "syn 1.0.109", +] + [[package]] name = "prettyplease" version = "0.2.12" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6c64d9ba0963cdcea2e1b2230fbae2bab30eb25a174be395c41e764bfb65dd62" dependencies = [ - "proc-macro2", + "proc-macro2 1.0.63", "syn 2.0.29", ] @@ -6138,6 +7845,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.6", +] + [[package]] name = "primitive-types" version = "0.10.1" @@ -6158,7 +7874,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fff39edfcaec0d64e8d0da38564fad195d2d51b680940295fcc307366e101e61" dependencies = [ "autocfg", - "indexmap 1.9.2", + "indexmap 1.9.3", ] [[package]] @@ -6187,8 +7903,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "18f33027081eba0a6d8aba6d1b1c3a3be58cbb12106341c2d5759fcd9b5277e7" dependencies = [ "proc-macro-error-attr 0.4.12", - "proc-macro2", - "quote", + "proc-macro2 1.0.63", + "quote 1.0.30", "syn 1.0.109", "version_check", ] @@ -6200,8 +7916,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c" dependencies = [ "proc-macro-error-attr 1.0.4", - "proc-macro2", - "quote", + "proc-macro2 1.0.63", + "quote 1.0.30", "syn 1.0.109", "version_check", ] @@ -6212,8 +7928,8 @@ version = "0.4.12" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8a5b4b77fdb63c1eca72173d68d24501c54ab1269409f6b672c85deb18af69de" dependencies = [ - "proc-macro2", - "quote", + "proc-macro2 1.0.63", + "quote 1.0.30", "syn 1.0.109", "syn-mid", "version_check", @@ -6225,8 +7941,8 @@ version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869" dependencies = [ - "proc-macro2", - "quote", + "proc-macro2 1.0.63", + "quote 1.0.30", "version_check", ] @@ -6236,6 +7952,15 @@ 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" @@ -6297,6 +8022,28 @@ dependencies = [ "prost-derive 0.12.0", ] +[[package]] +name = "prost-build" +version = "0.11.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "119533552c9a7ffacc21e099c24a0ac8bb19c2a2a3f363de84cd9b844feab270" +dependencies = [ + "bytes", + "heck", + "itertools 0.10.5", + "lazy_static", + "log", + "multimap 0.8.3", + "petgraph 0.6.3 (registry+https://github.com/rust-lang/crates.io-index)", + "prettyplease 0.1.25", + "prost 0.11.9", + "prost-types 0.11.9", + "regex", + "syn 1.0.109", + "tempfile", + "which", +] + [[package]] name = "prost-build" version = "0.12.0" @@ -6310,7 +8057,7 @@ dependencies = [ "multimap 0.8.3", "once_cell", "petgraph 0.6.3 (registry+https://github.com/rust-lang/crates.io-index)", - "prettyplease", + "prettyplease 0.2.12", "prost 0.12.0", "prost-types 0.12.0", "regex", @@ -6327,8 +8074,8 @@ checksum = "e5d2d8d10f3c6ded6da8b05b5fb3b8a5082514344d56c9f871412d29b4e075b4" dependencies = [ "anyhow", "itertools 0.10.5", - "proc-macro2", - "quote", + "proc-macro2 1.0.63", + "quote 1.0.30", "syn 1.0.109", ] @@ -6340,8 +8087,8 @@ checksum = "56075c27b20ae524d00f247b8a4dc333e5784f889fe63099f8e626bc8d73486c" dependencies = [ "anyhow", "itertools 0.11.0", - "proc-macro2", - "quote", + "proc-macro2 1.0.63", + "quote 1.0.30", "syn 2.0.29", ] @@ -6384,6 +8131,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" @@ -6399,8 +8155,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", ] @@ -6423,7 +8179,7 @@ dependencies = [ "cfg-if", "indoc", "libc", - "memoffset", + "memoffset 0.8.0", "parking_lot", "pyo3-build-config", "pyo3-ffi", @@ -6470,9 +8226,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", ] @@ -6482,8 +8238,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", ] @@ -6525,13 +8281,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]] @@ -6606,13 +8371,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", "serde", ] @@ -6729,7 +8503,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 0.2.16", "thiserror", ] @@ -6808,6 +8582,7 @@ version = "0.11.20" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3e9ad3fe7488d7e34558a2033d45a0c90b72d97b4f80705666fea71472e2e6a1" dependencies = [ + "async-compression", "base64 0.21.0", "bytes", "cookie", @@ -6817,8 +8592,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", @@ -6837,6 +8612,7 @@ dependencies = [ "tokio", "tokio-native-tls", "tokio-rustls 0.24.0", + "tokio-socks", "tokio-util 0.7.8", "tower-service", "url", @@ -6864,6 +8640,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" @@ -6879,6 +8676,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.42" @@ -6902,8 +8708,8 @@ version = "0.7.42" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b2e06b915b5c230a17d7a736d1e2e63ee753c256a8614ef3f5147b13a4f5541d" dependencies = [ - "proc-macro2", - "quote", + "proc-macro2 1.0.63", + "quote 1.0.30", "syn 1.0.109", ] @@ -6950,6 +8756,27 @@ dependencies = [ "librocksdb-sys", ] +[[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" @@ -6973,7 +8800,7 @@ dependencies = [ "crc32fast", "futures", "http", - "hyper", + "hyper 0.14.27", "hyper-rustls 0.22.1", "lazy_static", "log", @@ -6996,7 +8823,7 @@ dependencies = [ "chrono", "dirs-next", "futures", - "hyper", + "hyper 0.14.27", "serde", "serde_json", "shlex", @@ -7032,7 +8859,7 @@ dependencies = [ "hex", "hmac 0.11.0", "http", - "hyper", + "hyper 0.14.27", "log", "md-5 0.9.1", "percent-encoding", @@ -7137,6 +8964,15 @@ 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.16" @@ -7144,7 +8980,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6da3636faa25820d8648e0e31c5d519bbb01f72fdf57131f0f5f7da5fed36eab" dependencies = [ "bitflags 1.3.2", - "errno", + "errno 0.3.1", "io-lifetimes", "libc", "linux-raw-sys 0.1.4", @@ -7158,7 +8994,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c0c3dde1fc030af041adc40e79c0e7fbcf431dd24870053d187d7c66e4b87453" dependencies = [ "bitflags 2.4.0", - "errno", + "errno 0.3.1", "libc", "linux-raw-sys 0.4.5", "windows-sys 0.48.0", @@ -7301,8 +9137,8 @@ version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5a32af5427251d2e4be14fc151eabe18abb4a7aad5efee7044da9f096c906a43" dependencies = [ - "proc-macro2", - "quote", + "proc-macro2 1.0.63", + "quote 1.0.30", "syn 2.0.29", ] @@ -7312,6 +9148,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" @@ -7369,17 +9214,23 @@ version = "0.8.15" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e85e2a16b12bdb763244c69ab79363d71db2b4b918a2def53f80b02e0574b13c" dependencies = [ - "proc-macro2", - "quote", + "proc-macro2 1.0.63", + "quote 1.0.30", "serde_derive_internals", "syn 1.0.109", ] +[[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" +version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd" +checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" [[package]] name = "scratch" @@ -7393,6 +9244,18 @@ version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "04c565b551bafbef4157586fa379538366e4385d42082f255bfd96e4fe8519da" +[[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" @@ -7419,13 +9282,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]] @@ -7437,6 +9338,15 @@ 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" @@ -7521,8 +9431,8 @@ version = "1.0.189" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1e48d1f918009ce3145511378cf68d613e3b3d9137d67272562080d68a2b32d5" dependencies = [ - "proc-macro2", - "quote", + "proc-macro2 1.0.63", + "quote 1.0.30", "syn 2.0.29", ] @@ -7532,8 +9442,8 @@ version = "0.26.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "85bf8229e7920a9f636479437026331ce11aa132b4dde37d121944a44d6e5f3c" dependencies = [ - "proc-macro2", - "quote", + "proc-macro2 1.0.63", + "quote 1.0.30", "syn 1.0.109", ] @@ -7561,6 +9471,22 @@ dependencies = [ "serde", ] +[[package]] +name = "serde_v8" +version = "0.131.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "38cafa16d0a4288d75925351bb54d06d2e830118ad3fad393947bb11f91b18f3" +dependencies = [ + "bytes", + "derive_more", + "num-bigint", + "serde", + "serde_bytes", + "smallvec", + "thiserror", + "v8", +] + [[package]] name = "serde_with" version = "1.14.0" @@ -7578,8 +9504,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e182d6ec6f05393cc0e5ed1bf81ad6db3a8feedf8ee515ecdd369809bcce8082" dependencies = [ "darling 0.13.4", - "proc-macro2", - "quote", + "proc-macro2 1.0.63", + "quote 1.0.30", "syn 1.0.109", ] @@ -7616,8 +9542,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", ] @@ -7636,13 +9562,13 @@ dependencies = [ [[package]] name = "sha-1" -version = "0.10.1" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f5058ada175748e33390e40e872bd0fe59a19f265d0158daa551c5a88a76009c" +checksum = "028f48d513f9678cda28f6e4064755b3fbb2af6acd672f2c209b62323f7aea0f" dependencies = [ "cfg-if", "cpufeatures", - "digest 0.10.6", + "digest 0.10.7", ] [[package]] @@ -7653,7 +9579,7 @@ checksum = "f04293dc80c3993519f2d7f6f511707ee7094fe0c6d3406feb330cdb3540eba3" dependencies = [ "cfg-if", "cpufeatures", - "digest 0.10.6", + "digest 0.10.7", ] [[package]] @@ -7677,7 +9603,7 @@ checksum = "82e6b795fe2e3b1e845bafcb27aa35405c4d47cdfc92af5fc8d3002f76cebdc0" dependencies = [ "cfg-if", "cpufeatures", - "digest 0.10.6", + "digest 0.10.7", ] [[package]] @@ -7716,6 +9642,26 @@ dependencies = [ "libc", ] +[[package]] +name = "signature" +version = "1.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "74233d3b3b2f6d4b006dc19dee745e73e2a6bfb6f93607cd3b02bd5b00797d7c" +dependencies = [ + "digest 0.10.7", + "rand_core 0.6.4", +] + +[[package]] +name = "signature" +version = "2.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5e1788eed21689f9cf370582dfc467ef36ed9c707f073528ddafa8d83e3b8500" +dependencies = [ + "digest 0.10.7", + "rand_core 0.6.4", +] + [[package]] name = "simdutf8" version = "0.1.4" @@ -7767,6 +9713,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" @@ -7784,8 +9741,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", ] @@ -7816,18 +9773,50 @@ dependencies = [ ] [[package]] -name = "soketto" -version = "0.7.1" +name = "soketto" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41d1c5305e39e09653383c2c7244f2f78b3bcae37cf50c64cb4789c9f5096ec2" +dependencies = [ + "base64 0.13.1", + "bytes", + "futures", + "httparse", + "log", + "rand 0.8.5", + "sha-1 0.9.8", +] + +[[package]] +name = "sourcemap" +version = "6.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e4cbf65ca7dc576cf50e21f8d0712d96d4fcfd797389744b7b222a85cdf5bd90" +dependencies = [ + "data-encoding", + "debugid", + "if_chain", + "rustc_version 0.2.3", + "serde", + "serde_json", + "unicode-id", + "url", +] + +[[package]] +name = "sourcemap" +version = "7.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41d1c5305e39e09653383c2c7244f2f78b3bcae37cf50c64cb4789c9f5096ec2" +checksum = "dbecc42a2b6131acc3bf9a25c9fe4161dba438eb52131bba83c5d781b5b70be3" dependencies = [ - "base64 0.13.1", - "bytes", - "futures", - "httparse", - "log", - "rand 0.8.5", - "sha-1 0.9.8", + "data-encoding", + "debugid", + "if_chain", + "rustc_version 0.2.3", + "serde", + "serde_json", + "unicode-id", + "url", ] [[package]] @@ -7845,6 +9834,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.17.1" @@ -7894,8 +9903,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", ] @@ -7905,6 +9914,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" @@ -7917,6 +9939,45 @@ 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.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8fa4d4f81d7c05b9161f8de839975d3326328b8ba2831164b465524cc2f55252" +dependencies = [ + "pmutil", + "proc-macro2 1.0.63", + "quote 1.0.30", + "swc_macros_common", + "syn 2.0.29", +] + [[package]] name = "stringprep" version = "0.1.2" @@ -7943,62 +10004,411 @@ checksum = "063e6045c0e62079840579a7e47a355ae92f60eb74daaf156fb1e84ba164e63f" name = "strum" version = "0.25.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "290d54ea6f91c969195bdbcd7442c8c2a2ba87da8bf60a7ee86a235d4bc1e125" +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.29", +] + +[[package]] +name = "subprocess" +version = "0.2.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c2e86926081dda636c546d8c5e641661049d7562a68f5488be4a1f7f66f6086" +dependencies = [ + "libc", + "winapi", +] + +[[package]] +name = "subst" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ca1318e5d6716d6541696727c88d9b8dfc8cfe6afd6908e186546fd4af7f5b98" +dependencies = [ + "memchr", + "unicode-width", +] + +[[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.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9f54563d7dcba626d4acfe14ed12def7ecc28e004debe3ecd2c3ee07cc47e449" +dependencies = [ + "once_cell", + "rustc-hash", + "serde", + "string_cache", + "string_cache_codegen", + "triomphe", +] + +[[package]] +name = "swc_common" +version = "0.32.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "39cb7fcd56655c8ae7dcf2344f0be6cbff4d9c7cb401fe3ec8e56e1de8dfe582" +dependencies = [ + "ast_node", + "better_scoped_tls", + "cfg-if", + "either", + "from_variant", + "new_debug_unreachable", + "num-bigint", + "once_cell", + "rustc-hash", + "serde", + "siphasher", + "sourcemap 6.4.1", + "string_cache", + "swc_atoms", + "swc_eq_ignore_macros", + "swc_visit", + "tracing", + "unicode-width", + "url", +] + +[[package]] +name = "swc_config" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9ba1c7a40d38f9dd4e9a046975d3faf95af42937b34b2b963be4d8f01239584b" +dependencies = [ + "indexmap 1.9.3", + "serde", + "serde_json", + "swc_config_macro", +] + +[[package]] +name = "swc_config_macro" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e5b5aaca9a0082be4515f0fbbecc191bf5829cd25b5b9c0a2810f6a2bb0d6829" +dependencies = [ + "pmutil", + "proc-macro2 1.0.63", + "quote 1.0.30", + "swc_macros_common", + "syn 2.0.29", +] + +[[package]] +name = "swc_ecma_ast" +version = "0.109.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7bc2286cedd688a68f214faa1c19bb5cceab7c9c54d0cbe3273e4c1704e38f69" +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.144.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e62ba2c0ed1f119fc1a76542d007f1b2c12854d54dea15f5491363227debe11" +dependencies = [ + "memchr", + "num-bigint", + "once_cell", + "rustc-hash", + "serde", + "sourcemap 6.4.1", + "swc_atoms", + "swc_common", + "swc_ecma_ast", + "swc_ecma_codegen_macros", + "tracing", +] + +[[package]] +name = "swc_ecma_codegen_macros" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dcdff076dccca6cc6a0e0b2a2c8acfb066014382bc6df98ec99e755484814384" +dependencies = [ + "pmutil", + "proc-macro2 1.0.63", + "quote 1.0.30", + "swc_macros_common", + "syn 2.0.29", +] + +[[package]] +name = "swc_ecma_loader" +version = "0.44.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7d7c322462657ae27ac090a2c89f7e456c94416284a2f5ecf66c43a6a3c19d1" +dependencies = [ + "anyhow", + "pathdiff", + "serde", + "swc_common", + "tracing", +] + +[[package]] +name = "swc_ecma_parser" +version = "0.139.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3eab46cb863bc5cd61535464e07e5b74d5f792fa26a27b9f6fd4c8daca9903b7" +dependencies = [ + "either", + "num-bigint", + "num-traits", + "serde", + "smallvec", + "smartstring", + "stacker", + "swc_atoms", + "swc_common", + "swc_ecma_ast", + "tracing", + "typed-arena", +] + +[[package]] +name = "swc_ecma_transforms_base" +version = "0.132.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "01ffd4a8149052bfc1ec1832fcbe04f317846ce635a49ec438df33b06db27d26" +dependencies = [ + "better_scoped_tls", + "bitflags 2.4.0", + "indexmap 1.9.3", + "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.121.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f4b7fee0e2c6f12456d2aefb2418f2f26529b995945d493e1dce35a5a22584fc" +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.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8188eab297da773836ef5cf2af03ee5cca7a563e1be4b146f8141452c28cc690" +dependencies = [ + "pmutil", + "proc-macro2 1.0.63", + "quote 1.0.30", + "swc_macros_common", + "syn 2.0.29", +] + +[[package]] +name = "swc_ecma_transforms_proposal" +version = "0.166.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "122fd9a69f464694edefbf9c59106b3c15e5cc8cb8575a97836e4fb79018e98f" +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.178.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "675b5c755b0448268830e85e59429095d3423c0ce4a850b209c6f0eeab069f63" +dependencies = [ + "base64 0.13.1", + "dashmap", + "indexmap 1.9.3", + "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.182.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4eba97b1ea71739fcf278aedad4677a3cacb52288a3f3566191b70d16a889de6" +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 = "swc_ecma_utils" +version = "0.122.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "11006a3398ffd4693c4d3b0a1b1a5030edbdc04228159f5301120a6178144708" +dependencies = [ + "indexmap 1.9.3", + "num_cpus", + "once_cell", + "rustc-hash", + "swc_atoms", + "swc_common", + "swc_ecma_ast", + "swc_ecma_visit", + "tracing", + "unicode-id", +] + +[[package]] +name = "swc_ecma_visit" +version = "0.95.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0f628ec196e76e67892441e14eef2e423a738543d32bffdabfeec20c29582117" dependencies = [ - "strum_macros 0.25.1", + "num-bigint", + "swc_atoms", + "swc_common", + "swc_ecma_ast", + "swc_visit", + "tracing", ] [[package]] -name = "strum_macros" -version = "0.24.3" +name = "swc_eq_ignore_macros" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e385be0d24f186b4ce2f9982191e7101bb737312ad61c1f2f984f34bcf85d59" +checksum = "05a95d367e228d52484c53336991fdcf47b6b553ef835d9159db4ba40efb0ee8" dependencies = [ - "heck", - "proc-macro2", - "quote", - "rustversion", - "syn 1.0.109", + "pmutil", + "proc-macro2 1.0.63", + "quote 1.0.30", + "syn 2.0.29", ] [[package]] -name = "strum_macros" -version = "0.25.1" +name = "swc_macros_common" +version = "0.3.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6069ca09d878a33f883cc06aaa9718ede171841d3832450354410b718b097232" +checksum = "7a273205ccb09b51fabe88c49f3b34c5a4631c4c00a16ae20e03111d6a42e832" dependencies = [ - "heck", - "proc-macro2", - "quote", - "rustversion", + "pmutil", + "proc-macro2 1.0.63", + "quote 1.0.30", "syn 2.0.29", ] [[package]] -name = "subprocess" -version = "0.2.9" +name = "swc_visit" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c2e86926081dda636c546d8c5e641661049d7562a68f5488be4a1f7f66f6086" +checksum = "e87c337fbb2d191bf371173dea6a957f01899adb8f189c6c31b122a6cfc98fc3" dependencies = [ - "libc", - "winapi", + "either", + "swc_visit_macros", ] [[package]] -name = "subst" -version = "0.3.0" +name = "swc_visit_macros" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca1318e5d6716d6541696727c88d9b8dfc8cfe6afd6908e186546fd4af7f5b98" +checksum = "0f322730fb82f3930a450ac24de8c98523af7d34ab8cb2f46bcb405839891a99" dependencies = [ - "memchr", - "unicode-width", + "Inflector", + "pmutil", + "proc-macro2 1.0.63", + "quote 1.0.30", + "swc_macros_common", + "syn 2.0.29", ] [[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" @@ -8006,8 +10416,8 @@ 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", ] @@ -8017,8 +10427,8 @@ version = "2.0.29" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c324c494eba9d92503e6f1ef2e6df781e78f6a7705a0202d9801b198807d518a" dependencies = [ - "proc-macro2", - "quote", + "proc-macro2 1.0.63", + "quote 1.0.30", "unicode-ident", ] @@ -8028,8 +10438,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", ] @@ -8039,6 +10449,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" @@ -8111,6 +10533,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" @@ -8132,8 +10563,8 @@ version = "1.0.48" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "49922ecae66cc8a249b77e68d1d0623c1b2c514f0060c27cdc68bd62a1219d35" dependencies = [ - "proc-macro2", - "quote", + "proc-macro2 1.0.63", + "quote 1.0.30", "syn 2.0.29", ] @@ -8275,11 +10706,23 @@ version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "630bdcf245f78637c13ec01ffae6187cca34625e8c63150d424b59e55af2675e" dependencies = [ - "proc-macro2", - "quote", + "proc-macro2 1.0.63", + "quote 1.0.30", "syn 2.0.29", ] +[[package]] +name = "tokio-metrics" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eace09241d62c98b7eeb1107d4c5c64ca3bd7da92e8c218c153ab3a78f9be112" +dependencies = [ + "futures-util", + "pin-project-lite", + "tokio", + "tokio-stream", +] + [[package]] name = "tokio-native-tls" version = "0.3.1" @@ -8305,7 +10748,7 @@ dependencies = [ "log", "parking_lot", "percent-encoding", - "phf", + "phf 0.11.1", "pin-project-lite", "postgres-protocol", "postgres-types", @@ -8360,6 +10803,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" @@ -8422,7 +10877,7 @@ version = "0.19.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9a1eb0622d28f4b9c90adc4ea4b2b46b47663fde9ac5fafcb14a1369d5508825" dependencies = [ - "indexmap 1.9.2", + "indexmap 1.9.3", "toml_datetime", "winnow", ] @@ -8441,8 +10896,8 @@ dependencies = [ "futures-util", "h2", "http", - "http-body", - "hyper", + "http-body 0.4.5", + "hyper 0.14.27", "hyper-timeout", "percent-encoding", "pin-project", @@ -8468,8 +10923,8 @@ dependencies = [ "bytes", "h2", "http", - "http-body", - "hyper", + "http-body 0.4.5", + "hyper 0.14.27", "hyper-timeout", "percent-encoding", "pin-project", @@ -8491,10 +10946,10 @@ version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8b477abbe1d18c0b08f56cd01d1bc288668c5b5cfd19b2ae1886bbf599c546f1" dependencies = [ - "prettyplease", - "proc-macro2", - "prost-build", - "quote", + "prettyplease 0.2.12", + "proc-macro2 1.0.63", + "prost-build 0.12.0", + "quote 1.0.30", "syn 2.0.29", ] @@ -8520,8 +10975,8 @@ dependencies = [ "base64 0.21.0", "bytes", "http", - "http-body", - "hyper", + "http-body 0.4.5", + "hyper 0.14.27", "pin-project", "tokio-stream", "tonic 0.10.0", @@ -8539,7 +10994,7 @@ checksum = "b8fa9be0de6cf49e536ce1851f987bd21a43b771b09473c3549a6c853db37c1c" dependencies = [ "futures-core", "futures-util", - "indexmap 1.9.2", + "indexmap 1.9.3", "pin-project", "pin-project-lite", "rand 0.8.5", @@ -8564,7 +11019,7 @@ dependencies = [ "futures-core", "futures-util", "http", - "http-body", + "http-body 0.4.5", "http-range-header", "httpdate", "iri-string", @@ -8624,8 +11079,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", ] @@ -8682,6 +11137,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" @@ -8691,7 +11156,7 @@ dependencies = [ "async-trait", "cfg-if", "data-encoding", - "enum-as-inner", + "enum-as-inner 0.4.0", "futures-channel", "futures-io", "futures-util", @@ -8707,6 +11172,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" @@ -8724,7 +11215,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]] @@ -8744,14 +11256,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", ] @@ -8785,6 +11303,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" @@ -8800,6 +11359,12 @@ version = "0.3.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "524b68aca1d05e03fdf03fcdce2c6c94b6daf6d16861ddaa7e4f2b6638a9052c" +[[package]] +name = "unicode-id" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b1b6def86329695390197b82c1e244a54a131ceb66c996f2088a3876e2ae083f" + [[package]] name = "unicode-ident" version = "1.0.8" @@ -8827,12 +11392,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" @@ -8869,6 +11456,7 @@ dependencies = [ "form_urlencoded", "idna 0.4.0", "percent-encoding", + "serde", ] [[package]] @@ -8877,6 +11465,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" @@ -8890,11 +11497,23 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "79daa5ed5740825c40b389c5e50312b9c86df53fccd33f281df655642b43869d" dependencies = [ "atomic", - "getrandom", + "getrandom 0.2.8", "rand 0.8.5", "serde", ] +[[package]] +name = "v8" +version = "0.79.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b15561535230812a1db89a696f1f16a12ae6c2c370c6b2241c68d4cb33963faf" +dependencies = [ + "bitflags 1.3.2", + "fslock", + "once_cell", + "which", +] + [[package]] name = "valuable" version = "0.1.0" @@ -8939,6 +11558,27 @@ dependencies = [ "libc", ] +[[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" @@ -8968,6 +11608,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" @@ -8999,8 +11645,8 @@ dependencies = [ "bumpalo", "log", "once_cell", - "proc-macro2", - "quote", + "proc-macro2 1.0.63", + "quote 1.0.30", "syn 2.0.29", "wasm-bindgen-shared", ] @@ -9023,7 +11669,7 @@ version = "0.2.87" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dee495e55982a3bd48105a7b947fd2a9b4a8ae3010041b9e0faab3f9cd028f1d" dependencies = [ - "quote", + "quote 1.0.30", "wasm-bindgen-macro-support", ] @@ -9033,8 +11679,8 @@ version = "0.2.87" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "54681b18a46765f095758388f2d0cf16eb8d4169b639ab575a8f5693af210c7b" dependencies = [ - "proc-macro2", - "quote", + "proc-macro2 1.0.63", + "quote 1.0.30", "syn 2.0.29", "wasm-bindgen-backend", "wasm-bindgen-shared", @@ -9093,7 +11739,7 @@ dependencies = [ "pin-project", "reqwest", "rlp", - "secp256k1", + "secp256k1 0.21.3", "serde", "serde_json", "soketto", @@ -9189,6 +11835,16 @@ dependencies = [ "once_cell", ] +[[package]] +name = "whoami" +version = "1.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "22fc3756b8a9133049b26c7f61ab35416c130e8c09b660f5b3958b446f52cc50" +dependencies = [ + "wasm-bindgen", + "web-sys", +] + [[package]] name = "widestring" version = "0.5.1" @@ -9401,6 +12057,15 @@ dependencies = [ "windows-sys 0.48.0", ] +[[package]] +name = "winres" +version = "0.1.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b68db261ef59e9e52806f688020631e987592bd83619edccda9c47d42cde4f6c" +dependencies = [ + "toml", +] + [[package]] name = "wkt" version = "0.10.3" @@ -9428,6 +12093,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.1.1", + "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 = "xattr" version = "1.0.1" @@ -9474,8 +12168,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", ] @@ -9484,6 +12178,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.29", +] [[package]] name = "zip" diff --git a/dozer-cli/src/pipeline/builder.rs b/dozer-cli/src/pipeline/builder.rs index ff94000c9b..29bdf5350b 100644 --- a/dozer-cli/src/pipeline/builder.rs +++ b/dozer-cli/src/pipeline/builder.rs @@ -86,13 +86,14 @@ impl<'a> PipelineBuilder<'a> { // For not breaking current functionality, current format is to be still supported. pub async fn get_grouped_tables( &self, + runtime: &Arc, original_sources: &[String], ) -> Result>, OrchestrationError> { let mut grouped_connections: HashMap> = HashMap::new(); let mut connector_map = HashMap::new(); for connection in self.connections { - let connector = get_connector(connection.clone()) + let connector = get_connector(runtime.clone(), connection.clone()) .map_err(|e| ConnectorSourceFactoryError::Connector(e.into()))?; if let Some(info_table) = get_connector_info_table(connection) { @@ -205,7 +206,7 @@ impl<'a> PipelineBuilder<'a> { debug!("Used Sources: {:?}", calculated_sources.original_sources); let grouped_connections = self - .get_grouped_tables(&calculated_sources.original_sources) + .get_grouped_tables(runtime, &calculated_sources.original_sources) .await?; let mut pipelines: Vec = vec![]; diff --git a/dozer-cli/src/pipeline/connector_source.rs b/dozer-cli/src/pipeline/connector_source.rs index 0eccbebd4e..4e095a5dbd 100644 --- a/dozer-cli/src/pipeline/connector_source.rs +++ b/dozer-cli/src/pipeline/connector_source.rs @@ -74,7 +74,7 @@ impl ConnectorSourceFactory { ) -> Result { let connection_name = connection.name.clone(); - let connector = get_connector(connection) + let connector = get_connector(runtime.clone(), connection) .map_err(|e| ConnectorSourceFactoryError::Connector(e.into()))?; // Fill column names if not provided. diff --git a/dozer-cli/src/pipeline/tests/builder.rs b/dozer-cli/src/pipeline/tests/builder.rs index 5535daed44..8b5ee433ff 100644 --- a/dozer-cli/src/pipeline/tests/builder.rs +++ b/dozer-cli/src/pipeline/tests/builder.rs @@ -80,7 +80,7 @@ fn load_multi_sources() { .unwrap(); let runtime = Arc::new(runtime); let grouped_connections = runtime - .block_on(builder.get_grouped_tables(&used_sources)) + .block_on(builder.get_grouped_tables(&runtime, &used_sources)) .unwrap(); let source_builder = SourceBuilder::new(grouped_connections, Default::default()); diff --git a/dozer-cli/src/simple/orchestrator.rs b/dozer-cli/src/simple/orchestrator.rs index 2fcc841bf5..2bdd2c5c4a 100644 --- a/dozer-cli/src/simple/orchestrator.rs +++ b/dozer-cli/src/simple/orchestrator.rs @@ -289,7 +289,7 @@ impl SimpleOrchestrator { ) -> Result, Vec)>, OrchestrationError> { let mut schema_map = HashMap::new(); for connection in &self.config.connections { - let connector = get_connector(connection.clone()) + let connector = get_connector(self.runtime.clone(), connection.clone()) .map_err(|e| ConnectorSourceFactoryError::Connector(e.into()))?; let schema_tuples = connector .list_all_schemas() diff --git a/dozer-ingestion/Cargo.toml b/dozer-ingestion/Cargo.toml index f363b23dea..419c58ecc4 100644 --- a/dozer-ingestion/Cargo.toml +++ b/dozer-ingestion/Cargo.toml @@ -12,6 +12,7 @@ dozer-ingestion-deltalake = { path = "./deltalake" } dozer-ingestion-dozer = { path = "./dozer" } dozer-ingestion-ethereum = { path = "./ethereum", optional = true } dozer-ingestion-grpc = { path = "./grpc" } +dozer-ingestion-javascript = { path = "./javascript" } dozer-ingestion-kafka = { path = "./kafka", optional = true } dozer-ingestion-mongodb = { path = "./mongodb", optional = true } dozer-ingestion-mysql = { path = "./mysql" } diff --git a/dozer-ingestion/benches/helper.rs b/dozer-ingestion/benches/helper.rs index 0f225929ce..9e4060c57d 100644 --- a/dozer-ingestion/benches/helper.rs +++ b/dozer-ingestion/benches/helper.rs @@ -45,7 +45,7 @@ pub fn get_progress() -> ProgressBar { } pub fn get_connection_iterator(runtime: Arc, config: TestConfig) -> IngestionIterator { - let connector = dozer_ingestion::get_connector(config.connection).unwrap(); + let connector = dozer_ingestion::get_connector(runtime.clone(), config.connection).unwrap(); let tables = runtime.block_on(list_tables(&*connector)); let (ingestor, iterator) = Ingestor::initialize_channel(Default::default()); runtime.clone().spawn_blocking(move || async move { diff --git a/dozer-ingestion/javascript/Cargo.toml b/dozer-ingestion/javascript/Cargo.toml new file mode 100644 index 0000000000..6efa236a51 --- /dev/null +++ b/dozer-ingestion/javascript/Cargo.toml @@ -0,0 +1,14 @@ +[package] +name = "dozer-ingestion-javascript" +version = "0.1.0" +edition = "2021" + +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[dependencies] +deno_ast = "0.29.5" +deno_runtime = "0.129.0" +dozer-ingestion-connector = { path = "../connector" } + +[dev-dependencies] +camino = "1.1.6" diff --git a/dozer-ingestion/javascript/src/js_extension/ingest.js b/dozer-ingestion/javascript/src/js_extension/ingest.js new file mode 100644 index 0000000000..ee9899b8ae --- /dev/null +++ b/dozer-ingestion/javascript/src/js_extension/ingest.js @@ -0,0 +1,18 @@ +(async () => { + const url = 'https://api.github.com/repos/getdozer/dozer/commits'; + const response = await fetch(url); + + const commits = await response.json(); + + const snapshot_msg = { typ: "SnapshottingDone", old_val: null, new_val: null }; + await Deno[Deno.internal].core.ops.ingest(snapshot_msg); + + for (const commit of commits) { + const msg = { + typ: "Insert", + old_val: null, + new_val: { commit: commit.sha }, + }; + await Deno[Deno.internal].core.ops.ingest(msg); + } +})(); diff --git a/dozer-ingestion/javascript/src/js_extension/mod.rs b/dozer-ingestion/javascript/src/js_extension/mod.rs new file mode 100644 index 0000000000..1da2adb7f5 --- /dev/null +++ b/dozer-ingestion/javascript/src/js_extension/mod.rs @@ -0,0 +1,164 @@ +use std::{future::Future, sync::Arc}; + +use deno_runtime::{ + deno_core::{self, anyhow::Error, extension, op2, ModuleSpecifier}, + permissions::PermissionsContainer, + worker::{MainWorker, WorkerOptions}, +}; +use dozer_ingestion_connector::{ + dozer_types::{ + errors::{internal::BoxedError, types::DeserializationError}, + json_types::serde_json_to_json_value, + models::ingestion_types::IngestionMessage, + serde::{Deserialize, Serialize}, + serde_json, + thiserror::{self, Error}, + types::{Field, Operation, Record}, + }, + tokio::{runtime::Runtime, task::LocalSet}, + Ingestor, +}; + +#[derive(Deserialize, Serialize, Debug)] +#[serde(crate = "dozer_ingestion_connector::dozer_types::serde")] +pub enum MsgType { + SnapshottingStarted, + SnapshottingDone, + Insert, + Delete, + Update, +} + +#[derive(Deserialize, Serialize, Debug)] +#[serde(crate = "dozer_ingestion_connector::dozer_types::serde")] +pub struct JsMessage { + typ: MsgType, + old_val: serde_json::Value, + new_val: serde_json::Value, +} + +#[op2(async)] +fn ingest( + #[state] ingestor: &Ingestor, + #[serde] val: JsMessage, +) -> impl Future> { + send(ingestor.clone(), val) +} + +extension!( + dozer_extension, + ops = [ingest], + options = { ingestor: Ingestor }, + state = |state, options| { + state.put(options.ingestor); + }, +); + +pub struct JsExtension { + runtime: Arc, + ingestor: Ingestor, + module_specifier: ModuleSpecifier, +} + +#[derive(Debug, Error)] +pub enum JsExtensionError { + #[error("Failed to canonicalize path {0}: {1}")] + CanonicalizePath(String, #[source] std::io::Error), +} + +impl JsExtension { + pub fn new( + runtime: Arc, + ingestor: Ingestor, + js_path: String, + ) -> Result { + let path = std::fs::canonicalize(js_path.clone()) + .map_err(|e| JsExtensionError::CanonicalizePath(js_path, e))?; + let module_specifier = + ModuleSpecifier::from_file_path(path).expect("we just canonicalized it"); + Ok(Self { + runtime, + ingestor, + module_specifier, + }) + } + + pub async fn run(self) -> Result<(), BoxedError> { + let runtime = self.runtime.clone(); + runtime + .spawn_blocking(move || { + let local_set = LocalSet::new(); + local_set.block_on(&self.runtime, async move { + let mut worker = MainWorker::bootstrap_from_options( + self.module_specifier.clone(), + PermissionsContainer::allow_all(), + WorkerOptions { + module_loader: std::rc::Rc::new( + ts_module_loader::TypescriptModuleLoader::with_no_source_map(), + ), + extensions: vec![dozer_extension::init_ops(self.ingestor)], + ..Default::default() + }, + ); + + worker.execute_main_module(&self.module_specifier).await?; + worker.run_event_loop(false).await + }) + }) + .await + .unwrap() // Propagate panics. + .map_err(Into::into) + } +} + +async fn send(ingestor: Ingestor, val: JsMessage) -> Result<(), Error> { + let msg = match val.typ { + MsgType::SnapshottingStarted => IngestionMessage::SnapshottingStarted, + MsgType::SnapshottingDone => IngestionMessage::SnapshottingDone, + MsgType::Insert | MsgType::Delete | MsgType::Update => { + let op = map_operation(val)?; + IngestionMessage::OperationEvent { + table_index: 0, + op, + id: None, + } + } + }; + + // Ignore if the receiver is closed. + let _ = ingestor.handle_message(msg).await; + Ok(()) +} + +fn map_operation(msg: JsMessage) -> Result { + Ok(match msg.typ { + MsgType::Insert => Operation::Insert { + new: Record { + values: vec![Field::Json(serde_json_to_json_value(msg.new_val)?)], + lifetime: None, + }, + }, + MsgType::Delete => Operation::Delete { + old: Record { + values: vec![Field::Json(serde_json_to_json_value(msg.old_val)?)], + lifetime: None, + }, + }, + MsgType::Update => Operation::Update { + old: Record { + values: vec![Field::Json(serde_json_to_json_value(msg.old_val)?)], + lifetime: None, + }, + new: Record { + values: vec![Field::Json(serde_json_to_json_value(msg.new_val)?)], + lifetime: None, + }, + }, + _ => unreachable!(), + }) +} + +mod ts_module_loader; + +#[cfg(test)] +mod tests; diff --git a/dozer-ingestion/javascript/src/js_extension/tests.rs b/dozer-ingestion/javascript/src/js_extension/tests.rs new file mode 100644 index 0000000000..4c0b88ca41 --- /dev/null +++ b/dozer-ingestion/javascript/src/js_extension/tests.rs @@ -0,0 +1,30 @@ +use std::time::Duration; + +use camino::Utf8Path; +use dozer_ingestion_connector::{test_util::create_test_runtime, IngestionConfig, Ingestor}; + +use super::JsExtension; + +#[test] +fn test_deno() { + let js_path = Utf8Path::new(env!("CARGO_MANIFEST_DIR")).join("./src/js_extension/ingest.js"); + + let (ingestor, mut iterator) = Ingestor::initialize_channel(IngestionConfig::default()); + + let runtime = create_test_runtime(); + let ext = JsExtension::new(runtime.clone(), ingestor, js_path.into()).unwrap(); + + runtime.spawn(ext.run()); + + runtime.block_on(async move { + let mut count = 0; + loop { + let msg = iterator.next_timeout(Duration::from_secs(5)).await.unwrap(); + count += 1; + println!("i: {:?}, msg: {:?}", count, msg); + if count > 3 { + break; + } + } + }); +} diff --git a/dozer-ingestion/javascript/src/js_extension/ts_module_loader.rs b/dozer-ingestion/javascript/src/js_extension/ts_module_loader.rs new file mode 100644 index 0000000000..b37708740b --- /dev/null +++ b/dozer-ingestion/javascript/src/js_extension/ts_module_loader.rs @@ -0,0 +1,132 @@ +// 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::cell::RefCell; +use std::collections::HashMap; +use std::pin::Pin; +use std::rc::Rc; + +use deno_runtime::deno_core::{self, anyhow, futures}; + +use anyhow::anyhow; +use anyhow::bail; +use anyhow::Error; +use deno_ast::MediaType; +use deno_ast::ParseParams; +use deno_ast::SourceTextInfo; +use deno_core::error::AnyError; +use deno_core::resolve_import; +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::SourceMapGetter; +use futures::FutureExt; + +#[derive(Clone)] +struct SourceMapStore(Rc>>>); + +impl SourceMapGetter for SourceMapStore { + fn get_source_map(&self, specifier: &str) -> Option> { + self.0.borrow().get(specifier).cloned() + } + + fn get_source_line(&self, _file_name: &str, _line_number: usize) -> Option { + None + } +} + +pub struct TypescriptModuleLoader { + source_maps: SourceMapStore, +} + +impl TypescriptModuleLoader { + pub fn with_no_source_map() -> Self { + Self { + source_maps: SourceMapStore(Rc::new(RefCell::new(HashMap::new()))), + } + } +} + +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> { + let source_maps = self.source_maps.clone(); + fn load( + source_maps: SourceMapStore, + 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, + })?; + let res = parsed.transpile(&deno_ast::EmitOptions { + inline_source_map: false, + source_map: true, + inline_sources: true, + ..Default::default() + })?; + let source_map = res.source_map.unwrap(); + source_maps + .0 + .borrow_mut() + .insert(module_specifier.to_string(), source_map.into_bytes()); + res.text + } else { + code + }; + Ok(ModuleSource::new( + module_type, + code.into(), + module_specifier, + )) + } + + futures::future::ready(load(source_maps, module_specifier)).boxed_local() + } +} diff --git a/dozer-ingestion/javascript/src/lib.rs b/dozer-ingestion/javascript/src/lib.rs new file mode 100644 index 0000000000..6e2ff41866 --- /dev/null +++ b/dozer-ingestion/javascript/src/lib.rs @@ -0,0 +1,99 @@ +use std::sync::Arc; + +use dozer_ingestion_connector::{ + async_trait, + dozer_types::{ + errors::internal::BoxedError, + models::ingestion_types::{default_bootstrap_path, JavaScriptConfig}, + types::{FieldDefinition, FieldType, Schema, SourceDefinition}, + }, + tokio::runtime::Runtime, + CdcType, Connector, Ingestor, SourceSchema, SourceSchemaResult, TableIdentifier, TableInfo, + TableToIngest, +}; +use js_extension::JsExtension; + +#[derive(Debug)] +pub struct JavaScriptConnector { + runtime: Arc, + config: JavaScriptConfig, +} + +#[async_trait] +impl Connector for JavaScriptConnector { + // We will return one field, named "value", of type Json to + // give maximum flexibility to the user. + fn types_mapping() -> Vec<(String, Option)> + where + Self: Sized, + { + vec![(String::from("value"), Some(FieldType::Json))] + } + + async fn validate_connection(&self) -> Result<(), BoxedError> { + Ok(()) + } + + async fn list_tables(&self) -> Result, BoxedError> { + Ok(vec![TableIdentifier { + schema: None, + name: "json_records".to_string(), + }]) + } + + async fn validate_tables(&self, _tables: &[TableIdentifier]) -> Result<(), BoxedError> { + Ok(()) + } + + async fn list_columns( + &self, + _tables: Vec, + ) -> Result, BoxedError> { + Ok(vec![TableInfo { + schema: None, + name: "json_records".to_string(), + column_names: vec!["value".to_string()], + }]) + } + + async fn get_schemas( + &self, + _table_infos: &[TableInfo], + ) -> Result, BoxedError> { + Ok(vec![Ok(SourceSchema { + schema: Schema { + fields: vec![FieldDefinition { + name: "value".to_string(), + typ: FieldType::Json, + nullable: false, + source: SourceDefinition::Dynamic, + }], + primary_index: vec![], + }, + cdc_type: CdcType::Nothing, + })]) + } + + async fn start( + &self, + ingestor: &Ingestor, + _tables: Vec, + ) -> Result<(), BoxedError> { + let js_path = self + .config + .bootstrap_path + .clone() + .unwrap_or_else(default_bootstrap_path); + let ingestor = ingestor.clone(); + let ext = JsExtension::new(self.runtime.clone(), ingestor, js_path)?; + ext.run().await + } +} + +impl JavaScriptConnector { + pub fn new(runtime: Arc, config: JavaScriptConfig) -> Self { + Self { runtime, config } + } +} + +mod js_extension; diff --git a/dozer-ingestion/src/lib.rs b/dozer-ingestion/src/lib.rs index 60a86de284..6031eab3f9 100644 --- a/dozer-ingestion/src/lib.rs +++ b/dozer-ingestion/src/lib.rs @@ -1,3 +1,5 @@ +use std::sync::Arc; + #[cfg(feature = "ethereum")] use dozer_ingestion_connector::dozer_types::models::ingestion_types::EthProviderConfig; use dozer_ingestion_connector::dozer_types::{ @@ -13,6 +15,7 @@ use dozer_ingestion_dozer::NestedDozerConnector; #[cfg(feature = "ethereum")] use dozer_ingestion_ethereum::{EthLogConnector, EthTraceConnector}; use dozer_ingestion_grpc::{connector::GrpcConnector, ArrowAdapter, DefaultAdapter}; +use dozer_ingestion_javascript::JavaScriptConnector; #[cfg(feature = "kafka")] use dozer_ingestion_kafka::connector::KafkaConnector; #[cfg(feature = "mongodb")] @@ -26,11 +29,15 @@ use dozer_ingestion_postgres::{ #[cfg(feature = "snowflake")] use dozer_ingestion_snowflake::connector::SnowflakeConnector; use errors::ConnectorError; +use tokio::runtime::Runtime; pub mod errors; pub use dozer_ingestion_connector::*; -pub fn get_connector(connection: Connection) -> Result, ConnectorError> { +pub fn get_connector( + runtime: Arc, + connection: Connection, +) -> Result, ConnectorError> { let config = connection.config; match config.clone() { ConnectionConfig::Postgres(c) => { @@ -121,6 +128,10 @@ pub fn get_connector(connection: Connection) -> Result, Conne ConnectionConfig::Dozer(dozer_config) => { Ok(Box::new(NestedDozerConnector::new(dozer_config))) } + ConnectionConfig::JavaScript(javascript_config) => Ok(Box::new(JavaScriptConnector::new( + runtime, + javascript_config, + ))), } } diff --git a/dozer-tests/src/e2e_tests/runner/running_env.rs b/dozer-tests/src/e2e_tests/runner/running_env.rs index 14df9f0fbf..eaca6a325e 100644 --- a/dozer-tests/src/e2e_tests/runner/running_env.rs +++ b/dozer-tests/src/e2e_tests/runner/running_env.rs @@ -367,6 +367,7 @@ fn write_dozer_config_for_running_in_docker_compose( ConnectionConfig::Dozer(_) => { todo!("Map dozer host and port") } + ConnectionConfig::JavaScript(_) => {} } } diff --git a/dozer-types/src/models/connection.rs b/dozer-types/src/models/connection.rs index 7c31b2b83a..bb2f867f2b 100644 --- a/dozer-types/src/models/connection.rs +++ b/dozer-types/src/models/connection.rs @@ -1,6 +1,6 @@ use crate::models::ingestion_types::{ - DeltaLakeConfig, EthConfig, GrpcConfig, KafkaConfig, LocalStorage, MongodbConfig, MySQLConfig, - NestedDozerConfig, S3Storage, SnowflakeConfig, + DeltaLakeConfig, EthConfig, GrpcConfig, JavaScriptConfig, KafkaConfig, LocalStorage, + MongodbConfig, MySQLConfig, NestedDozerConfig, S3Storage, SnowflakeConfig, }; use schemars::JsonSchema; use serde::{Deserialize, Serialize}; @@ -236,6 +236,9 @@ pub enum ConnectionConfig { /// In yaml, present as tag" `!Dozer` Dozer(NestedDozerConfig), + + /// In yaml, present as tag" `!JavaScript` + JavaScript(JavaScriptConfig), } impl ConnectionConfig { @@ -252,6 +255,7 @@ impl ConnectionConfig { ConnectionConfig::MongoDB(_) => "mongodb".to_string(), ConnectionConfig::MySQL(_) => "mysql".to_string(), ConnectionConfig::Dozer(_) => "dozer".to_string(), + ConnectionConfig::JavaScript(_) => "javascript".to_string(), } } } diff --git a/dozer-types/src/models/ingestion_types.rs b/dozer-types/src/models/ingestion_types.rs index 5a50f893d1..90f57ac07f 100644 --- a/dozer-types/src/models/ingestion_types.rs +++ b/dozer-types/src/models/ingestion_types.rs @@ -531,3 +531,13 @@ impl SchemaExample for EthConfig { } } } + +#[derive(Debug, Serialize, Deserialize, Eq, PartialEq, Clone, Hash, Default, JsonSchema)] +pub struct JavaScriptConfig { + #[serde(skip_serializing_if = "Option::is_none")] + pub bootstrap_path: Option, +} + +pub fn default_bootstrap_path() -> String { + String::from("src/js/bootstrap.js") +} diff --git a/json_schemas/connections.json b/json_schemas/connections.json index ce25db401d..0048ef3e66 100644 --- a/json_schemas/connections.json +++ b/json_schemas/connections.json @@ -7,12 +7,12 @@ "description": "Configuration for a Postgres connection", "examples": [ { - "database": "postgres", - "host": "localhost", + "user": "postgres", "password": "postgres", + "host": "localhost", "port": 5432, - "schema": "public", - "user": "postgres" + "database": "postgres", + "schema": "public" } ], "type": "object", @@ -88,11 +88,11 @@ { "provider": { "Log": { + "wss_url": "", "filter": { "from_block": 0, "to_block": null - }, - "wss_url": "" + } } } } @@ -257,12 +257,12 @@ "title": "GrpcConfig", "examples": [ { - "adapter": "arrow", "host": "localhost", "port": 50051, "schemas": { "Path": "schema.json" - } + }, + "adapter": "arrow" } ], "type": "object", @@ -333,15 +333,15 @@ "title": "SnowflakeConfig", "examples": [ { - "database": "database", - "driver": "SnowflakeDSIIDriver", - "password": "password", - "port": "443", - "role": "role", - "schema": "schema", "server": "..snowflakecomputing.com", + "port": "443", "user": "bob", - "warehouse": "warehouse" + "password": "password", + "database": "database", + "schema": "schema", + "warehouse": "warehouse", + "driver": "SnowflakeDSIIDriver", + "role": "role" } ], "type": "object", @@ -430,16 +430,16 @@ { "details": { "access_key_id": "", - "bucket_name": "", + "secret_access_key": "", "region": "", - "secret_access_key": "" + "bucket_name": "" }, "tables": [ { "config": { "CSV": { - "extension": ".csv", - "path": "path/to/file" + "path": "path/to/file", + "extension": ".csv" } }, "name": "table_name" @@ -589,8 +589,8 @@ { "config": { "CSV": { - "extension": ".csv", - "path": "path/to/table" + "path": "path/to/table", + "extension": ".csv" } }, "name": "table_name" @@ -723,8 +723,8 @@ { "tables": [ { - "name": "", - "path": "" + "path": "", + "name": "" } ] } @@ -788,8 +788,8 @@ "title": "MySQLConfig", "examples": [ { - "server_id": 1, - "url": "mysql://root:1234@localhost:3306/db_name" + "url": "mysql://root:1234@localhost:3306/db_name", + "server_id": 1 } ], "type": "object", diff --git a/json_schemas/dozer.json b/json_schemas/dozer.json index f3403c362b..3971340f03 100644 --- a/json_schemas/dozer.json +++ b/json_schemas/dozer.json @@ -572,6 +572,19 @@ } }, "additionalProperties": false + }, + { + "description": "In yaml, present as tag\" `!JavaScript`", + "type": "object", + "required": [ + "JavaScript" + ], + "properties": { + "JavaScript": { + "$ref": "#/definitions/JavaScriptConfig" + } + }, + "additionalProperties": false } ] }, @@ -623,8 +636,8 @@ { "tables": [ { - "name": "", - "path": "" + "path": "", + "name": "" } ] } @@ -715,11 +728,11 @@ { "provider": { "Log": { + "wss_url": "", "filter": { "from_block": 0, "to_block": null - }, - "wss_url": "" + } } } } @@ -976,12 +989,12 @@ "GrpcConfig": { "examples": [ { - "adapter": "arrow", "host": "localhost", "port": 50051, "schemas": { "Path": "schema.json" - } + }, + "adapter": "arrow" } ], "type": "object", @@ -1042,6 +1055,17 @@ } ] }, + "JavaScriptConfig": { + "type": "object", + "properties": { + "bootstrap_path": { + "type": [ + "string", + "null" + ] + } + } + }, "KafkaConfig": { "examples": [ { @@ -1086,8 +1110,8 @@ { "config": { "CSV": { - "extension": ".csv", - "path": "path/to/table" + "path": "path/to/table", + "extension": ".csv" } }, "name": "table_name" @@ -1161,8 +1185,8 @@ "MySQLConfig": { "examples": [ { - "server_id": 1, - "url": "mysql://root:1234@localhost:3306/db_name" + "url": "mysql://root:1234@localhost:3306/db_name", + "server_id": 1 } ], "type": "object", @@ -1287,12 +1311,12 @@ "description": "Configuration for a Postgres connection", "examples": [ { - "database": "postgres", - "host": "localhost", + "user": "postgres", "password": "postgres", + "host": "localhost", "port": 5432, - "schema": "public", - "user": "postgres" + "database": "postgres", + "schema": "public" } ], "type": "object", @@ -1460,16 +1484,16 @@ { "details": { "access_key_id": "", - "bucket_name": "", + "secret_access_key": "", "region": "", - "secret_access_key": "" + "bucket_name": "" }, "tables": [ { "config": { "CSV": { - "extension": ".csv", - "path": "path/to/file" + "path": "path/to/file", + "extension": ".csv" } }, "name": "table_name" @@ -1559,15 +1583,15 @@ "SnowflakeConfig": { "examples": [ { - "database": "database", - "driver": "SnowflakeDSIIDriver", - "password": "password", - "port": "443", - "role": "role", - "schema": "schema", "server": "..snowflakecomputing.com", + "port": "443", "user": "bob", - "warehouse": "warehouse" + "password": "password", + "database": "database", + "schema": "schema", + "warehouse": "warehouse", + "driver": "SnowflakeDSIIDriver", + "role": "role" } ], "type": "object",