From 9fd8a07b2af8e0abf0d6dcd4435d279edad2ce53 Mon Sep 17 00:00:00 2001 From: Dandaedre Date: Sat, 3 Oct 2026 15:07:21 +0200 Subject: [PATCH] Prefer prebuilt bridge installation --- README.md | 13 +++++++++++++ doc/installation.md | 17 +++++++++++++++-- 2 files changed, 28 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1bb419a..a6057b9 100644 --- a/README.md +++ b/README.md @@ -61,6 +61,19 @@ python -m pip install \ ## 2. Install the bridge +The preferred method uses +[`cargo-binstall`](https://github.com/cargo-bins/cargo-binstall). Releases +provide three prebuilt platform binaries; `cargo-binstall` selects and installs +the one for the current system from the latest release candidate: + +```sh +cargo binstall --git \ + https://proxy.dandaedre.com/gitea/MadGobblins/vsg-bridge-ls.git \ + vsg-bridge-ls +``` + +Without `cargo-binstall`, build and install the bridge from source: + ```sh cargo install --locked \ --git https://proxy.dandaedre.com/gitea/MadGobblins/vsg-bridge-ls.git diff --git a/doc/installation.md b/doc/installation.md index defbce0..397fc35 100644 --- a/doc/installation.md +++ b/doc/installation.md @@ -53,9 +53,22 @@ python -m pip install \ "git+https://proxy.dandaedre.com/gitea/MadGobblins/vhdl-style-guide.git@master" ``` -## Install the bridge +## Preferred: install the prebuilt bridge with cargo-binstall -Install the released branch directly from Gitea: +Releases contain prebuilt archives for three supported targets. With +[`cargo-binstall`](https://github.com/cargo-bins/cargo-binstall) available, it +selects the archive for the current system and installs the latest release +candidate: + +```sh +cargo binstall --git \ + https://proxy.dandaedre.com/gitea/MadGobblins/vsg-bridge-ls.git \ + vsg-bridge-ls +``` + +## Alternative: build the bridge from source + +Without `cargo-binstall`, install the released branch directly from Gitea: ```sh cargo install --locked \