#mtime #timestamp #ci #build

build timelord-cli

A command-line interface for timelord, a Rust tool to preserve file timestamps (mtime) between CI builds

2 stable releases

Uses new Rust 2024

new 3.0.1 Mar 22, 2025

#321 in Build Utils

MIT/Apache

38KB
708 lines

timelord-cli

Crates.io Documentation License: MIT OR Apache-2.0

A command-line interface for timelord, a Rust tool to preserve file timestamps (mtime) between CI builds, even with fresh git checkouts.

Installation

cargo install timelord-cli

Usage

timelord --source-dir <SOURCE_DIR> --cache-dir <CACHE_DIR>
  • <SOURCE_DIR>: Directory containing files to preserve timestamps for
  • <CACHE_DIR>: Persistent directory to store the timestamp database across CI builds

For more detailed information on how timelord works and additional configuration options, please refer to the timelord library documentation.

License

Licensed under either of

at your option.

Dependencies

~10–35MB
~507K SLoC