Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

chore(desktop): add camera effects and sleep/wake platform dependencies

Richie McIlroyd97607b4c9a8
diff --git a/apps/desktop/src-tauri/Cargo.toml b/apps/desktop/src-tauri/Cargo.toml
index b3b36c52b..d41d28fec 100644
--- a/apps/desktop/src-tauri/Cargo.toml
+++ b/apps/desktop/src-tauri/Cargo.toml
@@ -78,6 +78,7 @@ log = "0.4.20"
cap-audio = { path = "../../../crates/audio" }
cap-camera = { path = "../../../crates/camera", features = ["serde", "specta"] }
+cap-camera-effects = { path = "../../../crates/camera-effects" }
cap-utils = { path = "../../../crates/utils" }
cap-project = { path = "../../../crates/project" }
cap-rendering = { path = "../../../crates/rendering" }
@@ -102,6 +103,7 @@ tokio-stream = { version = "0.1.17", features = ["sync"] }
md5 = "0.7.0"
tokio-util = "0.7.15"
wgpu.workspace = true
+pollster = "0.4"
bytemuck = "1.23.1"
kameo = "0.17.2"
tauri-plugin-sentry = "0.5.0"
@@ -128,6 +130,14 @@ objc2-app-kit = { version = "0.3.0", features = [
"NSWindow",
"NSResponder",
"NSHapticFeedback",
+ "NSWorkspace",
+ "NSRunningApplication",
+] }
+objc2 = "0.6.0"
+objc2-foundation = { version = "0.3.0", features = [
+ "NSNotification",
+ "NSString",
+ "NSThread",
] }
cocoa = "0.26.0"
objc = "0.2.7"
@@ -142,6 +152,7 @@ parakeet-rs = "0.3.4"
windows = { workspace = true, features = [
"Win32_Foundation",
"Win32_System",
+ "Win32_System_Power",
"Win32_UI_WindowsAndMessaging",
"Win32_Graphics_Gdi",
] }