[package] name = "rusty_ffmpeg" version = "0.16.1+ffmpeg.7.0" authors = ["ldm0 "] edition = "2021" description = "A library that provides Rust bindings for FFmpeg" documentation = "https://docs.rs/rusty_ffmpeg" readme = "README.md" homepage = "https://github.com/CCExtractor/rusty_ffmpeg/" repository = "https://github.com/CCExtractor/rusty_ffmpeg/" license = "MIT" keywords = ["ffmpeg", "ffi", "binding", "video", "audio"] categories = ["external-ffi-bindings", "multimedia"] build = "build.rs" links = "ffmpeg" exclude = [".github"] # Doc test of generated binding is non-sense https://github.com/rust-lang/cargo/issues/3720 [lib] doctest = false [dependencies] libc = "0.2" [build-dependencies] bindgen = "0.70" camino = "1.1" once_cell = "1.12" vcpkg = { version = "0.2", optional = true } [target.'cfg(not(windows))'.build-dependencies] pkg-config = "0.3" [features] # Probe and link FFmpeg with pkg-config link_system_ffmpeg = [] # Probe and link FFmpeg with vcpkg link_vcpkg_ffmpeg = ["vcpkg"] # FFmpeg 5.* support ffmpeg5 = [] # FFmpeg 6.* support ffmpeg6 = [] # FFmpeg 7.* support ffmpeg7 = []