mirror of
https://github.com/master-of-zen/Av1an.git
synced 2024-11-24 18:18:06 +00:00
e2451684b8
* Refactor: Better ffmpeg pipe handling + more info in --version * Update dependencies * Better documentation in `--help` * Include git commit hash and more info in `--version` * Add `-k` as shorthand for `--keep` * Do not pass `ffmpeg_pipe` around everywhere * Use macro to generate encoder bit depth functions * Fix documentation in README * Fix some clippy warnings
11 lines
314 B
Rust
11 lines
314 B
Rust
use vergen::{vergen, Config, ShaKind, TimestampKind};
|
|
|
|
fn main() {
|
|
let mut config = Config::default();
|
|
|
|
*config.git_mut().sha_kind_mut() = ShaKind::Short;
|
|
*config.git_mut().commit_timestamp_kind_mut() = TimestampKind::All;
|
|
*config.build_mut().kind_mut() = TimestampKind::All;
|
|
|
|
vergen(config).unwrap();
|
|
}
|