From 014fb68a26ae9de8e63f7d3b002c287a688b1130 Mon Sep 17 00:00:00 2001 From: Mads Marquart Date: Fri, 5 Sep 2025 22:32:20 +0200 Subject: [PATCH] Fix using Rust-Analyzer on non-macOS platforms (#4347) --- winit-appkit/Cargo.toml | 2 +- winit-uikit/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/winit-appkit/Cargo.toml b/winit-appkit/Cargo.toml index f95e1c29..a4f590ea 100644 --- a/winit-appkit/Cargo.toml +++ b/winit-appkit/Cargo.toml @@ -18,7 +18,6 @@ rwh_06.workspace = true serde = { workspace = true, optional = true } smol_str.workspace = true tracing.workspace = true -winit-common = { workspace = true, features = ["core-foundation", "event-handler"] } winit-core.workspace = true # Platform-specific @@ -107,6 +106,7 @@ objc2-foundation = { workspace = true, features = [ "NSThread", "NSValue", ] } +winit-common = { workspace = true, features = ["core-foundation", "event-handler"] } [dev-dependencies] winit.workspace = true diff --git a/winit-uikit/Cargo.toml b/winit-uikit/Cargo.toml index 70b635cc..3784bc32 100644 --- a/winit-uikit/Cargo.toml +++ b/winit-uikit/Cargo.toml @@ -18,7 +18,6 @@ rwh_06.workspace = true serde = { workspace = true, optional = true } smol_str.workspace = true tracing.workspace = true -winit-common = { workspace = true, features = ["core-foundation", "event-handler"] } winit-core.workspace = true # Platform-specific @@ -70,6 +69,7 @@ objc2-ui-kit = { workspace = true, features = [ "UIViewController", "UIWindow", ] } +winit-common = { workspace = true, features = ["core-foundation", "event-handler"] } [package.metadata.docs.rs] all-features = true