ffcine-cli 0.4.0

ffcine command-line interface
Documentation
[package]
name = "ffcine-cli"
description = "ffcine command-line interface"
version.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
homepage.workspace = true
readme.workspace = true
documentation = "https://docs.rs/ffcine-cli"
authors.workspace = true
keywords.workspace = true
categories = ["command-line-utilities", "multimedia::video"]
rust-version.workspace = true

[[bin]]
name = "ffcine"
path = "src/main.rs"
doc = false

[features]
default = ["gpu"]
# The GPU commands (grade, batch, stabilize, jitter, probe, import) and the GPU doctor checks:
# links libav* and libplacebo. Without it (`--no-default-features`, the macOS offload build)
# the binary has ingest, catalog and doctor only, and needs no system libraries.
gpu = ["audio", "ffcine/ffmpeg", "ffcine/placebo", "ffcine/nvof", "dep:image"]
# `sync` (recorder WAVs to camera clips) and `audio` (the mix): libav* only, no GPU, so the Mac
# build can have them: `--no-default-features --features audio`.
audio = ["ffcine/audio"]
# `--stab-source` also reads GoPro, Sony, Insta360, DJI action cameras and others.
telemetry = ["gpu", "ffcine/telemetry"]

[dependencies]
ffcine.workspace = true
anyhow.workspace = true
bpaf.workspace = true
image = { workspace = true, optional = true }
serde_json.workspace = true

[lints]
workspace = true

[dev-dependencies]
# `Doc::render_markdown` for the help test: unwrapped, structured help text.
bpaf = { workspace = true, features = ["docgen"] }

# docs.rs has no matching ffmpeg/libplacebo system libraries.
[package.metadata.docs.rs]
no-default-features = true
targets = ["x86_64-unknown-linux-gnu"]