ffmpeg build feature is conditional on platform

This commit is contained in:
Shashwat Singh
2022-06-30 19:01:57 +05:30
parent f40e54c5af
commit e456fee942

View File

@@ -15,6 +15,8 @@ log = "0.4.0"
env_logger = "0.8.4"
iconv = "0.1.1"
palette = "0.6.0"
ffmpeg-sys-next = { version = "5.0.1", optional = true, default-features = false, features = ["avcodec"]}
[target.'cfg(windows)'.dependencies]
ffmpeg-sys-next = { version = "5.0.1", optional = true, default-features = false, features = ["avcodec", "build"]}
[build-dependencies]