From bcd8119332d90cca023114f2e33e526d82069bf1 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 29 Jan 2025 15:59:36 +0100 Subject: [PATCH] chore(deps): update rust crate embed-resource to v3 (#422) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: FabianLars --- Cargo.lock | 4 ++-- Cargo.toml | 2 +- build.rs | 4 +++- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 34e67f1..8185c22 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -404,9 +404,9 @@ checksum = "a26ae43d7bcc3b814de94796a5e736d4029efb0ee900c12e2d54c993ad1a1e07" [[package]] name = "embed-resource" -version = "2.5.0" +version = "3.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4e24052d7be71f0efb50c201557f6fe7d237cfd5a64fd5bcd7fd8fe32dbbffa" +checksum = "4762ce03154ba57ebaeee60cc631901ceae4f18219cbb874e464347471594742" dependencies = [ "cc", "memchr", diff --git a/Cargo.toml b/Cargo.toml index 3cbec58..1e49c42 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -113,7 +113,7 @@ features = [ ] [target."cfg(windows)".build-dependencies] -embed-resource = "2.4" +embed-resource = "3.0" [build-dependencies] home = { version = "0.5", optional = true } diff --git a/build.rs b/build.rs index 65aa598..72929a0 100644 --- a/build.rs +++ b/build.rs @@ -85,6 +85,8 @@ fn main() { let manifest_path = manifest_dir.join("cargo-mobile.exe.manifest"); println!("cargo:rerun-if-changed={}", resource_path.display()); println!("cargo:rerun-if-changed={}", manifest_path.display()); - embed_resource::compile("cargo-mobile-manifest.rc", embed_resource::NONE); + embed_resource::compile("cargo-mobile-manifest.rc", embed_resource::NONE) + .manifest_optional() + .unwrap(); } }