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 <github@fabianlars.de>
This commit is contained in:
renovate[bot]
2025-01-29 15:59:36 +01:00
committed by GitHub
parent 6dc667c0f7
commit bcd8119332
3 changed files with 6 additions and 4 deletions

4
Cargo.lock generated
View File

@@ -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",

View File

@@ -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 }

View File

@@ -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();
}
}