From fa105bb8d78b37fa8b6c3d958544e205798d2948 Mon Sep 17 00:00:00 2001 From: Jiahao XU <30436523+NobodyXu@users.noreply.github.com> Date: Fri, 26 Jul 2024 14:26:56 +1000 Subject: [PATCH] Update doc in SUPPORT.md for disabled-strategies (#1830) * Update doc in SUPPORT.md for disabled-strategies For #1828 and #1721 Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com> * Update SUPPORT.md Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com> --------- Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com> --- SUPPORT.md | 1 + 1 file changed, 1 insertion(+) diff --git a/SUPPORT.md b/SUPPORT.md index b88b5517..3ca7d5b4 100644 --- a/SUPPORT.md +++ b/SUPPORT.md @@ -20,6 +20,7 @@ With the following configuration keys: - `pkg-url` specifies the package download URL for a given target/version, templated - `bin-dir` specifies the binary path within the package, templated (with an `.exe` suffix on windows) - `pkg-fmt` overrides the package format for download/extraction (defaults to: `tgz`) +- `disabled-strategies` to disable specific strategies (e.g. `crate-meta-data` for trying to find pre-built on your repository, `quick-install` for pre-built from third-party cargo-bins/cargo-quickinstall, `compile` for falling back to `cargo-install`) for your crate (defaults to empty array). The user can override this by explicitly specifying --strategies on the command line. `pkg-url` and `bin-dir` are templated to support different names for different versions / architectures / etc.