Skip to content

Commit e5f6654

Browse files
authored
Update to io-lifetimes 0.5.1 and rustix 0.33.0.
* Update to io-lifetimes 0.5.1 and rustix 0.33.0. This updates to io-lifetimes 0.5.1, in cap-std itself and in its dependencies. io-lifetimes is pretty stable at this point so hopefully these kinds of semver-breaking releases won't happen frequently. In this case, io-lifetimes needed a version bump due to the `HandleOrNull` change, which only affects Windows, and only affects low-level ffi users of io-lifetimes. Update to winx 0.31.0 and rustix 0.33.0 too, as those are the versions that also pick up io-lifetimes 0.5.1.
1 parent efa244c commit e5f6654

File tree

8 files changed

+18
-18
lines changed

8 files changed

+18
-18
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ rand = "0.8.1"
2525
tempfile = "3.1.0"
2626
camino = "1.0.5"
2727
libc = "0.2.100"
28-
io-lifetimes = "0.4.4"
28+
io-lifetimes = "0.5.1"
2929

3030
[target.'cfg(not(windows))'.dev-dependencies]
31-
rustix = "0.32.0"
31+
rustix = "0.33.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
@@ -17,13 +17,13 @@ arf-strings = { version = "0.6.3", optional = true }
1717
# Enable "unstable" for `spawn_blocking`.
1818
async-std = { version = "1.10.0", features = ["attributes", "unstable"] }
1919
cap-primitives = { path = "../cap-primitives", version = "^0.23.2-alpha.0"}
20-
io-lifetimes = { version = "0.4.0", default-features = false, features = ["async-std"] }
20+
io-lifetimes = { version = "0.5.1", default-features = false, features = ["async-std"] }
2121
ipnet = "2.3.0"
22-
io-extras = { version = "0.12.0", features = ["use_async_std"] }
22+
io-extras = { version = "0.13.0", features = ["use_async_std"] }
2323
camino = { version = "1.0.5", optional = true }
2424

2525
[target.'cfg(not(windows))'.dependencies]
26-
rustix = "0.32.0"
26+
rustix = "0.33.0"
2727

2828
[features]
2929
default = []

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.23.2-alpha.0"}
1717
directories-next = "2.0.0"
1818

1919
[target.'cfg(not(windows))'.dependencies]
20-
rustix = "0.32.0"
20+
rustix = "0.33.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
@@ -17,7 +17,7 @@ arf-strings = { version = "0.6.3", optional = true }
1717
cap-async-std = { path = "../cap-async-std", optional = true, version = "^0.23.2-alpha.0"}
1818
cap-std = { path = "../cap-std", optional = true, version = "^0.23.2-alpha.0"}
1919
cap-primitives = { path = "../cap-primitives", version = "^0.23.2-alpha.0"}
20-
io-lifetimes = { version = "0.4.0", default-features = false }
20+
io-lifetimes = { version = "0.5.1", default-features = false }
2121
# Enable "unstable" for `spawn_blocking`.
2222
async-std = { version = "1.10.0", features = ["attributes", "unstable"], optional = true }
2323
async-trait = { version = "0.1.42", optional = true }

cap-primitives/Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ ambient-authority = "0.0.1"
1717
arbitrary = { version = "1.0.0", optional = true, features = ["derive"] }
1818
ipnet = "2.3.0"
1919
maybe-owned = "0.3.4"
20-
fs-set-times = "0.14.2"
21-
io-extras = "0.12.0"
22-
io-lifetimes = { version = "0.4.0", default-features = false }
20+
fs-set-times = "0.15.0"
21+
io-extras = "0.13.0"
22+
io-lifetimes = { version = "0.5.1", default-features = false }
2323

2424
[target.'cfg(not(windows))'.dependencies]
25-
rustix = { version = "0.32.0", features = ["procfs"] }
25+
rustix = { version = "0.33.0", features = ["procfs"] }
2626

2727
[target.'cfg(target_os = "macos")'.dependencies]
2828
errno = { version = "0.2.8", default-features = false }
@@ -31,6 +31,6 @@ errno = { version = "0.2.8", default-features = false }
3131
errno = { version = "0.2.8", default-features = false }
3232

3333
[target.'cfg(windows)'.dependencies]
34-
winx = "0.30.0"
34+
winx = "0.31.0"
3535
winapi = "0.3.9"
3636
winapi-util = "0.1.5"

cap-std/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ rustdoc-args = ["--cfg=doc_cfg"]
2020
arf-strings = { version = "0.6.3", optional = true }
2121
cap-primitives = { path = "../cap-primitives", version = "^0.23.2-alpha.0"}
2222
ipnet = "2.3.0"
23-
io-extras = "0.12.0"
24-
io-lifetimes = { version = "0.4.0", default-features = false }
23+
io-extras = "0.13.0"
24+
io-lifetimes = { version = "0.5.1", default-features = false }
2525
camino = { version = "1.0.5", optional = true }
2626

2727
[target.'cfg(not(windows))'.dependencies]
28-
rustix = "0.32.0"
28+
rustix = "0.33.0"
2929

3030
[features]
3131
default = []

cap-time-ext/Cargo.toml

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

1919
[target.'cfg(not(windows))'.dependencies]
20-
rustix = "0.32.0"
20+
rustix = "0.33.0"
2121

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

fuzz/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ cap-primitives = { path = "../cap-primitives", features = ["arbitrary"] }
1515
# Depend on io-lifetimes with default features, as the fuzzing framework
1616
# seems to add a dependency on `io_lifetimes::OwnedFd::drop` even when the
1717
# code itself doesn't have one.
18-
io-lifetimes = "0.4.0"
18+
io-lifetimes = "0.5.1"
1919

2020
[[bin]]
2121
name = "cap-primitives"

0 commit comments

Comments
 (0)