YTShortMakerArchx commited on
Commit
0537761
·
verified ·
1 Parent(s): 3ba60cf

Update Cargo.toml

Browse files
Files changed (1) hide show
  1. Cargo.toml +39 -19
Cargo.toml CHANGED
@@ -1,25 +1,45 @@
1
  [package]
2
- name = "ffmpeg-service"
3
- version = "1.0.0"
4
  edition = "2021"
5
-
6
- [[bin]]
7
- name = "ffmpeg-service"
8
- path = "main.rs"
9
 
10
  [dependencies]
11
- tokio = { version = "1", features = ["full"] }
12
- axum = { version = "0.7", features = ["json", "macros"] }
13
- serde = { version = "1", features = ["derive"] }
14
- serde_json = "1"
15
- uuid = { version = "1", features = ["v4", "fast-rng"] }
16
- chrono = { version = "0.4", features = ["serde"] }
17
- parking_lot = "0.12"
18
- tracing = "0.1"
19
- tracing-subscriber = "0.3"
20
- reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls", "stream"] }
21
- futures = "0.3"
22
- base64 = "0.21"
 
 
 
 
 
 
23
  sha2 = "0.10"
 
 
 
24
  rand = "0.8"
25
- lazy_static = "1.4"
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  [package]
2
+ name = "archnemix-ffmpeg-rust"
3
+ version = "5.1.0"
4
  edition = "2021"
5
+ authors = ["ArchNemix"]
6
+ description = "ArchNemix Shorts Generator API - Rust mirror of Python/Node.js/Go FFmpeg backend"
7
+ license = "MIT"
 
8
 
9
  [dependencies]
10
+ # Web framework - Actix-web (fastest Rust framework)
11
+ actix-web = "4.4"
12
+ actix-cors = "0.7"
13
+ actix-files = "0.6"
14
+ actix-rt = "2.9"
15
+
16
+ # Async runtime
17
+ tokio = { version = "1.35", features = ["full"] }
18
+
19
+ # Serialization
20
+ serde = { version = "1.0", features = ["derive"] }
21
+ serde_json = "1.0"
22
+
23
+ # HTTP client for HuggingFace API
24
+ reqwest = { version = "0.11", features = ["json", "stream"] }
25
+
26
+ # Utilities
27
+ uuid = { version = "1.6", features = ["v4", "serde"] }
28
  sha2 = "0.10"
29
+ base64 = "0.21"
30
+ chrono = { version = "0.4", features = ["serde"] }
31
+ hex = "0.4"
32
  rand = "0.8"
33
+
34
+ # Logging
35
+ env_logger = "0.11"
36
+ log = "0.4"
37
+
38
+ # FFmpeg process handling
39
+ tokio-process = "0.2"
40
+
41
+ [profile.release]
42
+ opt-level = 3
43
+ lto = true
44
+ codegen-units = 1
45
+ strip = true