Skip to content

Commit

Permalink
[rust] Force windows-sys to 0.48.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bonigarcia committed May 17, 2024
1 parent dd8b8f8 commit 6b8d133
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
12 changes: 10 additions & 2 deletions rust/Cargo.Bazel.lock
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"checksum": "d8671aa04f5cd21901de59f80188b5fa42024b948d0efab13eb8b24310ff43fa",
"checksum": "0db4acfe4617009d449937814cffbe407812ce826bc68489fe144b379231bca7",
"crates": {
"addr2line 0.21.0": {
"name": "addr2line",
Expand Down Expand Up @@ -13622,7 +13622,14 @@
"target": "zip"
}
],
"selects": {}
"selects": {
"cfg(target_os = \"windows\")": [
{
"id": "windows-sys 0.48.0",
"target": "windows_sys"
}
]
}
},
"deps_dev": {
"common": [
Expand Down Expand Up @@ -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": [
Expand Down
1 change: 1 addition & 0 deletions rust/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand Down

0 comments on commit 6b8d133

Please sign in to comment.