Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove uneeded feature dependencies #3201

Merged
merged 1 commit into from
Aug 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion crates/samples/components/json_validator/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,5 @@ serde_json = {version = "1.0", default-features = false }
[dependencies.windows]
path = "../../../libs/windows"
features = [
"Win32_Foundation",
"Win32_System_Com",
]
1 change: 0 additions & 1 deletion crates/samples/components/json_validator_winrt/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ serde_json = {version = "1.0", default-features = false }
path = "../../../libs/windows"
features = [
"implement",
"Win32_Foundation",
"Win32_System_WinRT",
]

Expand Down
1 change: 0 additions & 1 deletion crates/tests/agile_reference/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ doctest = false
[dependencies.windows]
path = "../../libs/windows"
features = [
"Foundation",
"Media_Control",
"Foundation_Collections"
]
1 change: 0 additions & 1 deletion crates/tests/alternate_success_code/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ doctest = false
[dependencies.windows]
path = "../../libs/windows"
features = [
"Win32_Foundation",
"Win32_System_Ole",
"Win32_System_Com",
]
2 changes: 0 additions & 2 deletions crates/tests/bcrypt/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,11 @@ doctest = false
[dependencies.windows]
path = "../../libs/windows"
features = [
"Win32_Foundation",
"Win32_Security_Cryptography",
]

[dependencies.windows-sys]
path = "../../libs/sys"
features = [
"Win32_Foundation",
"Win32_Security_Cryptography",
]
2 changes: 0 additions & 2 deletions crates/tests/calling_convention/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,13 @@ unexpected_cfgs = { level = "warn", check-cfg = ['cfg(windows_raw_dylib)'] }
[dependencies.windows]
path = "../../libs/windows"
features = [
"Win32_Foundation",
"Win32_Networking_Ldap",
"Win32_System_SystemInformation",
]

