examples: Workaround for windows example build error

See also https://github.com/microsoft/windows-rs/issues/3436

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1633>
This commit is contained in:
Seungha Yang 2025-01-14 22:55:04 +09:00
parent 7b8509344d
commit c189a87af1

View file

@ -47,7 +47,7 @@ data-encoding = "2.0"
[target.'cfg(windows)'.dependencies] [target.'cfg(windows)'.dependencies]
windows = { version = "0.59", features=["Win32_Graphics_Direct3D11", windows = { version = "0.59", features=["Win32_Graphics_Direct3D11",
"Win32_Foundation", "Win32_Graphics_Direct3D", "Win32_Graphics_Dxgi", "Win32_Foundation", "Win32_Graphics_Direct3D", "Win32_Graphics_Dxgi",
"Win32_Graphics_Dxgi_Common", "Win32_Graphics_Direct2D", "Win32_Graphics_Dxgi_Common", "Win32_Graphics_Direct2D", "Win32_Graphics_Gdi",
"Win32_Graphics_Direct2D_Common", "Win32_Graphics_DirectWrite", "Win32_Graphics_Direct2D_Common", "Win32_Graphics_DirectWrite",
"Win32_Graphics_Imaging", "Win32_System_Com", "Foundation_Numerics"], optional = true } "Win32_Graphics_Imaging", "Win32_System_Com", "Foundation_Numerics"], optional = true }