Skip to content

Commit 0d91d2e

Browse files
committed
Update to io-lifetimes 0.3.0.
1 parent 6e53944 commit 0d91d2e

File tree

11 files changed

+20
-17
lines changed

11 files changed

+20
-17
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ rand = "0.8.1"
2828
tempfile = "3.1.0"
2929

3030
[target.'cfg(not(windows))'.dev-dependencies]
31-
rsix = "0.18.0"
31+
rsix = "0.20.0"
3232

3333
[target.'cfg(windows)'.dev-dependencies]
3434
# nt_version uses internal Windows APIs, however we're only using it

cap-async-std/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ edition = "2018"
1616
arf-strings = { version = "0.4.0", optional = true }
1717
async-std = { version = "1.9.0", features = ["attributes"] }
1818
cap-primitives = { path = "../cap-primitives", version = "^0.17.1-alpha.0"}
19-
io-lifetimes = { version = "0.2.2", default-features = false, features = ["async-std"] }
19+
io-lifetimes = { version = "0.3.0", default-features = false, features = ["async-std"] }
2020
ipnet = "2.3.0"
21-
unsafe-io = { version = "0.8.2", features = ["async-std"] }
21+
unsafe-io = { version = "0.9.1", features = ["use_async_std"] }
2222

2323
[target.'cfg(not(windows))'.dependencies]
24-
rsix = "0.18.0"
24+
rsix = "0.20.0"
2525

2626
[features]
2727
default = []

cap-async-std/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
#![doc(
3535
html_favicon_url = "https://raw.githubusercontent.com/bytecodealliance/cap-std/main/media/cap-std.ico"
3636
)]
37+
#![cfg_attr(io_lifetimes_use_std, feature(io_safety))]
3738

3839
pub mod fs;
3940
#[cfg(feature = "fs_utf8")]

cap-directories/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ cap-std = { path = "../cap-std", version = "^0.17.1-alpha.0"}
1717
directories-next = "2.0.0"
1818

1919
[target.'cfg(not(windows))'.dependencies]
20-
rsix = "0.18.0"
20+
rsix = "0.20.0"
2121

2222
[target.'cfg(windows)'.dependencies]
2323
winapi = "0.3.9"

cap-fs-ext/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ async-std = { version = "1.9.0", optional = true }
2121
cap-async-std = { path = "../cap-async-std", optional = true, version = "^0.17.1-alpha.0"}
2222
cap-std = { path = "../cap-std", optional = true, version = "^0.17.1-alpha.0"}
2323
cap-primitives = { path = "../cap-primitives", version = "^0.17.1-alpha.0"}
24-
io-lifetimes = { version = "0.2.2", default-features = false }
24+
io-lifetimes = { version = "0.3.0", default-features = false }
2525

2626
[features]
2727
default = ["std"]

cap-primitives/Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ ambient-authority = "0.0.1"
2020
arbitrary = { version = "1.0.0", optional = true, features = ["derive"] }
2121
ipnet = "2.3.0"
2222
maybe-owned = "0.3.4"
23-
fs-set-times = "0.7.1"
24-
unsafe-io = "0.8.2"
25-
io-lifetimes = { version = "0.2.2", default-features = false }
23+
fs-set-times = "0.9.0"
24+
unsafe-io = "0.9.1"
25+
io-lifetimes = { version = "0.3.0", default-features = false }
2626

2727
[target.'cfg(not(windows))'.dependencies]
28-
rsix = "0.18.0"
28+
rsix = "0.20.0"
2929

3030
[target.'cfg(any(target_os = "android", target_os = "linux"))'.dependencies]
3131
once_cell = "1.4.1"
@@ -37,7 +37,7 @@ errno = "0.2.7"
3737
errno = "0.2.7"
3838

3939
[target.'cfg(windows)'.dependencies]
40-
winx = "0.28.0"
40+
winx = "0.29.0"
4141
winapi = "0.3.9"
4242
winapi-util = "0.1.5"
4343

cap-primitives/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
#![doc(
1212
html_favicon_url = "https://raw.githubusercontent.com/bytecodealliance/cap-std/main/media/cap-std.ico"
1313
)]
14+
#![cfg_attr(io_lifetimes_use_std, feature(io_safety))]
1415

1516
#[cfg(not(windows))]
1617
mod rsix;

cap-std/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ rustc_version = "0.4.0"
1919
arf-strings = { version = "0.4.0", optional = true }
2020
cap-primitives = { path = "../cap-primitives", version = "^0.17.1-alpha.0"}
2121
ipnet = "2.3.0"
22-
unsafe-io = "0.8.2"
23-
io-lifetimes = { version = "0.2.2", default-features = false }
22+
unsafe-io = "0.9.1"
23+
io-lifetimes = { version = "0.3.0", default-features = false }
2424

2525
[target.'cfg(not(windows))'.dependencies]
26-
rsix = "0.18.0"
26+
rsix = "0.20.0"
2727

2828
[features]
2929
default = []

cap-std/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
#![doc(
3535
html_favicon_url = "https://raw.githubusercontent.com/bytecodealliance/cap-std/main/media/cap-std.ico"
3636
)]
37+
#![cfg_attr(io_lifetimes_use_std, feature(io_safety))]
3738

3839
pub mod fs;
3940
#[cfg(feature = "fs_utf8")]

cap-time-ext/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ cap-primitives = { path = "../cap-primitives", version = "^0.17.1-alpha.0"}
1717
cap-std = { path = "../cap-std", optional = true, version = "^0.17.1-alpha.0"}
1818

1919
[target.'cfg(not(windows))'.dependencies]
20-
rsix = "0.18.0"
20+
rsix = "0.20.0"
2121

2222
[target.'cfg(windows)'.dependencies]
2323
once_cell = "1.5.2"
24-
winx = "0.28.0"
24+
winx = "0.29.0"
2525

2626
[badges]
2727
maintenance = { status = "actively-developed" }

0 commit comments

Comments
 (0)