Skip to main content

rff_cli/
lib.rs

1//! `rff-cli` — the command-line front-ends.
2//!
3//! Two thin binaries, [`ffmpeg`](crate::ffmpeg) and [`ffprobe`](crate::ffprobe),
4//! that parse FFmpeg-compatible arguments and call straight into the `rff`
5//! engine API. All the real work lives in `rff`; this crate is just argument
6//! grammar + terminal output.
7
8pub mod args;
9pub mod ffmpeg;
10pub mod ffprobe;
11
12// Primary allocator for every rff-cli binary (rff/rffprobe/ffmpeg/ffprobe):
13// our rusty_alloc, the pure-Rust mimalloc remake. Set here in the lib root so
14// all four [[bin]] shims inherit it from one place. This crate is the binary
15// front-end only — never a dependency of other libraries — so declaring the
16// global allocator here does not impose it on external consumers.
17#[global_allocator]
18static GLOBAL_ALLOC: rusty_alloc_api::RustyAlloc = rusty_alloc_api::RustyAlloc;