forked from p-doom/crowd-cast
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
101 lines (77 loc) · 2.45 KB
/
Copy pathCargo.toml
File metadata and controls
101 lines (77 loc) · 2.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
[package]
name = "crowd-cowork-agent"
version = "1.0.1"
edition = "2021"
description = "crowd-cowork data collection agent - captures paired screencast and input data"
license = "MIT"
repository = "https://github.com/p-doom/crowd-cowork"
[dependencies]
# Async runtime
tokio = { version = "1", features = ["full"] }
tokio-stream = "0.1"
futures = "0.3"
# Embedded libobs
libobs = { git = "https://github.com/p-doom/libobs-rs", branch = "macos-support" }
libobs-wrapper = { git = "https://github.com/p-doom/libobs-rs", branch = "macos-support" }
libobs-simple = { git = "https://github.com/p-doom/libobs-rs", branch = "macos-support" }
libobs-bootstrapper = { git = "https://github.com/p-doom/libobs-rs", branch = "macos-support" }
# Input capture
rdev = { git = "https://github.com/p-doom/rdev" }
# HTTP client for pre-signed URL uploads
reqwest = { version = "0.12", features = ["json", "stream"] }
# Streaming utilities for efficient file uploads
tokio-util = { version = "0.7", features = ["io"] }
# Base64 encoding for OBS screenshots
base64 = "0.22"
# Serialization
serde = { version = "1", features = ["derive"] }
serde_json = "1"
rmp-serde = "1"
# Configuration
toml = "0.8"
directories = "5"
# File watching
notify = "6"
# Image analysis
image = "0.25"
# Logging
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
tracing-appender = "0.2"
# Error handling
anyhow = "1"
thiserror = "1"
# Ctrl+C handling (cross-platform)
ctrlc = "3"
# Time
chrono = { version = "0.4", features = ["serde"] }
# UUID for session IDs
uuid = { version = "1", features = ["v4", "serde"] }
[target.'cfg(unix)'.dependencies]
# Unix signal handling
libc = "0.2"
[target.'cfg(target_os = "linux")'.dependencies]
# Linux evdev fallback for Wayland
evdev = "0.12"
[target.'cfg(target_os = "macos")'.dependencies]
# macOS-specific (for permissions)
objc = "0.2"
# Zip extraction for plugin bundles
zip = "2"
# Display detection for capture recovery
core-graphics = "0.24"
# Unified logging (os_log) integration
tracing-oslog = "0.3"
[target.'cfg(target_os = "windows")'.dependencies]
# Windows-specific
windows = { version = "0.58", features = ["Win32_Foundation"] }
[build-dependencies]
cc = "1"
[target.'cfg(target_os = "macos")'.build-dependencies]
cargo-obs-build = { git = "https://github.com/p-doom/libobs-rs", branch = "macos-support" }
[target.'cfg(target_os = "linux")'.build-dependencies]
pkg-config = "0.3"
[profile.release]
lto = true
codegen-units = 1
strip = true