You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to get access to the recently added WDK apis through windows-sys crate. For instance windows_sys::Wdk::Foundation::DEVICE_OBJECT structure is only available when a couple of features (including Win32_Graphics_DirectDraw feature) are enabled. However this one is missing from windows-sys Cargo.toml.
error: failed to select a version for `windows-sys`.
... required by package `usbpcap-rs v0.1.0 (C:\Users\michaelwright\Desktop\usbpcap-rs)`
versions that meet the requirements `*` (locked to 0.48.0) are: 0.48.0
the package `usbpcap-rs` depends on `windows-sys`, with features: `Win32_Graphics_DirectDraw` but `windows-sys` does not have these features.
failed to select a version for `windows-sys` which could resolve this conflict
Additional comments
No response
The text was updated successfully, but these errors were encountered:
This has most recently been reported in #2543 and I believe is fixed in metadata but other metadata bugs are blocking that from flowing into the windows-rs repo.
Which crate is this about?
windows-sys
Crate version
0.48.0
Summary
I'm trying to get access to the recently added WDK apis through
windows-sys
crate. For instancewindows_sys::Wdk::Foundation::DEVICE_OBJECT
structure is only available when a couple of features (including Win32_Graphics_DirectDraw feature) are enabled. However this one is missing fromwindows-sys
Cargo.toml.Toolchain version/configuration
Default host: aarch64-pc-windows-msvc
rustup home: C:\Users\michaelwright.rustup
installed toolchains
stable-aarch64-pc-windows-msvc
stable-x86_64-pc-windows-msvc
nightly-aarch64-pc-windows-msvc
nightly-x86_64-pc-windows-msvc (default)
installed targets for active toolchain
aarch64-pc-windows-msvc
x86_64-pc-windows-msvc
active toolchain
nightly-aarch64-pc-windows-msvc (overridden by 'C:\Users\michaelwright\Desktop\usbpcap-rs\rust-toolchain')
rustc 1.72.0-nightly (5ea666864 2023-06-27)
Reproducible example
Crate manifest
Expected behavior
A standart importing of
DEVICE_OBJECT
structure.Actual behavior
cargo build
throws an error:Additional comments
No response
The text was updated successfully, but these errors were encountered: