Remove unnecessary feature dependencies (#3201)

This commit is contained in:
Kenny Kerr 2024-08-14 11:10:17 -07:00 коммит произвёл GitHub
Родитель 1d977acad7
Коммит f21e54807b
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
37 изменённых файлов: 2 добавлений и 54 удалений

Просмотреть файл

@ -14,6 +14,5 @@ serde_json = {version = "1.0", default-features = false }
[dependencies.windows]
path = "../../../libs/windows"
features = [
"Win32_Foundation",
"Win32_System_Com",
]

Просмотреть файл

@ -16,7 +16,6 @@ serde_json = {version = "1.0", default-features = false }
path = "../../../libs/windows"
features = [
"implement",
"Win32_Foundation",
"Win32_System_WinRT",
]

Просмотреть файл

@ -11,7 +11,6 @@ doctest = false
[dependencies.windows]
path = "../../libs/windows"
features = [
"Foundation",
"Media_Control",
"Foundation_Collections"
]

Просмотреть файл

@ -11,7 +11,6 @@ doctest = false
[dependencies.windows]
path = "../../libs/windows"
features = [
"Win32_Foundation",
"Win32_System_Ole",
"Win32_System_Com",
]

Просмотреть файл

@ -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",
]

Просмотреть файл

@ -14,7 +14,6 @@ unexpected_cfgs = { level = "warn", check-cfg = ['cfg(windows_raw_dylib)'] }
[dependencies.windows]
path = "../../libs/windows"
features = [
"Win32_Foundation",
"Win32_Networking_Ldap",
"Win32_System_SystemInformation",
]
@ -22,7 +21,6 @@ features = [
[dependencies.windows-sys]
path = "../../libs/sys"
features = [
"Win32_Foundation",
"Win32_Networking_Ldap",
"Win32_System_SystemInformation",
"Win32_UI_WindowsAndMessaging",

Просмотреть файл

@ -17,7 +17,6 @@ path = "../../libs/windows"
features = [
"implement",
"Foundation",
"Win32_Foundation",
"Win32_System_WinRT",
]

Просмотреть файл

@ -12,7 +12,6 @@ doctest = false
path = "../../libs/windows"
features = [
"Win32_Storage_CloudFilters",
"Win32_Foundation",
"Win32_System_CorrelationVector",
]
@ -20,6 +19,5 @@ features = [
path = "../../libs/sys"
features = [
"Win32_Storage_CloudFilters",
"Win32_Foundation",
"Win32_System_CorrelationVector",
]

Просмотреть файл

@ -11,7 +11,6 @@ doctest = false
[dependencies.windows]
path = "../../libs/windows"
features = [
"Win32_Foundation",
"Win32_UI_Shell",
"Win32_System_WinRT",
"Win32_System_Com",
@ -20,6 +19,5 @@ features = [
[dependencies.windows-sys]
path = "../../libs/sys"
features = [
"Win32_Foundation",
"Win32_UI_Shell",
]

Просмотреть файл

@ -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",

Просмотреть файл

@ -12,7 +12,6 @@ doctest = false
path = "../../libs/windows"
features = [
"implement",
"Win32_Foundation",
"Win32_System_WinRT",
"Win32_System_Ole",
"Win32_System_Com",

Просмотреть файл

@ -16,7 +16,6 @@ path = "../../libs/windows"
features = [
"implement",
"Win32_System_Com",
"Win32_Foundation",
]
[dependencies.windows-core]

Просмотреть файл

@ -11,7 +11,6 @@ doctest = false
[dependencies.windows]
path = "../../libs/windows"
features = [
"Win32_Foundation",
"Win32_System_Com",
"Win32_System_Ole",
"Win32_System_RemoteManagement",

Просмотреть файл

@ -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",
]

Просмотреть файл

@ -13,7 +13,6 @@ path = "../../libs/windows"
features = [
"implement",
"Foundation",
"Win32_Foundation",
"Win32_System_Rpc",
]

Просмотреть файл

@ -11,7 +11,6 @@ doctest = false
[dependencies.windows]
path = "../../libs/windows"
features = [
"Win32_Foundation",
"Win32_Security_Cryptography",
"Win32_NetworkManagement_IpHelper",
"Win32_NetworkManagement_Ndis",

Просмотреть файл

@ -11,7 +11,6 @@ doctest = false
[dependencies.windows]
path = "../../libs/windows"
features = [
"Win32_Foundation",
"Win32_Graphics_Gdi",
"Win32_System_Registry",
"Win32_Devices_Bluetooth",
@ -22,6 +21,5 @@ features = [
[dependencies.windows-sys]
path = "../../libs/sys"
features = [
"Win32_Foundation",
"Win32_Graphics_Gdi",
]

Просмотреть файл

@ -16,7 +16,6 @@ features = [
"ApplicationModel_Background",
"Foundation_Collections",
"Storage_Streams",
"Win32_Foundation",
"Win32_Graphics_Gdi",
"Win32_System_Com_StructuredStorage",
"Win32_System_Ole",

Просмотреть файл

@ -12,7 +12,6 @@ doctest = false
path = "../../libs/windows"
features = [
"implement",
"Win32_Foundation",
"Win32_Graphics_Direct3D",
"Win32_Graphics_Direct3D10",
"Win32_Graphics_Direct3D12",

Просмотреть файл

@ -11,7 +11,6 @@ doctest = false
[dependencies.windows]
path = "../../libs/windows"
features = [
"Win32_Foundation",
"Win32_Graphics_Direct3D_Fxc",
"Win32_Graphics_Direct3D11",
"Win32_Graphics_Gdi",
@ -22,7 +21,6 @@ features = [
[dependencies.windows-sys]
path = "../../libs/sys"
features = [
"Win32_Foundation",
"Win32_Graphics_Gdi",
"Win32_Security",
"Win32_System_ProcessStatus",

Просмотреть файл

@ -16,7 +16,6 @@ path = "../../libs/windows"
features = [
"Win32_Graphics_Gdi",
"Win32_System_SystemServices",
"Win32_Foundation",
]
[dependencies.windows-sys]
@ -24,7 +23,6 @@ path = "../../libs/sys"
features = [
"Win32_Graphics_Gdi",
"Win32_System_SystemServices",
"Win32_Foundation",
]
[dependencies.tool_lib]

Просмотреть файл

@ -11,8 +11,6 @@ doctest = false
[dependencies.windows]
path = "../../libs/windows"
features = [
"Foundation",
"Globalization",
"Win32_Foundation",
"Win32_Graphics_Direct2D",
]

Просмотреть файл

@ -12,7 +12,6 @@ doctest = false
path = "../../libs/windows"
features = [
"Win32_Graphics_Printing",
"Win32_Foundation",
"Win32_Graphics_Gdi",
]
@ -20,6 +19,5 @@ features = [
path = "../../libs/sys"
features = [
"Win32_Graphics_Printing",
"Win32_Foundation",
"Win32_Graphics_Gdi",
]

Просмотреть файл

@ -8,7 +8,6 @@ publish = false
path = "../../libs/windows"
features = [
"Data_Xml_Dom",
"Win32_Foundation",
"Win32_Security",
"Win32_System_Threading",
"Win32_UI_WindowsAndMessaging",
@ -17,7 +16,6 @@ features = [
[dependencies.windows-sys]
path = "../../libs/sys"
features = [
"Win32_Foundation",
"Win32_Security",
"Win32_System_Threading",
"Win32_UI_WindowsAndMessaging",

Просмотреть файл

@ -11,7 +11,6 @@ doctest = false
[dependencies.windows]
path = "../../libs/windows"
features = [
"Win32_Foundation",
"Win32_System_Registry",
"Win32_UI_WindowsAndMessaging",
"Win32_System_Threading",
@ -20,7 +19,6 @@ features = [
[dependencies.windows-sys]
path = "../../libs/sys"
features = [
"Win32_Foundation",
"Win32_System_Registry",
"Win32_UI_WindowsAndMessaging",
"Win32_System_Threading",

Просмотреть файл

@ -11,7 +11,6 @@ doctest = false
[dependencies.windows]
path = "../../libs/windows"
features = [
"Win32_Foundation",
"Win32_UI_Controls",
"Win32_UI_WindowsAndMessaging",
"Win32_System_Com",
@ -20,7 +19,6 @@ features = [
[dependencies.windows-sys]
path = "../../libs/sys"
features = [
"Win32_Foundation",
"Win32_UI_Controls",
"Win32_UI_WindowsAndMessaging",
"Win32_System_Com",

Просмотреть файл

@ -12,6 +12,5 @@ doctest = false
path = "../../libs/windows"
features = [
"Win32_System_Threading",
"Win32_Foundation",
"Win32_Security",
]

Просмотреть файл

@ -11,6 +11,5 @@ doctest = false
[dependencies.windows]
path = "../../libs/windows"
features = [
"Win32_Foundation",
"Win32_UI_Shell",
]

Просмотреть файл

@ -14,7 +14,6 @@ features = [
"implement",
"Storage_Search",
"Win32_Devices_Properties",
"Win32_Foundation",
"Win32_System_Diagnostics_Debug",
"Win32_UI_Shell_PropertiesSystem",
"Win32_UI_WindowsAndMessaging",

Просмотреть файл

@ -11,7 +11,6 @@ doctest = false
[dependencies.windows-sys]
path = "../../libs/sys"
features = [
"Win32_Foundation",
"Win32_Graphics_Gdi",
"Win32_Security",
"Win32_System_Threading",

Просмотреть файл

@ -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"

Просмотреть файл

@ -11,7 +11,6 @@ doctest = false
[dependencies.windows]
path = "../../libs/windows"
features = [
"Win32_Foundation",
"Win32_Graphics_Direct3D12",
"Win32_System_IO",
]
@ -19,6 +18,5 @@ features = [
[dependencies.windows-sys]
path = "../../libs/sys"
features = [
"Win32_Foundation",
"Win32_System_IO",
]

Просмотреть файл

@ -15,6 +15,5 @@ path = "../../libs/core"
path = "../../libs/windows"
features = [
"Foundation",
"Win32_Foundation",
"Win32_System_Com_Events",
]

Просмотреть файл

@ -11,7 +11,6 @@ doctest = false
[dependencies.windows]
path = "../../libs/windows"
features = [
"Win32_Foundation",
"Wdk_System_SystemServices",
"Wdk_System_OfflineRegistry",
]
@ -19,7 +18,6 @@ features = [
[dependencies.windows-sys]
path = "../../libs/sys"
features = [
"Win32_Foundation",
"Wdk_System_SystemServices",
"Wdk_System_OfflineRegistry",
]

Просмотреть файл

@ -11,7 +11,6 @@ doctest = false
[dependencies.windows]
path = "../../libs/windows"
features = [
"Win32_Foundation",
"Win32_Gaming",
"Win32_Graphics_Direct2D",
"Win32_Graphics_Direct3D",

Просмотреть файл

@ -11,7 +11,6 @@ doctest = false
[dependencies.windows]
path = "../../libs/windows"
features = [
"Win32_Foundation",
"Win32_Graphics_Dxgi",
"Win32_Graphics_Gdi",
"Win32_NetworkManagement_IpHelper",

Просмотреть файл

@ -11,13 +11,11 @@ doctest = false
[dependencies.windows]
path = "../../libs/windows"
features = [
"Win32_Foundation",
"Win32_UI_WindowsAndMessaging",
]
[dependencies.windows-sys]
path = "../../libs/sys"
features = [
"Win32_Foundation",
"Win32_UI_WindowsAndMessaging",
]