activity-tracker/Cargo.toml
Augustin 9eea0199bb Make project Windows-only compatible
- Remove xcap dependency (Linux-focused)
- Add Windows crate with Win32 APIs support
- Implement native Windows window capture using GetForegroundWindow
- Implement process name retrieval using GetModuleBaseNameW
- Update all paths to use Windows backslash separators
- Update README to specify Windows-only platform
- Add Windows badge and requirements
- Update installation instructions for PowerShell
- Add error handling for non-Windows platforms

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-16 13:48:46 +02:00

63 lines
1.2 KiB
TOML

[package]
name = "activity-tracker"
version = "0.1.0"
edition = "2021"
authors = ["Activity Tracker Team"]
description = "Backend de suivi d'activité pour reconstruire l'historique de travail (Windows uniquement)"
[dependencies]
# Core dependencies
tokio = { version = "1.35", features = ["full"] }
anyhow = "1.0"
thiserror = "1.0"
log = "0.4"
env_logger = "0.11"
# Capture
screenshots = "0.6"
image = "0.24"
webp = "0.2"
# Windows APIs
[target.'cfg(windows)'.dependencies]
windows = { version = "0.52", features = [
"Win32_Foundation",
"Win32_UI_WindowsAndMessaging",
"Win32_System_Threading",
"Win32_System_ProcessStatus",
] }
# Storage (SQLite + Encryption)
rusqlite = { version = "0.31", features = ["bundled"] }
# Encryption (AES-256-GCM)
aes-gcm = "0.10"
pbkdf2 = { version = "0.12", features = ["simple"] }
rand = "0.8"
sha2 = "0.10"
# Serialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
# Time management
chrono = { version = "0.4", features = ["serde"] }
# CLI
clap = { version = "4.4", features = ["derive"] }
# Configuration
toml = "0.8"
dotenv = "0.15"
# Utilities
regex = "1.10"
[dev-dependencies]
tempfile = "3.8"
criterion = "0.5"
[[bin]]
name = "activity-tracker"
path = "src/main.rs"