Skip to content

Commit ea32eb4

Browse files
committed
Update to winx 0.34.0.
1 parent ca81f83 commit ea32eb4

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

cap-primitives/Cargo.toml

+1-2
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@ cap-tempfile = { path = "../cap-tempfile" }
2828
rustix = { version = "0.36.0-rc1", features = ["fs", "process", "procfs", "termios", "time"] }
2929

3030
[target.'cfg(windows)'.dependencies]
31-
winx = "0.33.0"
32-
winapi-util = "0.1.5"
31+
winx = "0.34.0-rc1"
3332

3433
[target.'cfg(windows)'.dependencies.windows-sys]
3534
version = "0.36.0"

cap-primitives/src/windows/fs/file_type_ext.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ impl ImplFileTypeExt {
2424
}
2525

2626
// Use the open file to check for one of the exotic file types.
27-
let file_type = winapi_util::file::typ(file)?;
27+
let file_type = winx::winapi_util::file::typ(file)?;
2828
if file_type.is_char() {
2929
return Ok(FileType::ext(ImplFileTypeExt::CharacterDevice));
3030
}

cap-primitives/src/windows/fs/metadata_ext.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ impl MetadataExt {
4444

4545
#[cfg(not(windows_by_handle))]
4646
if volume_serial_number.is_none() || number_of_links.is_none() || file_index.is_none() {
47-
let fileinfo = winapi_util::file::information(file)?;
47+
let fileinfo = winx::winapi_util::file::information(file)?;
4848
if volume_serial_number.is_none() {
4949
let t64: u64 = fileinfo.volume_serial_number();
5050
let t32: u32 = t64.try_into().unwrap();

cap-time-ext/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ rustix = { version = "0.36.0-rc1", features = ["time"] }
2121

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

0 commit comments

Comments
 (0)