Update Cargo.toml
Browse files- Cargo.toml +39 -19
Cargo.toml
CHANGED
|
@@ -1,25 +1,45 @@
|
|
| 1 |
[package]
|
| 2 |
-
name = "ffmpeg-
|
| 3 |
-
version = "1.0
|
| 4 |
edition = "2021"
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
path = "main.rs"
|
| 9 |
|
| 10 |
[dependencies]
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 23 |
sha2 = "0.10"
|
|
|
|
|
|
|
|
|
|
| 24 |
rand = "0.8"
|
| 25 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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
|