Repository navigation
Building from Source
bisu edited this page Sep 21, 2026
·
1 revision
- Rust 1.98.1 or newer (edition 2021) — the declared MSRV
- Linux: GTK/X11/Wayland dev libraries for the GUI (
eframebuilds withwayland+x11features) - macOS/Windows: no extra packages needed
Check your toolchain:
rustc --version # must be >= 1.98.1git clone https://github.com/bisug/BinaryInspector.git
cd BinaryInspector
# CLI only
cargo build --release --locked --bin binary-inspector
# GUI only
cargo build --release --locked --bin binary-inspector-gui
# Everything
cargo build --release --lockedBinaries land in target/release/:
| Binary | Purpose |
|---|---|
binary-inspector |
CLI |
binary-inspector-gui |
Native desktop GUI (egui/eframe) |
Cargo.toml tunes release builds for size and speed:
[profile.release]
codegen-units = 1
lto = "thin"
opt-level = 3
panic = "abort"
strip = "symbols"Either use the installer (downloads release assets or builds locally):
curl -fsSL https://raw.githubusercontent.com/bisug/BinaryInspector/main/install.sh | bash -s -- --to ~/.local/binOr copy manually:
install -m 0755 target/release/binary-inspector target/release/binary-inspector-gui ~/.local/bin/cargo fmt --check
cargo clippy --all-targets -- -D warnings
cargo test --locked
cargo doc --no-deps
./target/release/binary-inspector /bin/ls -mAll four gates must pass before committing (see Contributing).
Installation