Skip to content

A lightweight WebAssembly runtime that is fast, secure, and standards-compliant

Update cap-std dependencies (#13568)

Alex Crichton227dcccea54b
diff --git a/Cargo.lock b/Cargo.lock
index 1322cc38cf..721f319cdd 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -357,21 +357,21 @@ dependencies = [
[[package]]
name = "cap-fs-ext"
-version = "3.4.5"
+version = "4.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d5528f85b1e134ae811704e41ef80930f56e795923f866813255bc342cc20654"
+checksum = "d78e5a3368ae89b7cb68186411452b4b9fac8b41be9c19bf3f47c2d2c8e36e6b"
dependencies = [
"cap-primitives",
"cap-std",
- "io-lifetimes",
- "windows-sys 0.52.0",
+ "io-lifetimes 3.0.1",
+ "windows-sys 0.61.2",
]
[[package]]
name = "cap-net-ext"
-version = "3.4.5"
+version = "4.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "20a158160765c6a7d0d8c072a53d772e4cb243f38b04bfcf6b4939cfbe7482e7"
+checksum = "35e3ea603c5602ad8839d4cfcccbfb72bf494286a3dc4564b3b8f52d8f803a89"
dependencies = [
"cap-primitives",
"cap-std",
@@ -381,39 +381,39 @@ dependencies = [
[[package]]
name = "cap-primitives"
-version = "3.4.5"
+version = "4.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b6cf3aea8a5081171859ef57bc1606b1df6999df4f1110f8eef68b30098d1d3a"
+checksum = "cdadbd7c002d3a484b35243669abdae85a0ebaded5a61117169dc3400f9a7ff0"
dependencies = [
"ambient-authority",
"fs-set-times",
"io-extras",
- "io-lifetimes",
+ "io-lifetimes 3.0.1",
"ipnet",
"maybe-owned",
"rustix 1.1.4",
"rustix-linux-procfs",
- "windows-sys 0.52.0",
+ "windows-sys 0.61.2",
"winx",
]
[[package]]
name = "cap-std"
-version = "3.4.5"
+version = "4.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b6dc3090992a735d23219de5c204927163d922f42f575a0189b005c62d37549a"
+checksum = "7281235d6e96d3544ca18bba9049be92f4190f8d923e3caef1b5f66cfa752608"
dependencies = [
"cap-primitives",
"io-extras",
- "io-lifetimes",
+ "io-lifetimes 3.0.1",
"rustix 1.1.4",
]
[[package]]
name = "cap-time-ext"
-version = "3.4.5"
+version = "4.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "def102506ce40c11710a9b16e614af0cde8e76ae51b1f48c04b8d79f4b671a80"
+checksum = "15846d522ff80af20ebd2b690f56a0710f7e394911a85d76556d98e2264ae0d4"
dependencies = [
"ambient-authority",
"cap-primitives",
@@ -1488,7 +1488,7 @@ version = "0.20.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "94e7099f6313ecacbe1256e8ff9d617b75d1bcb16a6fddef94866d225a01a14a"
dependencies = [
- "io-lifetimes",
+ "io-lifetimes 2.0.3",
"rustix 1.1.4",
"windows-sys 0.52.0",
]
@@ -2120,11 +2120,11 @@ dependencies = [
[[package]]
name = "io-extras"
-version = "0.18.4"
+version = "0.19.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2285ddfe3054097ef4b2fe909ef8c3bcd1ea52a8f0d274416caebeef39f04a65"
+checksum = "20fd6de4ccfcc187e38bc21cfa543cb5a302cb86a8b114eb7f0bf0dc9f8ac00f"
dependencies = [
- "io-lifetimes",
+ "io-lifetimes 3.0.1",
"windows-sys 0.52.0",
]
@@ -2134,6 +2134,12 @@ version = "2.0.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5a611371471e98973dbcab4e0ec66c31a10bc356eeb4d54a0e05eac8158fe38c"
+[[package]]
+name = "io-lifetimes"
+version = "3.0.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2f0fb0570afe1fed943c5c3d4102d5358592d8625fda6a0007fdbe65a92fba96"
+
[[package]]
name = "ipnet"
version = "2.5.0"
@@ -3677,9 +3683,9 @@ dependencies = [
[[package]]
name = "target-lexicon"
-version = "0.13.3"
+version = "0.13.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "df7f62577c25e07834649fc3b39fafdc597c0a3527dc1c60129201ccfcbaa50c"
+checksum = "adb6935a6f5c20170eeceb1a3835a49e12e19d792f6dd344ccc76a985ca5a6ca"
[[package]]
name = "tch"
@@ -5222,8 +5228,7 @@ dependencies = [
"cfg-if",
"env_logger 0.11.5",
"futures",
- "io-extras",
- "io-lifetimes",
+ "io-lifetimes 3.0.1",
"rand 0.10.1",
"rustix 1.1.4",
"tempfile",
diff --git a/Cargo.toml b/Cargo.toml
index 4308278878..582dc3e3b3 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -345,16 +345,13 @@ regalloc2 = "0.15.1"
wasip1 = { version = "1.0.0", default-features = false }
# cap-std family:
-target-lexicon = "0.13.3"
-cap-std = "3.4.5"
-cap-fs-ext = "3.4.5"
-cap-net-ext = "3.4.5"
-cap-time-ext = "3.4.5"
-cap-tempfile = "3.4.5"
-fs-set-times = "0.20.3"
-system-interface = { version = "0.27.3", features = ["cap_std_impls"] }
-io-lifetimes = { version = "2.0.3", default-features = false }
-io-extras = "0.18.4"
+target-lexicon = "0.13.5"
+cap-std = "4.0.2"
+cap-fs-ext = "4.0.2"
+cap-net-ext = "4.0.2"
+cap-time-ext = "4.0.2"
+cap-tempfile = "4.0.2"
+io-lifetimes = { version = "3.0.1", default-features = false }
rustix = "1.1.4"
# wit-bindgen:
wit-bindgen = { version = "0.57.0", default-features = false }
diff --git a/crates/wasi/Cargo.toml b/crates/wasi/Cargo.toml
index 63dea016b6..148eadd7dc 100644
--- a/crates/wasi/Cargo.toml
+++ b/crates/wasi/Cargo.toml
@@ -52,7 +52,6 @@ env_logger = { workspace = true }
rustix = { workspace = true, features = ["event", "fs", "net"] }
[target.'cfg(windows)'.dependencies]
-io-extras = { workspace = true }
rustix = { workspace = true, features = ["event", "net"] }
[target.'cfg(windows)'.dependencies.windows-sys]
diff --git a/deny.toml b/deny.toml
index 1551355f9b..03edc7b394 100644
--- a/deny.toml
+++ b/deny.toml
@@ -38,8 +38,7 @@ skip = [
{ name = "cpufeatures", reason = "requires an update to `sha2` which pulls in a lot of other dependencies which doesn't seem worth it" },
{ name = "hashbrown", reason = "waiting on lots of crates to update" },
{ name = "gimli", reason = "waiting on a few crates to update" },
- { name = "linux-raw-sys", reason = "waiting on `system-interface` to update" },
- { name = "rustix", reason = "waiting on `system-interface` to update" },
+ { name = "io-lifetimes", reason = "waiting on `fs-set-times` to update" },
]
skip-tree = [
{ name = "rand", reason = "waiting on `proptest` to update" },
diff --git a/supply-chain/audits.toml b/supply-chain/audits.toml
index 702f3c4431..2c35712b4d 100644
--- a/supply-chain/audits.toml
+++ b/supply-chain/audits.toml
@@ -6847,7 +6847,7 @@ end = "2025-12-05"
criteria = "safe-to-deploy"
user-id = 6825 # Dan Gohman (sunfishcode)
start = "2020-12-11"
-end = "2024-07-14"
+end = "2027-06-05"
[[trusted.cap-net-ext]]
criteria = "safe-to-deploy"
@@ -6855,11 +6855,17 @@ user-id = 6825 # Dan Gohman (sunfishcode)
start = "2020-12-11"
end = "2024-07-14"
+[[trusted.cap-net-ext]]
+criteria = "safe-to-deploy"
+user-id = 6825 # Dan Gohman (sunfishcode)
+start = "2023-04-07"
+end = "2027-06-05"
+
[[trusted.cap-primitives]]
criteria = "safe-to-deploy"
user-id = 6825 # Dan Gohman (sunfishcode)
start = "2020-08-07"
-end = "2024-07-14"
+end = "2027-06-05"
[[trusted.cap-rand]]
criteria = "safe-to-deploy"
@@ -6871,7 +6877,7 @@ end = "2024-07-14"
criteria = "safe-to-deploy"
user-id = 6825 # Dan Gohman (sunfishcode)
start = "2020-06-25"
-end = "2024-07-14"
+end = "2027-06-05"
[[trusted.cap-tempfile]]
criteria = "safe-to-deploy"
@@ -6883,7 +6889,7 @@ end = "2024-07-14"
criteria = "safe-to-deploy"
user-id = 6825 # Dan Gohman (sunfishcode)
start = "2020-09-21"
-end = "2024-07-14"
+end = "2027-06-05"
[[trusted.cc]]
criteria = "safe-to-deploy"
@@ -7081,7 +7087,7 @@ end = "2026-11-17"
criteria = "safe-to-deploy"
user-id = 6825 # Dan Gohman (sunfishcode)
start = "2021-06-12"
-end = "2024-07-14"
+end = "2027-06-05"
[[trusted.is-terminal]]
criteria = "safe-to-deploy"
@@ -7393,7 +7399,7 @@ end = "2025-07-30"
criteria = "safe-to-deploy"
user-id = 6825 # Dan Gohman (sunfishcode)
start = "2019-03-06"
-end = "2025-12-06"
+end = "2027-06-05"
[[trusted.termcolor]]
criteria = "safe-to-deploy"
diff --git a/supply-chain/imports.lock b/supply-chain/imports.lock
index 61b504913a..0c01a63052 100644
--- a/supply-chain/imports.lock
+++ b/supply-chain/imports.lock
@@ -805,36 +805,36 @@ user-login = "alexcrichton"
user-name = "Alex Crichton"
[[publisher.cap-fs-ext]]
-version = "3.2.0"
-when = "2024-07-08"
+version = "4.0.2"
+when = "2026-02-15"
user-id = 6825
user-login = "sunfishcode"
user-name = "Dan Gohman"
[[publisher.cap-net-ext]]
-version = "3.2.0"
-when = "2024-07-08"
+version = "4.0.2"
+when = "2026-02-15"
user-id = 6825
user-login = "sunfishcode"
user-name = "Dan Gohman"
[[publisher.cap-primitives]]
-version = "3.2.0"
-when = "2024-07-08"
+version = "4.0.2"
+when = "2026-02-15"
user-id = 6825
user-login = "sunfishcode"
user-name = "Dan Gohman"
[[publisher.cap-std]]
-version = "3.2.0"
-when = "2024-07-08"
+version = "4.0.2"
+when = "2026-02-15"
user-id = 6825
user-login = "sunfishcode"
user-name = "Dan Gohman"
[[publisher.cap-time-ext]]
-version = "3.2.0"
-when = "2024-07-08"
+version = "4.0.2"
+when = "2026-02-15"
user-id = 6825
user-login = "sunfishcode"
user-name = "Dan Gohman"
@@ -1169,8 +1169,8 @@ user-login = "cuviper"
user-name = "Josh Stone"
[[publisher.io-extras]]
-version = "0.18.4"
-when = "2024-12-04"
+version = "0.19.0"
+when = "2025-08-06"
user-id = 6825
user-login = "sunfishcode"
user-name = "Dan Gohman"
@@ -1182,6 +1182,13 @@ user-id = 6825
user-login = "sunfishcode"
user-name = "Dan Gohman"
+[[publisher.io-lifetimes]]
+version = "3.0.1"
+when = "2025-08-06"
+user-id = 6825
+user-login = "sunfishcode"
+user-name = "Dan Gohman"
+
[[publisher.is-terminal]]
version = "0.4.17"
when = "2025-10-23"
@@ -1495,8 +1502,8 @@ user-login = "alexcrichton"
user-name = "Alex Crichton"
[[publisher.target-lexicon]]
-version = "0.13.3"
-when = "2025-09-09"
+version = "0.13.5"
+when = "2026-02-15"
user-id = 6825
user-login = "sunfishcode"
user-name = "Dan Gohman"