From 9f8db0de0d74c744aa6758a62ab6886a32a90bcb Mon Sep 17 00:00:00 2001 From: BD103 <59022059+BD103@users.noreply.github.com> Date: Tue, 16 Jan 2024 00:23:18 -0500 Subject: [PATCH] Bump toml_edit in build-template-pages tool (#11342) # Objective - The [`build-templated-pages`](https://github.com/bevyengine/bevy/tree/4778fbeb65d840eb39bda017fd428ebfc17a1153/tools/build-templated-pages) tool is used to render the Markdown templates in the [docs-template](https://github.com/bevyengine/bevy/tree/4778fbeb65d840eb39bda017fd428ebfc17a1153/docs-template) folder. - It depends on out outdated version of `toml_edit`. ## Solution - Bump `toml_edit` to 0.21, disabling all features except `parse`. --- crates/bevy_macro_utils/Cargo.toml | 2 +- tools/build-templated-pages/Cargo.toml | 2 +- tools/example-showcase/Cargo.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/bevy_macro_utils/Cargo.toml b/crates/bevy_macro_utils/Cargo.toml index 88082b5a1ecec..90f5417168f9f 100644 --- a/crates/bevy_macro_utils/Cargo.toml +++ b/crates/bevy_macro_utils/Cargo.toml @@ -9,7 +9,7 @@ license = "MIT OR Apache-2.0" keywords = ["bevy"] [dependencies] -toml_edit = "0.20" +toml_edit = { version = "0.21", default-features = false, features = ["parse"] } syn = "2.0" quote = "1.0" rustc-hash = "1.0" diff --git a/tools/build-templated-pages/Cargo.toml b/tools/build-templated-pages/Cargo.toml index 2edb38f88a145..8a361c976b096 100644 --- a/tools/build-templated-pages/Cargo.toml +++ b/tools/build-templated-pages/Cargo.toml @@ -7,7 +7,7 @@ publish = false license = "MIT OR Apache-2.0" [dependencies] -toml_edit = "0.20" +toml_edit = { version = "0.21", default-features = false, features = ["parse"] } tera = "1.15" serde = { version = "1.0", features = ["derive"] } bitflags = "2.3" diff --git a/tools/example-showcase/Cargo.toml b/tools/example-showcase/Cargo.toml index 2374a78498aa9..b1b5c27b7feb0 100644 --- a/tools/example-showcase/Cargo.toml +++ b/tools/example-showcase/Cargo.toml @@ -10,5 +10,5 @@ license = "MIT OR Apache-2.0" xshell = "0.2" clap = { version = "4.0", features = ["derive"] } ron = "0.8" -toml_edit = "0.20" +toml_edit = { version = "0.21", default-features = false, features = ["parse"] } pbr = "1.1"