From cc2c6f9dc82850d2cb0538ae413582ea8a3504df Mon Sep 17 00:00:00 2001 From: Denis Cornehl Date: Wed, 31 Jul 2024 17:39:26 +0200 Subject: [PATCH] upgrade comrak, gix, dashmap --- Cargo.lock | 35 ++++++++++++++++++++++++++++++----- Cargo.toml | 6 +++--- 2 files changed, 33 insertions(+), 8 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d7e835158..ec4855f60 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -933,6 +933,16 @@ dependencies = [ "pkg-config", ] +[[package]] +name = "caseless" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "808dab3318747be122cb31d36de18d4d1c81277a76f8332a02b81a3d73463d7f" +dependencies = [ + "regex", + "unicode-normalization", +] + [[package]] name = "cast" version = "0.3.0" @@ -1080,10 +1090,11 @@ dependencies = [ [[package]] name = "comrak" -version = "0.24.1" +version = "0.26.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a972c8ec1be8065f7b597b5f7f5b3be535db780280644aebdcd1966decf58dc" +checksum = "395ab67843c57df5a4ee29d610740828dbc928cc64ecf0f2a1d5cd0e98e107a9" dependencies = [ + "caseless", "derive_builder", "entities", "memchr", @@ -1461,6 +1472,20 @@ dependencies = [ "parking_lot_core", ] +[[package]] +name = "dashmap" +version = "6.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "804c8821570c3f8b70230c2ba75ffa5c0f9a4189b9a432b6656c536712acae28" +dependencies = [ + "cfg-if", + "crossbeam-utils", + "hashbrown 0.14.5", + "lock_api", + "once_cell", + "parking_lot_core", +] + [[package]] name = "debugid" version = "0.8.0" @@ -1617,13 +1642,13 @@ dependencies = [ "crates-index", "crates-index-diff", "criterion", - "dashmap", + "dashmap 6.0.1", "docsrs-metadata", "fn-error-context", "font-awesome-as-a-crate", "futures-util", "getrandom 0.2.15", - "gix 0.63.0", + "gix 0.64.0", "grass", "hex", "hostname", @@ -2920,7 +2945,7 @@ version = "14.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "006acf5a613e0b5cf095d8e4b3f48c12a60d9062aa2b2dd105afaf8344a5600c" dependencies = [ - "dashmap", + "dashmap 5.5.3", "gix-fs", "libc", "once_cell", diff --git a/Cargo.toml b/Cargo.toml index 824babfd9..22f32c596 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -46,7 +46,7 @@ docsrs-metadata = { path = "crates/metadata" } anyhow = { version = "1.0.42", features = ["backtrace"]} backtrace = "0.3.61" thiserror = "1.0.26" -comrak = { version = "0.24.1", default-features = false } +comrak = { version = "0.26.0", default-features = false } syntect = { version = "5.0.0", default-features = false, features = ["parsing", "html", "dump-load", "regex-onig"] } toml = "0.8.0" prometheus = { version = "0.13.0", default-features = false } @@ -60,7 +60,7 @@ base64 = "0.22" strum = { version = "0.26.1", features = ["derive"] } lol_html = "1.0.0" font-awesome-as-a-crate = { path = "crates/font-awesome-as-a-crate" } -dashmap = "5.1.0" +dashmap = "6.0.0" string_cache = "0.8.0" postgres-types = { version = "0.2", features = ["derive"] } zip = {version = "1.1.4", default-features = false, features = ["bzip2"]} @@ -139,7 +139,7 @@ debug = "line-tables-only" [build-dependencies] time = "0.3" -gix = { version = "0.63.0", default-features = false } +gix = { version = "0.64.0", default-features = false } string_cache_codegen = "0.5.1" walkdir = "2" anyhow = { version = "1.0.42", features = ["backtrace"] }