[package]
edition = "2021"
rust-version = "1.79"
name = "ffmpeg-sidecar"
version = "2.5.1"
authors = ["Nathan Babcock <nathan.r.babcock@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Wrap a standalone FFmpeg binary in an intuitive Iterator interface."
readme = "README.md"
keywords = [
"ffmpeg",
"video",
]
categories = ["multimedia"]
license = "MIT"
repository = "https://github.com/nathanbabcock/ffmpeg-sidecar"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
default = ["download_ffmpeg"]
download_ffmpeg = [
"dep:ureq",
"dep:tar",
"dep:xz2",
"dep:zip",
]
named_pipes = [
"dep:winapi",
"dep:nix",
]
[lib]
name = "ffmpeg_sidecar"
crate-type = ["lib"]
path = "src/lib.rs"
[[bin]]
name = "ffmpeg-sidecar"
path = "src/main.rs"
[[example]]
name = "download_ffmpeg"
path = "examples/download_ffmpeg.rs"
[[example]]
name = "download_ffmpeg_with_progress"
path = "examples/download_ffmpeg_with_progress.rs"
[[example]]
name = "ffplay_preview"
path = "examples/ffplay_preview.rs"
[[example]]
name = "ffprobe"
path = "examples/ffprobe.rs"
[[example]]
name = "game_of_life"
path = "examples/game_of_life.rs"
[[example]]
name = "h265_transcode"
path = "examples/h265_transcode.rs"
[[example]]
name = "hello_world"
path = "examples/hello_world.rs"
[[example]]
name = "metadata"
path = "examples/metadata.rs"
[[example]]
name = "mic_meter"
path = "examples/mic_meter.rs"
[[example]]
name = "named_pipes"
path = "examples/named_pipes.rs"
[[example]]
name = "progress"
path = "examples/progress.rs"
[[example]]
name = "sockets"
path = "examples/sockets.rs"
[[example]]
name = "terminal_video"
path = "examples/terminal_video.rs"
[[example]]
name = "trigger"
path = "examples/trigger.rs"
[[example]]
name = "whisper"
path = "examples/whisper.rs"
[dependencies.anyhow]
version = "1.0.99"
[dependencies.ureq]
version = "3.1.0"
optional = true
[target.'cfg(not(target_os = "linux"))'.dependencies.zip]
version = "4.3.0"
features = ["deflate"]
optional = true
default-features = false
[target.'cfg(target_os = "linux")'.dependencies.tar]
version = "0.4.45"
optional = true
[target.'cfg(target_os = "linux")'.dependencies.xz2]
version = "0.1.7"
optional = true
[target."cfg(unix)".dependencies.nix]
version = "0.30.1"
features = ["fs"]
optional = true
[target."cfg(windows)".dependencies.winapi]
version = "0.3.9"
features = [
"winbase",
"handleapi",
"namedpipeapi",
]
optional = true