From 28a8c00d3faa4054a47f1ccfbeaa2387ca2e9694 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 1 Dec 2024 01:35:15 +0000 Subject: [PATCH] chore(deps)!: Update Rust crate cargo_metadata to 0.19 --- Cargo.lock | 25 +++++++++++++++++-------- Cargo.toml | 6 +++++- 2 files changed, 22 insertions(+), 9 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 3f05713..30bf83d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -28,9 +28,9 @@ dependencies = [ [[package]] name = "cargo_metadata" -version = "0.18.0" +version = "0.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb9ac64500cc83ce4b9f8dafa78186aa008c8dea77a09b94cd307fd0cd5022a8" +checksum = "afc309ed89476c8957c50fb818f56fe894db857866c3e163335faa91dc34eb85" dependencies = [ "camino", "cargo-platform", @@ -57,6 +57,8 @@ dependencies = [ "anstyle", "cargo_metadata", "clap", + "serde", + "serde_json", ] [[package]] @@ -99,6 +101,12 @@ version = "1.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "453ad9f582a441959e5f0d088b02ce04cfe8d51a8eaf077f12ac6d3e94164ca6" +[[package]] +name = "memchr" +version = "2.7.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3" + [[package]] name = "proc-macro2" version = "1.0.78" @@ -134,18 +142,18 @@ dependencies = [ [[package]] name = "serde" -version = "1.0.159" +version = "1.0.210" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c04e8343c3daeec41f58990b9d77068df31209f2af111e059e9fe9646693065" +checksum = "c8e3592472072e6e22e0a54d5904d9febf8508f65fb8552499a1abc7d1078c3a" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.159" +version = "1.0.210" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c614d17805b093df4b147b51339e7e44bf05ef59fba1e45d83500bcfb4d8585" +checksum = "243902eda00fad750862fc144cea25caca5e20d615af0a81bee94ca738f1df1f" dependencies = [ "proc-macro2", "quote", @@ -154,11 +162,12 @@ dependencies = [ [[package]] name = "serde_json" -version = "1.0.95" +version = "1.0.133" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d721eca97ac802aa7777b701877c8004d950fc142651367300d21c1cc0194744" +checksum = "c7fceb2473b9166b2294ef05efcb65a3db80803f0b03ef86a5fc88a2b85ee377" dependencies = [ "itoa", + "memchr", "ryu", "serde", ] diff --git a/Cargo.toml b/Cargo.toml index 3c27077..662800c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -117,9 +117,13 @@ cargo_metadata = ["dep:cargo_metadata"] [dependencies] anstyle = "1.0.3" -cargo_metadata = { version = "0.18", optional = true } +cargo_metadata = { version = "0.19", optional = true } clap = { version = "4.4.1", default-features = false, features = ["std", "derive"], optional = true } +[target.'cfg(any())'.dependencies] +serde = "1.0.210" # HACK: bad minimal dep in cargo_metadata +serde_json = "1.0.133" # HACK: bad minimal dep in cargo_metadata + [[example]] name = "flags" required-features = ["clap"]