diff --git a/rust/Cargo.Bazel.lock b/rust/Cargo.Bazel.lock index 386bab76d2581..1740ce7123dd9 100644 --- a/rust/Cargo.Bazel.lock +++ b/rust/Cargo.Bazel.lock @@ -1,5 +1,5 @@ { - "checksum": "d8671aa04f5cd21901de59f80188b5fa42024b948d0efab13eb8b24310ff43fa", + "checksum": "0db4acfe4617009d449937814cffbe407812ce826bc68489fe144b379231bca7", "crates": { "addr2line 0.21.0": { "name": "addr2line", @@ -13622,7 +13622,14 @@ "target": "zip" } ], - "selects": {} + "selects": { + "cfg(target_os = \"windows\")": [ + { + "id": "windows-sys 0.48.0", + "target": "windows_sys" + } + ] + } }, "deps_dev": { "common": [ @@ -21635,6 +21642,7 @@ "tokio 1.37.0", "toml 0.8.13", "walkdir 2.5.0", + "windows-sys 0.48.0", "zip 1.3.0" ], "direct_dev_deps": [ diff --git a/rust/Cargo.lock b/rust/Cargo.lock index f0e820d6d12d0..a87b71fb89fb1 100644 --- a/rust/Cargo.lock +++ b/rust/Cargo.lock @@ -1828,6 +1828,7 @@ dependencies = [ "tokio", "toml", "walkdir", + "windows-sys 0.48.0", "zip", ] diff --git a/rust/Cargo.toml b/rust/Cargo.toml index 5cf73e3932a70..1a43f297aed6c 100644 --- a/rust/Cargo.toml +++ b/rust/Cargo.toml @@ -19,7 +19,7 @@ regex = "1.10.4" tokio = { version = "1.37.0", default-features = false, features = ["macros", "net", "rt-multi-thread"] } tempfile = "3.10.1" reqwest = { version = "0.12.4", default-features = false, features = ["rustls-tls"] } -zip = { version = "1.3.0", default-features = false, features = ["deflate-zlib"]} +zip = { version = "1.3.0", default-features = false, features = ["deflate-zlib"] } directories = "5.0.1" serde = { version = "1.0.202", features = ["derive"] } serde_json = "1.0.117" @@ -36,6 +36,9 @@ debpkg = "0.6.0" anyhow = { version = "1.0.84", default-features = false, features = ["backtrace" , "std"] } apple-flat-package = "0.18.0" +[target.'cfg(target_os = "windows")'.dependencies] +windows-sys = "0.48.0" + [dev-dependencies] assert_cmd = "2.0.14" rstest = "0.19.0"