Skip to content

GlazeWM is a tiling window manager for macOS and Windows inspired by i3wm.

1.8 KB
Raw Blame
[package]
name = "wm-platform"
version = "0.0.0"
edition = "2021"

[lib]
path = "src/lib.rs"
test = false

[[test]]
name = "test"
harness = false
path = "src/test.rs"

[dependencies]
home = { workspace = true }
thiserror = { workspace = true }
tokio = { workspace = true }
tracing = { workspace = true }
serde = { workspace = true }
regex = { workspace = true }

[features]
test_utils = []

[dev-dependencies]
libtest-mimic-collect = "0.3.2"

[target.'cfg(target_os = "windows")'.dependencies]
windows = { version = "0.52", features = [
  "implement",
  "Win32_Devices_HumanInterfaceDevice",
  "Win32_Foundation",
  "Win32_Graphics_Dwm",
  "Win32_Graphics_Gdi",
  "Win32_Security",
  "Win32_System_Com",
  "Win32_System_Environment",
  "Win32_System_LibraryLoader",
  "Win32_System_Registry",
  "Win32_System_RemoteDesktop",
  "Win32_System_SystemServices",
  "Win32_System_Threading",
  "Win32_UI_Accessibility",
  "Win32_UI_HiDpi",
  "Win32_UI_Input_Ime",
  "Win32_UI_Input_KeyboardAndMouse",
  "Win32_UI_Shell_Common",
  "Win32_UI_TextServices",
  "Win32_UI_WindowsAndMessaging",
] }
windows-interface = { version = "0.52" }

[target.'cfg(target_os = "macos")'.dependencies]
objc2-core-graphics = "0.3.2"
objc2 = "0.6.4"
objc2-app-kit = { version = "0.3.2", default-features = false, features = [
  "NSAlert",
  "NSApplication",
  "NSEvent",
  "NSGraphics",
  "NSRunningApplication",
  "NSResponder",
  "NSScreen",
  "NSWindow",
  "NSWorkspace",
  "libc",
  "objc2-core-foundation",
] }
objc2-application-services = "0.3.2"
objc2-core-foundation = { version = "0.3.2", features = [
  "CFCGTypes",
  "CFUUID",
] }
objc2-foundation = { version = "0.3.2", default-features = false, features = [
  "NSArray",
  "NSEnumerator",
  "NSNotification",
  "NSKeyValueCoding",
  "NSString",
  "NSThread",
  "NSValue",
] }