diff --git a/Cargo.lock b/Cargo.lock index 7cfd2c16cb..22457fdd33 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2,16 +2,6 @@ # It is not intended for manual editing. version = 3 -[[package]] -name = "Inflector" -version = "0.11.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fe438c63458706e03479442743baae6c88256498e6431708f6dfc520a26515d3" -dependencies = [ - "lazy_static", - "regex", -] - [[package]] name = "ab_glyph" version = "0.2.15" @@ -333,20 +323,6 @@ dependencies = [ "toml", ] -[[package]] -name = "ast_node" -version = "0.7.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc4c00309ed1c8104732df4a5fa9acc3b796b6f8531dfbd5ce0078c86f997244" -dependencies = [ - "darling 0.10.2", - "pmutil", - "proc-macro2", - "quote", - "swc_macros_common", - "syn", -] - [[package]] name = "async-channel" version = "1.6.1" @@ -360,9 +336,9 @@ dependencies = [ [[package]] name = "async-compression" -version = "0.3.12" +version = "0.3.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2bf394cfbbe876f0ac67b13b6ca819f9c9f2fb9ec67223cceb1555fbab1c31a" +checksum = "345fd392ab01f746c717b1357165b76f0b67a60192007b234058c9045fdcf695" dependencies = [ "brotli", "flate2", @@ -715,7 +691,7 @@ dependencies = [ "percent-encoding", "pin-project", "tokio", - "tokio-util 0.7.1", + "tokio-util 0.7.2", "tracing", ] @@ -759,7 +735,7 @@ version = "0.42.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b470753cf7e2ce6b7c55f66cb1d17576654878cd41d72bd863a38336569543f4" dependencies = [ - "itoa 1.0.1", + "itoa 1.0.2", "num-integer", "ryu", "time 0.3.9", @@ -792,9 +768,9 @@ dependencies = [ [[package]] name = "axum" -version = "0.5.5" +version = "0.5.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "00f1e8a972137fad81e2a1a60b86ff17ce0338f8017264e45a9723d0083c39a1" +checksum = "ab2504b827a8bef941ba3dd64bdffe9cf56ca182908a147edd6189c95fbcae7d" dependencies = [ "async-trait", "axum-core", @@ -804,7 +780,7 @@ dependencies = [ "http", "http-body", "hyper", - "itoa 1.0.1", + "itoa 1.0.2", "matchit", "memchr", "mime", @@ -864,6 +840,12 @@ dependencies = [ "rustc-demangle", ] +[[package]] +name = "base16ct" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "349a06037c7bf932dd7e7d1f653678b2038b9ad46a74102f1fc7bd7872678cce" + [[package]] name = "base64" version = "0.12.3" @@ -882,15 +864,6 @@ version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dea908e7347a8c64e378c17e30ef880ad73e3b4498346b055c2c00ea342f3179" -[[package]] -name = "better_scoped_tls" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b73e8ecdec39e98aa3b19e8cd0b8ed8f77ccb86a6b0b2dc7cd86d105438a2123" -dependencies = [ - "scoped-tls", -] - [[package]] name = "bimap" version = "0.6.2" @@ -921,17 +894,6 @@ version = "1.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" -[[package]] -name = "bitvec" -version = "0.18.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "98fcd36dda4e17b7d7abc64cb549bf0201f4ab71e00700c798ca7e62ed3761fa" -dependencies = [ - "funty", - "radium 0.3.0", - "wyz", -] - [[package]] name = "bitvec" version = "0.19.6" @@ -939,7 +901,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "55f93d0ef3363c364d5976646a38f04cf67cfe1d4c8d160cdea02cab2c116b33" dependencies = [ "funty", - "radium 0.5.3", + "radium", "tap", "wyz", ] @@ -1151,9 +1113,9 @@ dependencies = [ [[package]] name = "camino" -version = "1.0.8" +version = "1.0.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07fd178c5af4d59e83498ef15cf3f154e1a6f9d091270cb86283c65ef44e9ef0" +checksum = "869119e97797867fd90f5e22af7d0bd274bd4635ebb9eb68c04f3f513ae6c412" dependencies = [ "serde", ] @@ -1239,9 +1201,9 @@ checksum = "6d43a04d8753f35258c91f8ec639f792891f748a1edbd759cf1dcea3382ad83c" [[package]] name = "cfg-expr" -version = "0.10.2" +version = "0.10.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e068cb2806bbc15b439846dc16c5f89f8599f2c3e4d73d4449d38f9b2f0b6c5" +checksum = "0aacacf4d96c24b2ad6eb8ee6df040e4f27b0d0b39a5710c30091baa830485db" dependencies = [ "smallvec", "target-lexicon", @@ -1349,7 +1311,7 @@ dependencies = [ "clap_lex", "indexmap", "lazy_static", - "strsim 0.10.0", + "strsim", "termcolor", "textwrap 0.15.0", ] @@ -1445,7 +1407,7 @@ dependencies = [ "memchr", "pin-project-lite", "tokio", - "tokio-util 0.7.1", + "tokio-util 0.7.2", ] [[package]] @@ -1497,12 +1459,6 @@ dependencies = [ "winapi", ] -[[package]] -name = "const-oid" -version = "0.4.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f6b64db6932c7e49332728e3a6bd82c6b7e16016607d20923b537c3bc4c0d5f" - [[package]] name = "const-oid" version = "0.7.1" @@ -1754,7 +1710,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "03c6a1d5fa1de37e071642dfa44ec552ca5b299adb128fab16138e24b548fd21" dependencies = [ "generic-array", + "rand_core 0.6.3", "subtle", + "zeroize", ] [[package]] @@ -1875,16 +1833,6 @@ dependencies = [ "zeroize", ] -[[package]] -name = "darling" -version = "0.10.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d706e75d87e35569db781a9b5e2416cff1236a47ed380831f959382ccd5f858" -dependencies = [ - "darling_core 0.10.2", - "darling_macro 0.10.2", -] - [[package]] name = "darling" version = "0.12.4" @@ -1905,20 +1853,6 @@ dependencies = [ "darling_macro 0.13.4", ] -[[package]] -name = "darling_core" -version = "0.10.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0c960ae2da4de88a91b2d920c2a7233b400bc33cb28453a2987822d8392519b" -dependencies = [ - "fnv", - "ident_case", - "proc-macro2", - "quote", - "strsim 0.9.3", - "syn", -] - [[package]] name = "darling_core" version = "0.12.4" @@ -1929,7 +1863,7 @@ dependencies = [ "ident_case", "proc-macro2", "quote", - "strsim 0.10.0", + "strsim", "syn", ] @@ -1943,18 +1877,7 @@ dependencies = [ "ident_case", "proc-macro2", "quote", - "strsim 0.10.0", - "syn", -] - -[[package]] -name = "darling_macro" -version = "0.10.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9b5a2f4ac4969822c62224815d069952656cadc7084fdca9751e6d959189b72" -dependencies = [ - "darling_core 0.10.2", - "quote", + "strsim", "syn", ] @@ -2016,7 +1939,7 @@ dependencies = [ "tempfile", "tokio", "tokio-stream", - "uuid 1.0.0", + "uuid 1.1.0", ] [[package]] @@ -2096,15 +2019,6 @@ version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7e51694c5f8b91baf933e6429a3df4ff3e9f1160386d150790b97bef73337d1b" -[[package]] -name = "debug_unreachable" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a032eac705ca39214d169f83e3d3da290af06d8d1d344d1baad2fd002dca4b3" -dependencies = [ - "unreachable", -] - [[package]] name = "deflate" version = "0.8.6" @@ -2150,31 +2064,8 @@ dependencies = [ "thiserror", "tokio", "tokio-stream", - "tokio-util 0.7.1", - "uuid 1.0.0", -] - -[[package]] -name = "deno_ast" -version = "0.14.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0691d08faa4f1fd9898ecfbe82c32623f89969e92e7b97b5119a18399609d25" -dependencies = [ - "dprint-swc-ecma-ast-view", - "serde", - "swc_atoms", - "swc_common", - "swc_ecmascript", - "text_lines", -] - -[[package]] -name = "der" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "51f59c66c30bb7445c8320a5f9233e437e3572368099f25532a59054328899b4" -dependencies = [ - "const-oid 0.4.5", + "tokio-util 0.7.2", + "uuid 1.1.0", ] [[package]] @@ -2183,7 +2074,7 @@ version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6919815d73839e7ad218de758883aae3a257ba6759ce7a9992501efbb53d705c" dependencies = [ - "const-oid 0.7.1", + "const-oid", "crypto-bigint", "pem-rfc7468", ] @@ -2401,47 +2292,6 @@ version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9ea835d29036a4087793836fa931b08837ad5e957da9e23886b29586fb9b6650" -[[package]] -name = "dprint-core" -version = "0.56.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4f2e06453dc1b63189dcfb0aae5bb98ad05f0d0d4f7e1647473f85921fcd1412" -dependencies = [ - "anyhow", - "bumpalo", - "indexmap", - "rustc-hash", - "serde", -] - -[[package]] -name = "dprint-plugin-typescript" -version = "0.68.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7210d773012a869d45bfde328cb8a0a088aa9f4fe66d4a07a509f78363741f1" -dependencies = [ - "anyhow", - "deno_ast", - "dprint-core", - "rustc-hash", - "serde", -] - -[[package]] -name = "dprint-swc-ecma-ast-view" -version = "0.55.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43f9e087f831642347a4b0370824cedf4649b7bff5065c25d53cd73094c014ca" -dependencies = [ - "bumpalo", - "num-bigint 0.4.3", - "rustc-hash", - "swc_atoms", - "swc_common", - "swc_ecmascript", - "text_lines", -] - [[package]] name = "dtoa" version = "0.4.8" @@ -2468,12 +2318,13 @@ checksum = "21e50f3adc76d6a43f5ed73b698a87d0760ca74617f60f7c3b879003536fdd28" [[package]] name = "ecdsa" -version = "0.10.2" +version = "0.13.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41fbdb4ff710acb4db8ca29f93b897529ea6d6a45626d5183b47e012aa6ae7e4" +checksum = "d0d69ae62e0ce582d56380743515fefaf1a8c70cec685d9677636d7e30ae9dc9" dependencies = [ + "der", "elliptic-curve", - "hmac 0.10.1", + "rfc6979", "signature", ] @@ -2533,7 +2384,7 @@ dependencies = [ "tokio", "tokio-stream", "tonic", - "uuid 1.0.0", + "uuid 1.1.0", "zip", ] @@ -2556,18 +2407,18 @@ checksum = "e78d4f1cc4ae33bbfc157ed5d5a5ef3bc29227303d595861deb238fcec4e9457" [[package]] name = "elliptic-curve" -version = "0.8.5" +version = "0.11.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2db227e61a43a34915680bdda462ec0e212095518020a88a1f91acd16092c39" +checksum = "25b477563c2bfed38a3b7a60964c49e058b2510ad3f12ba3483fd8f62c2306d6" dependencies = [ - "bitvec 0.18.5", - "digest 0.9.0", + "base16ct", + "crypto-bigint", + "der", "ff", - "funty", "generic-array", "group", - "pkcs8 0.3.3", - "rand_core 0.5.1", + "rand_core 0.6.3", + "sec1", "subtle", "zeroize", ] @@ -2597,18 +2448,6 @@ dependencies = [ name = "end-to-end-tests" version = "0.1.0" -[[package]] -name = "enum_kind" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78b940da354ae81ef0926c5eaa428207b8f4f091d3956c891dfbd124162bed99" -dependencies = [ - "pmutil", - "proc-macro2", - "swc_macros_common", - "syn", -] - [[package]] name = "enumflags2" version = "0.7.5" @@ -2703,12 +2542,11 @@ dependencies = [ [[package]] name = "ff" -version = "0.8.0" +version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01646e077d4ebda82b73f1bca002ea1e91561a77df2431a9e79729bcc31950ef" +checksum = "131655483be284720a17d74ff97592b8e76576dc25563148601df2d7c9080924" dependencies = [ - "bitvec 0.18.5", - "rand_core 0.5.1", + "rand_core 0.6.3", "subtle", ] @@ -2820,18 +2658,6 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d551effe48679acc28180236aeefec6c5534b10190fdf4a60c84e27f1aae14b1" -[[package]] -name = "from_variant" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0951635027ca477be98f8774abd6f0345233439d63f307e47101acb40c7cc63d" -dependencies = [ - "pmutil", - "proc-macro2", - "swc_macros_common", - "syn", -] - [[package]] name = "fs_extra" version = "1.2.0" @@ -3081,7 +2907,7 @@ dependencies = [ "fnv", "gilrs-core", "log", - "uuid 1.0.0", + "uuid 1.1.0", "vec_map", ] @@ -3098,7 +2924,7 @@ dependencies = [ "log", "nix 0.23.1", "rusty-xinput", - "uuid 1.0.0", + "uuid 1.1.0", "vec_map", "wasm-bindgen", "web-sys", @@ -3188,12 +3014,12 @@ dependencies = [ [[package]] name = "group" -version = "0.8.0" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cc11f9f5fbf1943b48ae7c2bf6846e7d827a512d1be4f23af708f5ca5d01dde1" +checksum = "bc5ac374b108929de78460075f3dc439fa66df9d8fc77e8f12caa5165fcf0c89" dependencies = [ "ff", - "rand_core 0.5.1", + "rand_core 0.6.3", "subtle", ] @@ -3262,7 +3088,7 @@ dependencies = [ "indexmap", "slab", "tokio", - "tokio-util 0.7.1", + "tokio-util 0.7.2", "tracing", ] @@ -3423,14 +3249,14 @@ checksum = "ff8670570af52249509a86f5e3e18a08c60b177071826898fde8997cf5f6bfbb" dependencies = [ "bytes", "fnv", - "itoa 1.0.1", + "itoa 1.0.2", ] [[package]] name = "http-body" -version = "0.4.4" +version = "0.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ff4f84919677303da5f147645dbea6b1881f368d03ac84e1dc09031ebd7b2c6" +checksum = "d5f38f16d184e36f2408a55281cd658ecbd3ca05cce6d6510a176eca393e26d1" dependencies = [ "bytes", "http", @@ -3517,7 +3343,7 @@ dependencies = [ "http-body", "httparse", "httpdate", - "itoa 1.0.1", + "itoa 1.0.2", "pin-project-lite", "socket2", "tokio", @@ -3759,19 +3585,6 @@ dependencies = [ "nom 7.1.1", ] -[[package]] -name = "is-macro" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94b2c46692aee0d1b3aad44e781ac0f0e7db42ef27adaa0a877b627040019813" -dependencies = [ - "Inflector", - "pmutil", - "proc-macro2", - "quote", - "syn", -] - [[package]] name = "ispc-tex" version = "0.1.0" @@ -3808,9 +3621,9 @@ checksum = "b71991ff56294aa922b450139ee08b3bfc70982c6b2c7562771375cf73542dd4" [[package]] name = "itoa" -version = "1.0.1" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1aab8fc367588b89dcee83ab0fd66b72b50b72fa1904d7095045ace2b0c81c35" +checksum = "112c678d4050afce233f4f2852bb2eb519230b3cf12f33585275537d7e41578d" [[package]] name = "jni" @@ -3880,15 +3693,6 @@ dependencies = [ "spin 0.5.2", ] -[[package]] -name = "lexical" -version = "6.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c7aefb36fd43fef7003334742cbf77b243fcd36418a1d1bdd480d613a67968f6" -dependencies = [ - "lexical-core 0.8.5", -] - [[package]] name = "lexical-core" version = "0.7.6" @@ -3993,8 +3797,6 @@ dependencies = [ "chrono", "clap 3.1.18", "convert_case", - "deno_ast", - "dprint-plugin-typescript", "http", "indexmap", "insta", @@ -4127,7 +3929,7 @@ dependencies = [ "thiserror", "tokio", "tokio-stream", - "tokio-util 0.6.9", + "tokio-util 0.6.10", ] [[package]] @@ -4482,13 +4284,13 @@ dependencies = [ "thiserror", "tokio", "tokio-stream", - "tokio-util 0.6.9", + "tokio-util 0.6.10", "toml", "tonic", "tonic-web", "tower", "tower-http", - "uuid 1.0.0", + "uuid 1.1.0", ] [[package]] @@ -4707,7 +4509,7 @@ dependencies = [ "thiserror", "tokio", "typetag", - "uuid 1.0.0", + "uuid 1.1.0", "xxhash-rust", ] @@ -4743,7 +4545,7 @@ dependencies = [ "tempfile", "thiserror", "tokio", - "uuid 1.0.0", + "uuid 1.1.0", ] [[package]] @@ -4958,7 +4760,7 @@ dependencies = [ "smallvec", "static_assertions", "strum", - "uuid 1.0.0", + "uuid 1.1.0", ] [[package]] @@ -5347,13 +5149,13 @@ dependencies = [ "thiserror", "tokio", "tokio-stream", - "tokio-util 0.6.9", + "tokio-util 0.6.10", "tonic", "tonic-web", "tower", "tower-http", "urlencoding", - "uuid 1.0.0", + "uuid 1.1.0", "whoami", ] @@ -5489,7 +5291,7 @@ dependencies = [ "time 0.3.9", "tokio", "tonic", - "uuid 1.0.0", + "uuid 1.1.0", "winapi", ] @@ -5517,7 +5319,7 @@ dependencies = [ "raw-cpuid", "thiserror", "thread-id", - "uuid 1.0.0", + "uuid 1.1.0", "whoami", ] @@ -5602,7 +5404,7 @@ dependencies = [ "lgn-tracing", "lgn-utils", "raw-window-handle", - "uuid 1.0.0", + "uuid 1.1.0", "web-sys", ] @@ -5627,9 +5429,9 @@ dependencies = [ [[package]] name = "libc" -version = "0.2.125" +version = "0.2.126" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5916d2ae698f6de9bfb891ad7a8d65c09d232dc58cc4ac433c7da3b2fd84bc2b" +checksum = "349d5a591cd28b49e1d1037471617a32ddcda5731b99419008085f72d5a53836" [[package]] name = "libloading" @@ -5695,9 +5497,9 @@ dependencies = [ [[package]] name = "lru" -version = "0.7.5" +version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32613e41de4c47ab04970c348ca7ae7382cf116625755af070b008a15516a889" +checksum = "8015d95cb7b2ddd3c0d32ca38283ceb1eea09b4713ee380bceb942d85a244228" dependencies = [ "hashbrown 0.11.2", ] @@ -5960,9 +5762,9 @@ dependencies = [ [[package]] name = "napi" -version = "2.4.2" +version = "2.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbff174066eb7cd144e0fc5d4d82e47492fa2df6e29df5911c88a54cd4d6daea" +checksum = "eba1b04555247b935187ea1dddac523ebc470c45806501d7203ed1bec7fa26b2" dependencies = [ "ctor", "lazy_static", @@ -6138,12 +5940,6 @@ version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ca2b420f638f07fe83056b55ea190bb815f609ec5a35e7017884a10f78839c9e" -[[package]] -name = "new_debug_unreachable" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e4a24736216ec316047a1fc4252e27dabb04218aa4a3f37c6e7ddbf1f9782b54" - [[package]] name = "nix" version = "0.22.3" @@ -6193,7 +5989,7 @@ version = "6.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e7413f999671bd4745a7b624bd370a569fb6bc574b23c83a3c5ed2e453f3d5e2" dependencies = [ - "bitvec 0.19.6", + "bitvec", "funty", "lexical-core 0.7.6", "memchr", @@ -6285,7 +6081,6 @@ dependencies = [ "autocfg", "num-integer", "num-traits", - "serde", ] [[package]] @@ -6478,9 +6273,9 @@ dependencies = [ [[package]] name = "once_cell" -version = "1.10.0" +version = "1.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87f3e037eac156d1775da914196f0f37741a274155e34a0b7e427c35d2a2ecb9" +checksum = "7709cef83f0c1f58f666e746a08b21e0085f7440fa6a29cc194d68aac97a4225" [[package]] name = "oorandom" @@ -6614,9 +6409,9 @@ dependencies = [ [[package]] name = "os_str_bytes" -version = "6.0.0" +version = "6.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e22443d1643a904602595ba1cd8f7d896afe56d26712531c5ff73a15b2fbf64" +checksum = "21326818e99cfe6ce1e524c2a805c189a99b5ae555a35d19f9a284b427d86afa" [[package]] name = "owned_ttf_parser" @@ -6629,12 +6424,13 @@ dependencies = [ [[package]] name = "p256" -version = "0.7.3" +version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8adcc06fe90ec8fb2d2ad46746d2cbd639b158d4240364aa832da7e263dbee91" +checksum = "19736d80675fbe9fe33426268150b951a3fb8f5cfca2a23a17c85ef3adb24e3b" dependencies = [ "ecdsa", "elliptic-curve", + "sec1", "sha2 0.9.9", ] @@ -6794,25 +6590,6 @@ dependencies = [ "indexmap", ] -[[package]] -name = "phf_generator" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d5285893bb5eb82e6aaf5d59ee909a06a16737a8970984dd7746ba9283498d6" -dependencies = [ - "phf_shared", - "rand 0.8.5", -] - -[[package]] -name = "phf_shared" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6796ad771acdc0123d2a88dc428b5e38ef24456743ddb1744ed628f9815c096" -dependencies = [ - "siphasher", -] - [[package]] name = "physics-rebuild-data" version = "0.1.0" @@ -6901,27 +6678,18 @@ version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a78f66c04ccc83dd4486fd46c33896f4e17b24a7a3a6400dedc48ed0ddd72320" dependencies = [ - "der 0.5.1", - "pkcs8 0.8.0", + "der", + "pkcs8", "zeroize", ] -[[package]] -name = "pkcs8" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4839a901843f3942576e65857f0ebf2e190ef7024d3c62a94099ba3f819ad1d" -dependencies = [ - "der 0.1.0", -] - [[package]] name = "pkcs8" version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7cabda3fb821068a9a4fab19a683eac3af12edf0f34b94a8be53c4972b8149d0" dependencies = [ - "der 0.5.1", + "der", "spki", "zeroize", ] @@ -6960,17 +6728,6 @@ dependencies = [ "plotters-backend", ] -[[package]] -name = "pmutil" -version = "0.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3894e5d549cccbe44afecf72922f277f603cd4bb0219c8342631ef18fffbe004" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - [[package]] name = "png" version = "0.16.8" @@ -7066,12 +6823,6 @@ version = "0.2.16" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "eb9f9e6e233e5c4a35559a617bf40a4ec447db2e84c20b55a6f83167b7e57872" -[[package]] -name = "precomputed-hash" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "925383efa346730478fb4838dbe9137d2a47675ad789c546d150a6e1dd4ab31c" - [[package]] name = "pretty_env_logger" version = "0.4.0" @@ -7118,11 +6869,11 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.38" +version = "1.0.39" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9027b48e9d4c9175fa2218adf3557f91c1137021739951d4932f5f8268ac48aa" +checksum = "c54b25569025b7fc9651de43004ae593a75ad88543b17178aa5e1b9c4f15f56f" dependencies = [ - "unicode-xid", + "unicode-ident", ] [[package]] @@ -7211,12 +6962,6 @@ dependencies = [ "proc-macro2", ] -[[package]] -name = "radium" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "def50a86306165861203e7f84ecffbbdfdea79f0e51039b33de1e952358c47ac" - [[package]] name = "radium" version = "0.5.3" @@ -7314,9 +7059,9 @@ dependencies = [ [[package]] name = "rayon" -version = "1.5.2" +version = "1.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fd249e82c21598a9a426a4e00dd7adc1d640b22445ec8545feef801d1a74c221" +checksum = "bd99e5772ead8baa5215278c9b15bf92087709e9c1b2d1f97cdb5a183c933a7d" dependencies = [ "autocfg", "crossbeam-deque", @@ -7326,9 +7071,9 @@ dependencies = [ [[package]] name = "rayon-core" -version = "1.9.2" +version = "1.9.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f51245e1e62e1f1629cbfec37b5793bbabcaeb90f30e94d2ba03564687353e4" +checksum = "258bcdb5ac6dad48491bb2992db6b7cf74878b0384908af124823d118c99683f" dependencies = [ "crossbeam-channel", "crossbeam-deque", @@ -7365,7 +7110,7 @@ dependencies = [ "pin-project-lite", "sha1", "tokio", - "tokio-util 0.6.9", + "tokio-util 0.6.10", "url", ] @@ -7427,9 +7172,9 @@ dependencies = [ [[package]] name = "regex" -version = "1.5.5" +version = "1.5.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a11647b6b25ff05a515cb92c365cec08801e83423a235b51e231e1808747286" +checksum = "d83f127d94bdbcda4c8cc2e50f6f84f4b611f69c902699ca385a39c3a75f9ff1" dependencies = [ "aho-corasick", "memchr", @@ -7444,9 +7189,9 @@ checksum = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132" [[package]] name = "regex-syntax" -version = "0.6.25" +version = "0.6.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f497285884f3fcff424ffc933e56d7cbca511def0c9831a7f9b5f6153e3cc89b" +checksum = "49b3de9ec5dc0a3417da371aab17d729997c15010e7fd24ff707773a33bddb64" [[package]] name = "relative-path" @@ -7517,7 +7262,7 @@ dependencies = [ "tokio", "tokio-native-tls", "tokio-rustls 0.23.4", - "tokio-util 0.6.9", + "tokio-util 0.6.10", "url", "wasm-bindgen", "wasm-bindgen-futures", @@ -7528,9 +7273,20 @@ dependencies = [ [[package]] name = "retain_mut" -version = "0.1.7" +version = "0.1.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4389f1d5789befaf6029ebd9f7dac4af7f7e3d61b69d4f30e2ac02b57e7712b0" + +[[package]] +name = "rfc6979" +version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c31b5c4033f8fdde8700e4657be2c497e7288f01515be52168c631e2e4d4086" +checksum = "96ef608575f6392792f9ecf7890c00086591d29a83910939d430753f7c050525" +dependencies = [ + "crypto-bigint", + "hmac 0.11.0", + "zeroize", +] [[package]] name = "rhai" @@ -7619,7 +7375,7 @@ dependencies = [ "num-iter", "num-traits", "pkcs1", - "pkcs8 0.8.0", + "pkcs8", "rand_core 0.6.3", "smallvec", "subtle", @@ -7764,12 +7520,6 @@ version = "0.1.21" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7ef03e0a2b150c7a90d01faf6254c9c48a41e95fb2a8c2ac1c6f0d2b9aefc342" -[[package]] -name = "rustc-hash" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" - [[package]] name = "rustc_version" version = "0.4.0" @@ -7882,9 +7632,9 @@ dependencies = [ [[package]] name = "ryu" -version = "1.0.9" +version = "1.0.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "73b4b750c782965c211b42f022f59af1fbceabdd026623714f104152f1ec149f" +checksum = "f3f6f92acf49d1b98f7a81226834412ada05458b7364277387724a237f062695" [[package]] name = "safemem" @@ -7953,12 +7703,12 @@ dependencies = [ [[package]] name = "schannel" -version = "0.1.19" +version = "0.1.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f05ba609c234e60bee0d547fe94a4c7e9da733d1c962cf6e59efa4cd9c8bc75" +checksum = "88d6731146462ea25d9244b2ed5fd1d716d25c52e4d54aa4fb0f3c4e9854dbe2" dependencies = [ "lazy_static", - "winapi", + "windows-sys", ] [[package]] @@ -8005,6 +7755,19 @@ dependencies = [ "url", ] +[[package]] +name = "sec1" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "08da66b8b0965a5555b6bd6639e68ccba85e1e2506f5fbb089e93f8a04e1a2d1" +dependencies = [ + "der", + "generic-array", + "pkcs8", + "subtle", + "zeroize", +] + [[package]] name = "security-framework" version = "2.6.1" @@ -8030,9 +7793,9 @@ dependencies = [ [[package]] name = "seize" -version = "0.2.2" +version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "12dc9303fcd7adea830a7f82e37a30040e2cd5786933d54c560cc7e8fd748cee" +checksum = "8afcc647f52340fbe22d99e64b66b2353498f4f5eecb9379ed5cbafec0835772" dependencies = [ "num_cpus", "once_cell", @@ -8103,7 +7866,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9b7ce2b32a1aed03c558dc61a5cd328f15aff2dbc17daad8fb8af04d2100e15c" dependencies = [ "indexmap", - "itoa 1.0.1", + "itoa 1.0.2", "ryu", "serde", ] @@ -8124,7 +7887,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d3491c14715ca2294c4d6a88f15e84739788c1d030eed8c110436aafdaa2f3fd" dependencies = [ "form_urlencoded", - "itoa 1.0.1", + "itoa 1.0.2", "ryu", "serde", ] @@ -8154,9 +7917,9 @@ dependencies = [ [[package]] name = "serde_yaml" -version = "0.8.23" +version = "0.8.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4a521f2940385c165a24ee286aa8599633d162077a54bdcae2a6fd5a7bfa7a0" +checksum = "707d15895415db6628332b737c838b88c598522e4dc70647e59b72312924aebc" dependencies = [ "indexmap", "ryu", @@ -8262,12 +8025,12 @@ dependencies = [ [[package]] name = "signature" -version = "1.2.2" +version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29f060a7d147e33490ec10da418795238fd7545bba241504d6b31a409f2e6210" +checksum = "02658e48d89f2bec991f9a78e69cfa4c316f8d6a6c4ec12fae1aeb263d486788" dependencies = [ "digest 0.9.0", - "rand_core 0.5.1", + "rand_core 0.6.3", ] [[package]] @@ -8419,7 +8182,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "44d01ac02a6ccf3e07db148d2be087da624fea0221a16152ed01f0496a6b0a27" dependencies = [ "base64ct", - "der 0.5.1", + "der", ] [[package]] @@ -8478,7 +8241,7 @@ dependencies = [ "hashlink", "hex", "indexmap", - "itoa 1.0.1", + "itoa 1.0.2", "libc", "libsqlite3-sys", "log", @@ -8537,45 +8300,6 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" -[[package]] -name = "string_cache" -version = "0.8.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "213494b7a2b503146286049378ce02b482200519accc31872ee8be91fa820a08" -dependencies = [ - "new_debug_unreachable", - "once_cell", - "parking_lot 0.12.0", - "phf_shared", - "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", - "phf_shared", - "proc-macro2", - "quote", -] - -[[package]] -name = "string_enum" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f584cc881e9e5f1fd6bf827b0444aa94c30d8fe6378cf241071b5f5700b2871f" -dependencies = [ - "pmutil", - "proc-macro2", - "quote", - "swc_macros_common", - "syn", -] - [[package]] name = "stringprep" version = "0.1.2" @@ -8586,12 +8310,6 @@ dependencies = [ "unicode-normalization", ] -[[package]] -name = "strsim" -version = "0.9.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6446ced80d6c486436db5c078dde11a9f73d42b57fb273121e160b84f63d894c" - [[package]] name = "strsim" version = "0.10.0" @@ -8654,144 +8372,15 @@ version = "2.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6bdef32e8150c2a081110b42772ffe7d7c9032b606bc226c8260fd97e0976601" -[[package]] -name = "swc_atoms" -version = "0.2.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba8735ce37e421749498e038955abc1135eec6a4af0b54a173e55d2e5542d472" -dependencies = [ - "string_cache", - "string_cache_codegen", -] - -[[package]] -name = "swc_common" -version = "0.17.25" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "766ad22c1cb8586c038ccba7371a4903a6074b53ee4ba8980a52f502413f120e" -dependencies = [ - "ahash", - "ast_node", - "better_scoped_tls", - "cfg-if 1.0.0", - "debug_unreachable", - "either", - "from_variant", - "num-bigint 0.4.3", - "once_cell", - "rustc-hash", - "serde", - "siphasher", - "string_cache", - "swc_eq_ignore_macros", - "swc_visit", - "tracing", - "unicode-width", - "url", -] - -[[package]] -name = "swc_ecma_ast" -version = "0.75.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72961898fbe56591997e667a1ec6a268383582810351c279a15ec710b6177d33" -dependencies = [ - "is-macro", - "num-bigint 0.4.3", - "serde", - "string_enum", - "swc_atoms", - "swc_common", - "unicode-id", -] - -[[package]] -name = "swc_ecma_parser" -version = "0.100.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "890d967031e3e7330cd7892f27d826b7b4f37c7caa19db85c78a0862e1fe3974" -dependencies = [ - "either", - "enum_kind", - "lexical", - "num-bigint 0.4.3", - "serde", - "smallvec", - "swc_atoms", - "swc_common", - "swc_ecma_ast", - "tracing", - "typed-arena", - "unicode-id", -] - -[[package]] -name = "swc_ecmascript" -version = "0.143.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ebda93aa6422956c184a9eb5fdb0f0f0ff433169fa15e55ef445e5ad0b5e0abe" -dependencies = [ - "swc_ecma_ast", - "swc_ecma_parser", -] - -[[package]] -name = "swc_eq_ignore_macros" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c8f200a2eaed938e7c1a685faaa66e6d42fa9e17da5f62572d3cbc335898f5e" -dependencies = [ - "pmutil", - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "swc_macros_common" -version = "0.3.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d5dca3f08d02da4684c3373150f7c045128f81ea00f0c434b1b012bc65a6cce3" -dependencies = [ - "pmutil", - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "swc_visit" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5c639379dd2a8a0221fa1e12fafbdd594ba53a0cace6560054da52409dfcc1a" -dependencies = [ - "either", - "swc_visit_macros", -] - -[[package]] -name = "swc_visit_macros" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3b9b72892df873972549838bf84d6c56234c7502148a7e23b5a3da6e0fedfb8" -dependencies = [ - "Inflector", - "pmutil", - "proc-macro2", - "quote", - "swc_macros_common", - "syn", -] - [[package]] name = "syn" -version = "1.0.93" +version = "1.0.95" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "04066589568b72ec65f42d65a1a52436e954b168773148893c020269563decf2" +checksum = "fbaf6116ab8924f39d52792136fb74fd60a80194cf1b1c6ffa6453eef1c3f942" dependencies = [ "proc-macro2", "quote", - "unicode-xid", + "unicode-ident", ] [[package]] @@ -8820,9 +8409,9 @@ checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" [[package]] name = "target-lexicon" -version = "0.12.3" +version = "0.12.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d7fa7e55043acb85fca6b3c01485a2eeb6b69c5d21002e273c79e465f43b7ac1" +checksum = "c02424087780c9b71cc96799eaeddff35af2bc513278cda5c99fc1f5d026d3c1" [[package]] name = "target-spec" @@ -8954,15 +8543,6 @@ dependencies = [ "serde_json", ] -[[package]] -name = "text_lines" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e49e3c53dd04de8b8e8390bc4fab57f6db7af7d33b086fe411803e6351c9f9f9" -dependencies = [ - "serde", -] - [[package]] name = "textwrap" version = "0.11.0" @@ -9056,7 +8636,7 @@ version = "0.3.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c2702e08a7a860f005826c6815dcac101b19b5eb330c27fe4a5928fec1d20ddd" dependencies = [ - "itoa 1.0.1", + "itoa 1.0.2", "libc", "num_threads", "quickcheck", @@ -9213,9 +8793,9 @@ dependencies = [ [[package]] name = "tokio-util" -version = "0.6.9" +version = "0.6.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e99e1983e5d376cd8eb4b66604d2e99e79f5bd988c3055891dcd8c9e2604cc0" +checksum = "36943ee01a6d67977dd3f84a5a1d2efeb4ada3a1ae771cadfaa535d9d9fc6507" dependencies = [ "bytes", "futures-core", @@ -9229,9 +8809,9 @@ dependencies = [ [[package]] name = "tokio-util" -version = "0.7.1" +version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0edfdeb067411dba2044da6d1cb2df793dd35add7888d73c16e3381ded401764" +checksum = "f988a1a1adc2fb21f9c12aa96441da33a1728193ae0b95d2be22dbd17fcb4e5c" dependencies = [ "bytes", "futures-core", @@ -9289,7 +8869,7 @@ dependencies = [ "tokio", "tokio-rustls 0.22.0", "tokio-stream", - "tokio-util 0.6.9", + "tokio-util 0.6.10", "tower", "tower-layer", "tower-service", @@ -9341,7 +8921,7 @@ dependencies = [ "rand 0.8.5", "slab", "tokio", - "tokio-util 0.7.1", + "tokio-util 0.7.2", "tower-layer", "tower-service", "tracing", @@ -9369,12 +8949,12 @@ dependencies = [ "percent-encoding", "pin-project-lite", "tokio", - "tokio-util 0.7.1", + "tokio-util 0.7.2", "tower", "tower-layer", "tower-service", "tracing", - "uuid 1.0.0", + "uuid 1.1.0", ] [[package]] @@ -9509,12 +9089,6 @@ dependencies = [ "static_assertions", ] -[[package]] -name = "typed-arena" -version = "2.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0685c84d5d54d1c26f7d3eb96cd41550adb97baed141a761cf335d3d33bcd0ae" - [[package]] name = "typenum" version = "1.15.0" @@ -9561,10 +9135,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "099b7128301d285f79ddd55b9a83d5e6b9e97c92e0ea0daebee7263e932de992" [[package]] -name = "unicode-id" -version = "0.3.2" +name = "unicode-ident" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "69fe8d9274f490a36442acb4edfd0c4e473fdfc6a8b5cd32f28a0235761aedbe" +checksum = "d22af068fba1eb5edcb4aea19d382b2a3deb4c8f9d475c589b6ada9e0fd493ee" [[package]] name = "unicode-normalization" @@ -9609,15 +9183,6 @@ dependencies = [ "subtle", ] -[[package]] -name = "unreachable" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f2ae5ddb18e1c92664717616dd9549dde73f539f01bd7b77c2edb2446bdff91" -dependencies = [ - "void", -] - [[package]] name = "untrusted" version = "0.7.1" @@ -9670,9 +9235,9 @@ dependencies = [ [[package]] name = "uuid" -version = "1.0.0" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8cfcd319456c4d6ea10087ed423473267e1a071f3bc0aa89f80d60997843c6f0" +checksum = "93bbc61e655a4833cf400d0d15bf3649313422fa7572886ad6dab16d79886365" dependencies = [ "getrandom 0.2.6", "serde", @@ -9718,12 +9283,6 @@ dependencies = [ "tokio", ] -[[package]] -name = "void" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d" - [[package]] name = "waitgroup" version = "0.1.2" @@ -9785,7 +9344,7 @@ dependencies = [ "tokio", "tokio-stream", "tokio-tungstenite", - "tokio-util 0.6.9", + "tokio-util 0.6.10", "tower-service", "tracing", ] @@ -10055,9 +9614,9 @@ dependencies = [ [[package]] name = "webrtc-dtls" -version = "0.5.2" +version = "0.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93acab591466d3fd09ce2e03e475e4009a1965af13e63d5973937e3df7f0c421" +checksum = "41f93d6227818bff467f932dd9547d172d8834e25bf3ff2854106f2ec845a948" dependencies = [ "aes 0.6.0", "aes-gcm 0.8.0", @@ -10069,12 +9628,11 @@ dependencies = [ "der-parser 5.1.2", "elliptic-curve", "hmac 0.10.1", - "lazy_static", "log", "oid-registry 0.1.5", "p256", "rand 0.8.5", - "rand_core 0.5.1", + "rand_core 0.6.3", "rcgen", "ring", "rustls 0.19.1", @@ -10398,12 +9956,12 @@ dependencies = [ [[package]] name = "x25519-dalek" -version = "1.1.1" +version = "2.0.0-pre.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a0c105152107e3b96f6a00a65e86ce82d9b125230e1c4302940eca58ff71f4f" +checksum = "e5da623d8af10a62342bcbbb230e33e58a63255a58012f8653c578e54bab48df" dependencies = [ "curve25519-dalek", - "rand_core 0.5.1", + "rand_core 0.6.3", "zeroize", ] diff --git a/crates/lgn-api-codegen/Cargo.toml b/crates/lgn-api-codegen/Cargo.toml index 21f344a8a2..c63b81c543 100644 --- a/crates/lgn-api-codegen/Cargo.toml +++ b/crates/lgn-api-codegen/Cargo.toml @@ -34,11 +34,6 @@ lazy_static = "1" base64 = "0.13" reqwest = "0.11" bytes = "1" -deno_ast = { version = "0.14.1", optional = true } -dprint-plugin-typescript = { version = "0.68.2", optional = true } [dev-dependencies] insta = "1" - -[features] -typescript-format = ["dep:deno_ast", "dep:dprint-plugin-typescript"] diff --git a/crates/lgn-api-codegen/src/errors.rs b/crates/lgn-api-codegen/src/errors.rs index 83be6abc40..7c659102a3 100644 --- a/crates/lgn-api-codegen/src/errors.rs +++ b/crates/lgn-api-codegen/src/errors.rs @@ -12,9 +12,6 @@ pub enum Error { RustFormat(#[from] rust_format::Error), #[error("typescript format: {0}")] TypeScriptFormat(anyhow::Error), - #[cfg(feature = "typescript-format")] - #[error("typescript format: {0}")] - TypeScriptParse(#[from] deno_ast::Diagnostic), #[error("invalid: {0}")] Invalid(String), #[error("missing operation id: {0}")] diff --git a/crates/lgn-api-codegen/src/typescript/mod.rs b/crates/lgn-api-codegen/src/typescript/mod.rs index b01a356fbe..33c68d7cf5 100644 --- a/crates/lgn-api-codegen/src/typescript/mod.rs +++ b/crates/lgn-api-codegen/src/typescript/mod.rs @@ -1,17 +1,7 @@ -#[cfg(feature = "typescript-format")] -use std::sync::Arc; use std::{ffi::OsStr, path::Path}; -#[cfg(feature = "typescript-format")] -use anyhow::anyhow; use askama::Template; -#[cfg(feature = "typescript-format")] -use deno_ast::{parse_module, MediaType as DenoAstMediaType, ParseParams, SourceTextInfo}; -#[cfg(feature = "typescript-format")] -use dprint_plugin_typescript::{configuration::ConfigurationBuilder, format_parsed_source}; -#[cfg(feature = "typescript-format")] -use crate::Error; use crate::{ api::{Api, MediaType, Model}, Generator, Result, @@ -32,9 +22,6 @@ impl Generator for TypeScriptGenerator { fn generate(&self, api: &Api, openapi_file: &Path, output_dir: &Path) -> Result<()> { let content = generate(api)?; - #[cfg(feature = "typescript-format")] - let content = format(content)?; - let output_file = output_dir.join( openapi_file .to_path_buf() @@ -56,30 +43,6 @@ fn generate(api: &Api) -> Result { Ok(content) } -#[cfg(feature = "typescript-format")] -fn format(content: String) -> Result { - let source = SourceTextInfo::new(Arc::new(content)); - - let parsed_source = parse_module(ParseParams { - specifier: "".to_string(), - media_type: DenoAstMediaType::TypeScript, - source, - capture_tokens: true, - maybe_syntax: None, - scope_analysis: false, - })?; - - let configuration = ConfigurationBuilder::new().build(); - - let content = - format_parsed_source(&parsed_source, &configuration).map_err(Error::TypeScriptFormat)?; - - let content = content - .ok_or_else(|| Error::TypeScriptFormat(anyhow!("Couldn't format the typescript source")))?; - - Ok(content) -} - #[cfg(test)] mod tests { use super::*; diff --git a/crates/lgn-async/src/runtime.rs b/crates/lgn-async/src/runtime.rs index b942bbde1a..dc06d9a15a 100644 --- a/crates/lgn-async/src/runtime.rs +++ b/crates/lgn-async/src/runtime.rs @@ -13,7 +13,6 @@ use lgn_tracing::{ spans::{SpanLocation, SpanMetadata}, Verbosity, }; -use retain_mut::RetainMut; use tokio::runtime::{Builder, Handle, Runtime}; use super::operation::{AsyncOperation, AsyncOperationError, AsyncOperationResult}; @@ -152,7 +151,9 @@ impl TokioAsyncRuntime { pub fn poll(&mut self) -> u32 { let mut num_completed = 0; - RetainMut::retain_mut(&mut self.result_handlers, |handler| { + // TODO: #1886 Fix after we move to 1.61 + #[allow(deprecated)] + retain_mut::RetainMut::retain_mut(&mut self.result_handlers, |handler| { let is_complete = handler.try_complete(); if is_complete { diff --git a/deny.toml b/deny.toml index 11928604f4..59a73908f4 100644 --- a/deny.toml +++ b/deny.toml @@ -176,7 +176,7 @@ skip = [ { name = "hyper-rustls", version = "=0.22.1" }, { name = "rustls-native-certs", version = "=0.5.0" }, { name = "tokio-rustls", version = "=0.22.0" }, - { name = "tokio-util", version = "=0.6.9" }, + { name = "tokio-util", version = "=0.6.10" }, # Introduced by criterion { name = "clap", version = "=2.34.0" }, { name = "textwrap", version = "=0.11.0" },