From 1fffae7dbbc37ea5efad3153aac9808773ed964a Mon Sep 17 00:00:00 2001 From: David Sherret Date: Sun, 28 Jul 2024 15:44:02 -0400 Subject: [PATCH] chore_update_dprint_core (#84) --- Cargo.lock | 50 ++++++++++++++++++++++++++++++++++++++++++++++++-- Cargo.toml | 6 +++--- dprint.json | 12 ++++++------ 3 files changed, 57 insertions(+), 11 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index cddff9c..9cf04e9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -17,6 +17,18 @@ version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" +[[package]] +name = "ahash" +version = "0.8.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e89da841a80418a9b391ebaea17f5c112ffaaa96f621d2c285b5174da76b9011" +dependencies = [ + "cfg-if", + "once_cell", + "version_check", + "zerocopy", +] + [[package]] name = "aho-corasick" version = "1.1.3" @@ -26,6 +38,12 @@ dependencies = [ "memchr", ] +[[package]] +name = "allocator-api2" +version = "0.2.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c6cb57a04249c6480766f7f7cef5467412af1490f8d1e243141daddada3264f" + [[package]] name = "anyhow" version = "1.0.86" @@ -163,6 +181,9 @@ name = "bumpalo" version = "3.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c" +dependencies = [ + "allocator-api2", +] [[package]] name = "bytes" @@ -427,15 +448,16 @@ dependencies = [ [[package]] name = "dprint-core" -version = "0.65.0" +version = "0.67.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b569f4e3085ae957ecc37588e6b2227791b72745434eae966db29e122ba27f0d" +checksum = "2309841cd79a9c60d2976f46b2df63d9a1a52211a3c62424e1e105b52dd5c436" dependencies = [ "anyhow", "async-trait", "bumpalo", "crossbeam-channel", "futures", + "hashbrown", "indexmap", "libc", "parking_lot", @@ -680,6 +702,10 @@ name = "hashbrown" version = "0.14.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1" +dependencies = [ + "ahash", + "allocator-api2", +] [[package]] name = "heck" @@ -1754,6 +1780,26 @@ version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "09041cd90cf85f7f8b2df60c646f853b7f535ce68f85244eb6731cf89fa498ec" +[[package]] +name = "zerocopy" +version = "0.7.35" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1b9b4fd18abc82b8136838da5d50bae7bdea537c574d8dc1a34ed098d6c166f0" +dependencies = [ + "zerocopy-derive", +] + +[[package]] +name = "zerocopy-derive" +version = "0.7.35" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + [[package]] name = "zstd" version = "0.13.2" diff --git a/Cargo.toml b/Cargo.toml index 1212033..bb70a34 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,11 +6,11 @@ members = [ ] [workspace.dependencies] -once_cell = "1.18" -deno_core = "0.299.0" deno_console = "0.163.0" +deno_core = "0.299.0" deno_url = "0.163.0" deno_webidl = "0.163.0" -dprint-core = "0.65.0" +dprint-core = "0.67.0" +once_cell = "1.18" serde = { version = "1.0.149", features = ["derive"] } serde_json = { version = "1.0", features = ["preserve_order"] } diff --git a/dprint.json b/dprint.json index 62987e3..1edf7dc 100644 --- a/dprint.json +++ b/dprint.json @@ -14,11 +14,11 @@ "**/target" ], "plugins": [ - "https://plugins.dprint.dev/typescript-0.88.7.wasm", - "https://plugins.dprint.dev/json-0.19.1.wasm", - "https://plugins.dprint.dev/markdown-0.16.3.wasm", - "https://plugins.dprint.dev/exec-0.4.4.json@c207bf9b9a4ee1f0ecb75c594f774924baf62e8e53a2ce9d873816a408cecbf7", - "https://plugins.dprint.dev/prettier-0.32.1.json@19aa403ef0862ba8c41164e3dc6f84c0b7a66c2b11e42726b23dd25e6302ada9", - "https://plugins.dprint.dev/toml-0.5.4.wasm" + "https://plugins.dprint.dev/typescript-0.91.4.wasm", + "https://plugins.dprint.dev/json-0.19.3.wasm", + "https://plugins.dprint.dev/markdown-0.17.2.wasm", + "https://plugins.dprint.dev/exec-0.5.0.json@8d9972eee71fa1590e04873540421f3eda7674d0f1aae3d7c788615e7b7413d0", + "https://plugins.dprint.dev/prettier-0.46.1.json@e5bd083088a8dfc6e5ce2d3c9bee81489b065bd5345ef55b59f5d96627928b7a", + "https://plugins.dprint.dev/toml-0.6.2.wasm" ] }