Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

1.3 KB
Raw Blame
[package]
name = "scap-targets"
version = "0.1.0"
edition = "2024"

[lints]
workspace = true

[dependencies]
serde = { version = "1.0.219", features = ["derive"] }
specta.workspace = true
image = "0.24"
tracing.workspace = true
workspace-hack = { version = "0.1", path = "../workspace-hack" }

[target.'cfg(target_os = "macos")'.dependencies]
cidre = { workspace = true, default-features = false, features = ["sc"] }
core-graphics = "0.24.0"
core-foundation = "0.10.0"
cocoa = "0.26.0"
objc = "0.2.7"
tokio = { workspace = true, features = ["sync", "rt"] }

[target.'cfg(target_os = "windows")'.dependencies]
windows = { workspace = true, features = [
	"Graphics_Capture",
	"Win32_Foundation",
	"Win32_System_Threading",
	"Win32_System_WinRT",
	"Win32_System_WinRT_Graphics",
	"Win32_System_WinRT_Graphics_Capture",
	"Win32_UI_WindowsAndMessaging",
	"Win32_UI_Shell",
	"Win32_UI_HiDpi",
	"Win32_Graphics_Dwm",
	"Win32_Graphics_Gdi",
	"Win32_Storage_FileSystem",
] }

[[bin]]
name = "x11-window-list-bench"
path = "src/bin/x11_window_list_bench.rs"

[target.'cfg(target_os = "linux")'.dependencies]
x11rb = { version = "0.13.2", features = ["randr"] }
rustix = { version = "1.1", features = ["event"] }
wayland-client = "0.31"
wayland-protocols = { version = "0.32", features = ["client", "unstable"] }
uuid = { version = "1", features = ["v5"] }