[dependencies.windows-sys]
path = "../../libs/sys"
features = [
"Win32_Foundation",
"Win32_Networking_Ldap",
"Win32_System_SystemInformation",
"Win32_UI_WindowsAndMessaging",
Expand Down
1 change: 0 additions & 1 deletion crates/tests/component/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ path = "../../libs/windows"
features = [
"implement",
"Foundation",
"Win32_Foundation",
"Win32_System_WinRT",
]

Expand Down
2 changes: 0 additions & 2 deletions crates/tests/const_fields/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,12 @@ doctest = false
path = "../../libs/windows"
features = [
"Win32_Storage_CloudFilters",
"Win32_Foundation",
"Win32_System_CorrelationVector",
]

[dependencies.windows-sys]
path = "../../libs/sys"
features = [
"Win32_Storage_CloudFilters",
"Win32_Foundation",
"Win32_System_CorrelationVector",
]
2 changes: 0 additions & 2 deletions crates/tests/const_params/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ doctest = false
[dependencies.windows]
path = "../../libs/windows"
features = [
"Win32_Foundation",
"Win32_UI_Shell",
"Win32_System_WinRT",
"Win32_System_Com",
Expand All @@ -20,6 +19,5 @@ features = [
[dependencies.windows-sys]
path = "../../libs/sys"
features = [
"Win32_Foundation",
"Win32_UI_Shell",
]
1 change: 0 additions & 1 deletion crates/tests/const_ptrs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ doctest = false
[dependencies.windows]
path = "../../libs/windows"
features = [
"Win32_Foundation",
"Win32_System_Com_StructuredStorage",
"Win32_System_Variant",
"Win32_UI_Shell_PropertiesSystem",
Expand Down
1 change: 0 additions & 1 deletion crates/tests/core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ doctest = false
path = "../../libs/windows"
features = [
"implement",
"Win32_Foundation",
"Win32_System_WinRT",
"Win32_System_Ole",
"Win32_System_Com",
Expand Down
1 change: 0 additions & 1 deletion crates/tests/debugger_visualizer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ path = "../../libs/windows"
features = [
"implement",
"Win32_System_Com",
"Win32_Foundation",
]

[dependencies.windows-core]
Expand Down
1 change: 0 additions & 1 deletion crates/tests/dispatch/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ doctest = false
[dependencies.windows]
path = "../../libs/windows"
features = [
"Win32_Foundation",
"Win32_System_Com",
"Win32_System_Ole",
"Win32_System_RemoteManagement",
Expand Down
2 changes: 0 additions & 2 deletions crates/tests/enums/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,12 @@ doctest = false
path = "../../libs/windows"
features = [
"Storage_Streams",
"Win32_Foundation",
"Win32_UI_WindowsAndMessaging",
]

[dependencies.windows-sys]
path = "../../libs/sys"
features = [
"Win32_Foundation",
"Win32_UI_WindowsAndMessaging",
]

Expand Down
1 change: 0 additions & 1 deletion crates/tests/error/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ path = "../../libs/windows"
features = [
"implement",
"Foundation",
"Win32_Foundation",
"Win32_System_Rpc",
]

Expand Down
1 change: 0 additions & 1 deletion crates/tests/extensions/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ doctest = false
[dependencies.windows]
path = "../../libs/windows"
features = [
"Win32_Foundation",
"Win32_Security_Cryptography",
"Win32_NetworkManagement_IpHelper",
"Win32_NetworkManagement_Ndis",
Expand Down
2 changes: 0 additions & 2 deletions crates/tests/handles/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ doctest = false
[dependencies.windows]
path = "../../libs/windows"
features = [
"Win32_Foundation",
"Win32_Graphics_Gdi",
"Win32_System_Registry",
"Win32_Devices_Bluetooth",
Expand All @@ -22,6 +21,5 @@ features = [
[dependencies.windows-sys]
path = "../../libs/sys"
features = [
"Win32_Foundation",
"Win32_Graphics_Gdi",
]
1 change: 0 additions & 1 deletion crates/tests/implement/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ features = [
"ApplicationModel_Background",
"Foundation_Collections",
"Storage_Streams",
"Win32_Foundation",
"Win32_Graphics_Gdi",
"Win32_System_Com_StructuredStorage",
"Win32_System_Ole",
Expand Down
1 change: 0 additions & 1 deletion crates/tests/interface/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ doctest = false
path = "../../libs/windows"
features = [
"implement",
"Win32_Foundation",
"Win32_Graphics_Direct3D",
"Win32_Graphics_Direct3D10",
"Win32_Graphics_Direct3D12",
Expand Down
2 changes: 0 additions & 2 deletions crates/tests/lib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ doctest = false
[dependencies.windows]
path = "../../libs/windows"
features = [
"Win32_Foundation",
"Win32_Graphics_Direct3D_Fxc",
"Win32_Graphics_Direct3D11",
"Win32_Graphics_Gdi",
Expand All @@ -22,7 +21,6 @@ features = [
[dependencies.windows-sys]
path = "../../libs/sys"
features = [
"Win32_Foundation",
"Win32_Graphics_Gdi",
"Win32_Security",
"Win32_System_ProcessStatus",
Expand Down
2 changes: 0 additions & 2 deletions crates/tests/metadata/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,13 @@ path = "../../libs/windows"
features = [
"Win32_Graphics_Gdi",
"Win32_System_SystemServices",
"Win32_Foundation",
]

[dependencies.windows-sys]
path = "../../libs/sys"
features = [
"Win32_Graphics_Gdi",
"Win32_System_SystemServices",
"Win32_Foundation",
]

[dependencies.tool_lib]
Expand Down
2 changes: 0 additions & 2 deletions crates/tests/msrv/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ doctest = false
[dependencies.windows]
path = "../../libs/windows"
features = [
"Foundation",
"Globalization",
"Win32_Foundation",
"Win32_Graphics_Direct2D",
]
2 changes: 0 additions & 2 deletions crates/tests/not_dll/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,12 @@ doctest = false
path = "../../libs/windows"
features = [
"Win32_Graphics_Printing",
"Win32_Foundation",
"Win32_Graphics_Gdi",
]

[dependencies.windows-sys]
path = "../../libs/sys"
features = [
"Win32_Graphics_Printing",
"Win32_Foundation",
"Win32_Graphics_Gdi",
]
2 changes: 0 additions & 2 deletions crates/tests/readme/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ publish = false
path = "../../libs/windows"
features = [
"Data_Xml_Dom",
"Win32_Foundation",
"Win32_Security",
"Win32_System_Threading",
"Win32_UI_WindowsAndMessaging",
Expand All @@ -17,7 +16,6 @@ features = [
[dependencies.windows-sys]
path = "../../libs/sys"
features = [
"Win32_Foundation",
"Win32_Security",
"Win32_System_Threading",
"Win32_UI_WindowsAndMessaging",
Expand Down
2 changes: 0 additions & 2 deletions crates/tests/reserved/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ doctest = false
[dependencies.windows]
path = "../../libs/windows"
features = [
"Win32_Foundation",
"Win32_System_Registry",
"Win32_UI_WindowsAndMessaging",
"Win32_System_Threading",
Expand All @@ -20,7 +19,6 @@ features = [
[dependencies.windows-sys]
path = "../../libs/sys"
features = [
"Win32_Foundation",
"Win32_System_Registry",
"Win32_UI_WindowsAndMessaging",
"Win32_System_Threading",
Expand Down
2 changes: 0 additions & 2 deletions crates/tests/resources/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ doctest = false
[dependencies.windows]
path = "../../libs/windows"
features = [
"Win32_Foundation",
"Win32_UI_Controls",
"Win32_UI_WindowsAndMessaging",
"Win32_System_Com",
Expand All @@ -20,7 +19,6 @@ features = [
[dependencies.windows-sys]
path = "../../libs/sys"
features = [
"Win32_Foundation",
"Win32_UI_Controls",
"Win32_UI_WindowsAndMessaging",
"Win32_System_Com",
Expand Down
1 change: 0 additions & 1 deletion crates/tests/return_handle/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,5 @@ doctest = false
path = "../../libs/windows"
features = [
"Win32_System_Threading",
"Win32_Foundation",
"Win32_Security",
]
1 change: 0 additions & 1 deletion crates/tests/string_param/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,5 @@ doctest = false
[dependencies.windows]
path = "../../libs/windows"
features = [
"Win32_Foundation",
"Win32_UI_Shell",
]
1 change: 0 additions & 1 deletion crates/tests/structs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ features = [
"implement",
"Storage_Search",
"Win32_Devices_Properties",
"Win32_Foundation",
"Win32_System_Diagnostics_Debug",
"Win32_UI_Shell_PropertiesSystem",
"Win32_UI_WindowsAndMessaging",
Expand Down
1 change: 0 additions & 1 deletion crates/tests/sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ doctest = false
[dependencies.windows-sys]
path = "../../libs/sys"
features = [
"Win32_Foundation",
"Win32_Graphics_Gdi",
"Win32_Security",
"Win32_System_Threading",
Expand Down
4 changes: 2 additions & 2 deletions crates/tests/targets/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ path = "../../libs/targets"

[dependencies.windows]
path = "../../libs/windows"
features = [ "Win32_Foundation", "Win32_Security_Authentication_Identity" ]
features = [ "Win32_Security_Authentication_Identity" ]

[dependencies.windows-sys]
path = "../../libs/sys"
features = [ "Win32_Foundation", "Win32_Security_Authentication_Identity" ]
features = [ "Win32_Security_Authentication_Identity" ]

[dependencies.tool_lib]
path = "../../tools/lib"
2 changes: 0 additions & 2 deletions crates/tests/unions/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,12 @@ doctest = false
[dependencies.windows]
path = "../../libs/windows"
features = [
"Win32_Foundation",
"Win32_Graphics_Direct3D12",
"Win32_System_IO",
]

[dependencies.windows-sys]
path = "../../libs/sys"
features = [
"Win32_Foundation",
"Win32_System_IO",
]
1 change: 0 additions & 1 deletion crates/tests/variant/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,5 @@ path = "../../libs/core"
path = "../../libs/windows"
features = [
"Foundation",
"Win32_Foundation",
"Win32_System_Com_Events",
]
2 changes: 0 additions & 2 deletions crates/tests/wdk/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,13 @@ doctest = false
[dependencies.windows]
path = "../../libs/windows"
features = [
"Win32_Foundation",
"Wdk_System_SystemServices",
"Wdk_System_OfflineRegistry",
]

[dependencies.windows-sys]
path = "../../libs/sys"
features = [
"Win32_Foundation",
"Wdk_System_SystemServices",
"Wdk_System_OfflineRegistry",
]
1 change: 0 additions & 1 deletion crates/tests/win32/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ doctest = false
[dependencies.windows]
path = "../../libs/windows"
features = [
"Win32_Foundation",
"Win32_Gaming",
"Win32_Graphics_Direct2D",
"Win32_Graphics_Direct3D",
Expand Down
1 change: 0 additions & 1 deletion crates/tests/win32_arrays/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ doctest = false
[dependencies.windows]
path = "../../libs/windows"
features = [
"Win32_Foundation",
"Win32_Graphics_Dxgi",
"Win32_Graphics_Gdi",
"Win32_NetworkManagement_IpHelper",
Expand Down
Loading
Loading