Skip to content

Building from Source

Struis112 edited this page Jul 17, 2026 · 1 revision

Building from source

InLook is a small Rust project. You need a recent stable toolchain (built with 1.95; the minimum supported is 1.74).

git clone https://github.com/StruisICT/InLook
cd InLook
cargo build --release
cargo run --release -- test/sample.eml

Linux system dependencies

The WebView (wry/WebKitGTK) needs:

sudo apt-get install -y libwebkit2gtk-4.1-dev libgtk-3-dev \
  libayatana-appindicator3-dev librsvg2-dev

Tests

cargo test --release        # unit + golden snapshot tests
cargo fmt --all -- --check  # format gate
cargo clippy --all-targets --release -- -D warnings

The .msg test fixtures are generated with cargo run --example gen_msg_fixtures.

For architecture, conventions, packaging, and the release process, see AGENTS.md in the repository.

Clone this wiki locally