From c7fddef8725f00b59a8dbd304d6642dda9049a7e Mon Sep 17 00:00:00 2001 From: drbh Date: Fri, 13 Dec 2024 18:00:15 +0000 Subject: [PATCH] fix: make ffmpeg-next dep optional with feature --- router/Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/router/Cargo.toml b/router/Cargo.toml index 36adf79c1d4..3d636a1838d 100644 --- a/router/Cargo.toml +++ b/router/Cargo.toml @@ -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"]