86 lines
1.7 KiB
TOML
86 lines
1.7 KiB
TOML
[package]
|
|
name = "rpa-agent"
|
|
version = "0.2.0"
|
|
edition = "2021"
|
|
description = "Agent RPA Vision - Lea (Phases 1-5)"
|
|
|
|
[dependencies]
|
|
# Capture d'ecran
|
|
xcap = "0.7"
|
|
|
|
# Simulation souris/clavier (replay)
|
|
enigo = { version = "0.3", features = ["serde"] }
|
|
|
|
# Capture evenements souris/clavier (recording) — Phase 5
|
|
rdev = "0.5"
|
|
|
|
# Client HTTP (mode bloquant, pas de tokio)
|
|
reqwest = { version = "0.12", features = ["blocking", "multipart", "json"] }
|
|
|
|
# Traitement d'images (JPEG encode, resize, crop)
|
|
image = "0.25"
|
|
|
|
# Floutage zones sensibles — Phase 5
|
|
imageproc = "0.25"
|
|
|
|
# Encodage base64
|
|
base64 = "0.22"
|
|
|
|
# Serialisation JSON
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
|
|
# Mini serveur HTTP synchrone (port 5006)
|
|
tiny_http = "0.12"
|
|
|
|
# Hostname de la machine
|
|
hostname = "0.4"
|
|
|
|
# Date/heure
|
|
chrono = "0.4"
|
|
|
|
# Canaux inter-threads performants
|
|
crossbeam-channel = "0.5"
|
|
|
|
# Logging
|
|
log = "0.4"
|
|
env_logger = "0.11"
|
|
|
|
# Signal handling Unix (Ctrl+C)
|
|
[target.'cfg(unix)'.dependencies]
|
|
libc = "0.2"
|
|
|
|
# Dependances Windows uniquement — Phases 3-5
|
|
[target.'cfg(windows)'.dependencies]
|
|
# Systray — Phase 3
|
|
tray-icon = "0.19"
|
|
muda = "0.15"
|
|
|
|
# Boucle d'evenements — Phase 3
|
|
winit = { version = "0.30", features = ["rwh_06"] }
|
|
|
|
# Notifications toast — Phase 3
|
|
winrt-notification = "0.5"
|
|
|
|
# Chat WebView2 — Phase 4
|
|
wry = "0.48"
|
|
|
|
# Raw window handle pour wry + fenetre native
|
|
raw-window-handle = "0.6"
|
|
|
|
# Win32 API (info fenetre, dialogues, etc.)
|
|
windows-sys = { version = "0.59", features = [
|
|
"Win32_UI_WindowsAndMessaging",
|
|
"Win32_System_Threading",
|
|
"Win32_System_LibraryLoader",
|
|
"Win32_Foundation",
|
|
"Win32_Graphics_Gdi",
|
|
] }
|
|
|
|
[profile.release]
|
|
opt-level = "z"
|
|
lto = true
|
|
strip = true
|
|
codegen-units = 1
|
|
panic = "abort"
|