Skip to content

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

chore: organize workspace dependencies

Lars Berger381bd86b6bc7
diff --git a/Cargo.lock b/Cargo.lock
index 16cfe356..ccd4f917 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1930,6 +1930,8 @@ dependencies = [
"anyhow",
"serde_json",
"tokio",
+ "tracing",
+ "tracing-subscriber",
"wm",
]
diff --git a/Cargo.toml b/Cargo.toml
index bbc0541b..bb6f574c 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -5,27 +5,7 @@ default-members = ["packages/wm", "packages/watcher"]
[workspace.dependencies]
anyhow = "1"
-regex = "1"
+serde_json = { version = "1", features = ["raw_value"] }
tokio = { version = "1", features = ["full"] }
-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",
-] }
+tracing = "0.1"
+tracing-subscriber = { version = "0.3", features = ["env-filter"] }
diff --git a/packages/watcher/Cargo.toml b/packages/watcher/Cargo.toml
index b198d085..1f49f0f3 100644
--- a/packages/watcher/Cargo.toml
+++ b/packages/watcher/Cargo.toml
@@ -12,4 +12,6 @@ wm = { path = "../wm" }
anyhow = { workspace = true }
tokio = { workspace = true }
-serde_json = "1.0.117"
+tracing = { workspace = true }
+tracing-subscriber = { workspace = true }
+serde_json = { workspace = true }
diff --git a/packages/wm/Cargo.toml b/packages/wm/Cargo.toml
index f4ba9137..31655517 100644
--- a/packages/wm/Cargo.toml
+++ b/packages/wm/Cargo.toml
@@ -29,12 +29,33 @@ futures-util = "0.3"
home = "0.5"
uuid = { version = "1", features = ["v4", "serde"] }
serde = { version = "1", features = ["derive"] }
-serde_json = { version = "1", features = ["raw_value"] }
+serde_json = { workspace = true }
serde_yaml = "0.9"
-regex = { workspace = true }
+regex = "1"
tokio = { workspace = true }
tokio-tungstenite = "0.21"
-tracing = "0.1"
-tracing-subscriber = { version = "0.3", features = ["env-filter"] }
+tracing = { workspace = true }
+tracing-subscriber = { workspace = true }
tray-icon = "0.14"
-windows = { workspace = true }
+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",
+] }