Installation

Updated May 23, 2026

Installing with cargo-binstall

On supported Linux GNU targets, install the prebuilt release archive with cargo-binstall:

cargo install cargo-binstall

Then install Dear Diary:

cargo binstall dear-diary

The release workflow publishes cargo-binstall archives for Linux x86_64 and aarch64 targets. For other targets, build from source.

Building from source

Clone the repository and build the release binary:

git clone https://github.com/leynos/dear-diary
cd dear-diary
cargo build --release

The compiled binary is located at target/release/dear-diary.

Verifying the build

Run the test suite to confirm the installation:

cargo test --workspace