Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Update Rust crate async-tar to 0.6.0 [SECURITY] (#60623)

renovate[bot]a1230fc5847e
diff --git a/Cargo.lock b/Cargo.lock
index b2a540338f6..a44cdb5271c 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1235,15 +1235,15 @@ dependencies = [
[[package]]
name = "async-tar"
-version = "0.5.1"
+version = "0.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d1937db2d56578aa3919b9bdb0e5100693fd7d1c0f145c53eb81fbb03e217550"
+checksum = "f6affe71e5b6180fb5eaf9e8127a243694baf6ae1120c199227167302f56c14b"
dependencies = [
"async-std",
"filetime",
+ "futures-core",
"libc",
- "pin-project",
- "redox_syscall 0.2.16",
+ "redox_syscall 0.7.5",
"xattr",
]
@@ -6657,14 +6657,12 @@ dependencies = [
[[package]]
name = "filetime"
-version = "0.2.26"
+version = "0.2.29"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bc0505cd1b6fa6580283f6bdf70a73fcf4aba1184038c90902b92b3dd0df63ed"
+checksum = "5c287a33c7f0a620c38e641e7f60827713987b3c0f26e8ddc9462cc69cf75759"
dependencies = [
"cfg-if",
"libc",
- "libredox",
- "windows-sys 0.60.2",
]
[[package]]
@@ -6894,6 +6892,7 @@ dependencies = [
"anyhow",
"ashpd",
"async-channel 2.5.0",
+ "async-std",
"async-tar",
"async-trait",
"collections",
@@ -14974,18 +14973,18 @@ dependencies = [
[[package]]
name = "redox_syscall"
-version = "0.2.16"
+version = "0.5.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a"
+checksum = "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d"
dependencies = [
- "bitflags 1.3.2",
+ "bitflags 2.10.0",
]
[[package]]
name = "redox_syscall"
-version = "0.5.18"
+version = "0.7.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d"
+checksum = "4666a1a60d8412eab19d94f6d13dcc9cea0a5ef4fdf6a5db306537413c661b1b"
dependencies = [
"bitflags 2.10.0",
]
@@ -22711,11 +22710,12 @@ dependencies = [
[[package]]
name = "xattr"
-version = "0.2.3"
+version = "1.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6d1526bbe5aaeb5eb06885f4d987bcdfa5e23187055de9b83fe00156a821fabc"
+checksum = "32e45ad4206f6d2479085147f02bc2ef834ac85886624a23575ae137c8aa8156"
dependencies = [
"libc",
+ "rustix 1.1.2",
]
[[package]]
diff --git a/Cargo.toml b/Cargo.toml
index 29e6e44daa6..4f827f0c421 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -530,7 +530,9 @@ async-io = "2.6.0"
async-lock = "3.4.2"
async-pipe = { git = "https://github.com/zed-industries/async-pipe-rs", rev = "82d00a04211cf4e1236029aa03e6b6ce2a74c553" }
async-recursion = "1.0.0"
-async-tar = "0.5.1"
+# `unstable` is required to compile async-tar's Windows symlink support.
+async-std = { version = "1.12", features = ["unstable"] }
+async-tar = "0.6"
async-task = "4.7"
async-trait = "0.1"
async-tungstenite = "0.31.0"
diff --git a/crates/copilot/Cargo.toml b/crates/copilot/Cargo.toml
index 0d9d9ed1e61..3b73bacb2e0 100644
--- a/crates/copilot/Cargo.toml
+++ b/crates/copilot/Cargo.toml
@@ -48,7 +48,7 @@ util.workspace = true
workspace.workspace = true
[target.'cfg(windows)'.dependencies]
-async-std = { version = "1.12.0", features = ["unstable"] }
+async-std.workspace = true
[dev-dependencies]
collections = { workspace = true, features = ["test-support"] }
diff --git a/crates/fs/Cargo.toml b/crates/fs/Cargo.toml
index 871ac718028..2d8ee40ab26 100644
--- a/crates/fs/Cargo.toml
+++ b/crates/fs/Cargo.toml
@@ -48,6 +48,7 @@ trash = { git = "https://github.com/zed-industries/trash-rs", rev = "47761739192
[target.'cfg(target_os = "windows")'.dependencies]
windows.workspace = true
dunce.workspace = true
+async-std.workspace = true
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies]
ashpd.workspace = true
diff --git a/crates/node_runtime/Cargo.toml b/crates/node_runtime/Cargo.toml
index 25f7b2997e5..5da2f60f124 100644
--- a/crates/node_runtime/Cargo.toml
+++ b/crates/node_runtime/Cargo.toml
@@ -34,4 +34,4 @@ watch.workspace = true
which.workspace = true
[target.'cfg(windows)'.dependencies]
-async-std = { version = "1.12.0", features = ["unstable"] }
+async-std.workspace = true