fix: make ffmpeg-next dep optional with feature

This commit is contained in:
drbh 2024-12-13 18:00:15 +00:00
parent b4da6ad30e
commit 27f758de0a

View File

@ -14,7 +14,7 @@ async-stream = "0.3.5"
axum = { version = "0.7", features = ["json"] }
axum-tracing-opentelemetry = "0.16"
clap = { version = "4.4.5", features = ["derive", "env"] }
ffmpeg-next = "7.1.0"
ffmpeg-next = { version = "7.1.0", optional = true }
futures = "0.3.28"
hf-hub = { workspace = true }
itertools = "0.10"
@ -77,4 +77,4 @@ default = ["ngrok"]
ngrok = ["dep:ngrok"]
google = []
kserve = []
video = []
video = ["ffmpeg-next"]