From 58e3b788dc4faae1b4d233569bac9901c373c089 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 14 Nov 2024 12:07:17 +0200 Subject: [PATCH] Update Rust crate mdbook to v0.4.42 (#20629) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [mdbook](https://redirect.github.com/rust-lang/mdBook) | dependencies | patch | `0.4.40` -> `0.4.42` | --- ### Release Notes
rust-lang/mdBook (mdbook) ### [`v0.4.42`](https://redirect.github.com/rust-lang/mdBook/blob/HEAD/CHANGELOG.md#mdBook-0442) [Compare Source](https://redirect.github.com/rust-lang/mdBook/compare/v0.4.41...v0.4.42) [v0.4.41...v0.4.42](https://redirect.github.com/rust-lang/mdBook/compare/v0.4.41...v0.4.42) ##### Fixed - Fixed chapter list folding. [#​2473](https://redirect.github.com/rust-lang/mdBook/pull/2473) ### [`v0.4.41`](https://redirect.github.com/rust-lang/mdBook/blob/HEAD/CHANGELOG.md#mdBook-0441) [Compare Source](https://redirect.github.com/rust-lang/mdBook/compare/v0.4.40...v0.4.41) [v0.4.40...v0.4.41](https://redirect.github.com/rust-lang/mdBook/compare/v0.4.40...v0.4.41) **Note:** If you have a custom `index.hbs` theme file, you will need to update it to the latest version. ##### Added - Added preliminary support for Rust 2024 edition. [#​2398](https://redirect.github.com/rust-lang/mdBook/pull/2398) - Added a full example of the remove-emphasis preprocessor. [#​2464](https://redirect.github.com/rust-lang/mdBook/pull/2464) ##### Changed - Adjusted styling of clipboard/play icons. [#​2421](https://redirect.github.com/rust-lang/mdBook/pull/2421) - Updated to handlebars v6. [#​2416](https://redirect.github.com/rust-lang/mdBook/pull/2416) - Attr and section rules now have specific code highlighting. [#​2448](https://redirect.github.com/rust-lang/mdBook/pull/2448) - The sidebar is now loaded from a common file, significantly reducing the book size when there are many chapters. [#​2414](https://redirect.github.com/rust-lang/mdBook/pull/2414) - Updated dependencies. [#​2470](https://redirect.github.com/rust-lang/mdBook/pull/2470) ##### Fixed - Improved theme support when JavaScript is disabled. [#​2454](https://redirect.github.com/rust-lang/mdBook/pull/2454) - Fixed broken themes when localStorage has an invalid theme id. [#​2463](https://redirect.github.com/rust-lang/mdBook/pull/2463) - Adjusted the line-height of superscripts (and footnotes) to avoid adding extra space between lines. [#​2465](https://redirect.github.com/rust-lang/mdBook/pull/2465)
--- ### Configuration 📅 **Schedule**: Branch creation - "after 3pm on Wednesday" in timezone America/New_York, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- Release Notes: - N/A Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- Cargo.lock | 28 ++++++++++++++++++++++------ 1 file changed, 22 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 72ae6a6258856c3b49895faa2774a06074f44d90..1bd93a069526cb97e792ad361ac8460a9efc7f37 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5274,11 +5274,12 @@ dependencies = [ [[package]] name = "handlebars" -version = "5.1.2" +version = "6.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d08485b96a0e6393e9e4d1b8d48cf74ad6c063cd905eb33f42c1ce3f0377539b" +checksum = "fd4ccde012831f9a071a637b0d4e31df31c0f6c525784b35ae76a9ac6bc1e315" dependencies = [ "log", + "num-order", "pest", "pest_derive", "serde", @@ -5652,7 +5653,7 @@ dependencies = [ "httpdate", "itoa", "pin-project-lite", - "socket2 0.5.7", + "socket2 0.4.10", "tokio", "tower-service", "tracing", @@ -6937,9 +6938,9 @@ dependencies = [ [[package]] name = "mdbook" -version = "0.4.40" +version = "0.4.42" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b45a38e19bd200220ef07c892b0157ad3d2365e5b5a267ca01ad12182491eea5" +checksum = "7624879735513024d323e7267a0b3a7176aceb0db537939beb4ee31d9e8945e3" dependencies = [ "ammonia", "anyhow", @@ -6949,7 +6950,7 @@ dependencies = [ "elasticlunr-rs", "env_logger 0.11.5", "futures-util", - "handlebars 5.1.2", + "handlebars 6.2.0", "ignore", "log", "memchr", @@ -7503,6 +7504,21 @@ dependencies = [ "num-traits", ] +[[package]] +name = "num-modular" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "17bb261bf36fa7d83f4c294f834e91256769097b3cb505d44831e0a179ac647f" + +[[package]] +name = "num-order" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "537b596b97c40fcf8056d153049eb22f481c17ebce72a513ec9286e4986d1bb6" +dependencies = [ + "num-modular", +] + [[package]] name = "num-rational" version = "0.4.2"