Move windows up to workspace dependency (#8786)

This way we can keep track of what we're using.

Release Notes:

- N/A
This commit is contained in:
Mikayla Maki 2024-03-03 11:58:31 -08:00 committed by GitHub
parent 36d9b3d483
commit 0717d30389
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 15 additions and 13 deletions

View File

@ -309,6 +309,17 @@ wasmtime-wasi = "18.0"
which = "6.0.0"
sys-locale = "0.3.1"
[workspace.dependencies.windows]
version = "0.53.0"
features = [
"Win32_Graphics_Gdi",
"Win32_UI_WindowsAndMessaging",
"Win32_Security",
"Win32_System_Threading",
]
[patch.crates-io]
tree-sitter = { git = "https://github.com/tree-sitter/tree-sitter", rev = "e4a23971ec3071a09c1e84816954c98f96e98e52" }
# Workaround for a broken nightly build of gpui: See #7644 and revisit once 0.5.3 is released.

View File

@ -114,14 +114,8 @@ as-raw-xcb-connection = "1"
calloop = "0.12.4"
calloop-wayland-source = "0.2.0"
[target.'cfg(windows)'.dependencies.windows]
version = "0.53.0"
features = [
"Win32_Graphics_Gdi",
"Win32_UI_WindowsAndMessaging",
"Win32_Security",
"Win32_System_Threading",
]
[target.'cfg(windows)'.dependencies]
windows.workspace = true
[[example]]
name = "hello_world"

View File

@ -30,11 +30,8 @@ theme.workspace = true
thiserror.workspace = true
util.workspace = true
[target.'cfg(windows)'.dependencies.windows]
version = "0.53.0"
features = [
"Win32_System_Threading",
]
[target.'cfg(windows)'.dependencies]
windows.workspace = true
[dev-dependencies]
rand.workspace = true