From 39706cd65f7daa433d2b00c960705673ccd70eb3 Mon Sep 17 00:00:00 2001 From: Matt Sturgeon Date: Sat, 15 Feb 2025 11:54:49 +0000 Subject: [PATCH] doc: remove redundant fetchCargoVendor section Was made redundant by 3e5b235146f3b6d73e9a6aa999c0bd8a011cb221 --- doc/languages-frameworks/rust.section.md | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/doc/languages-frameworks/rust.section.md b/doc/languages-frameworks/rust.section.md index d0ba09b51621..34ac80cac998 100644 --- a/doc/languages-frameworks/rust.section.md +++ b/doc/languages-frameworks/rust.section.md @@ -461,17 +461,6 @@ also be used: the `Cargo.lock`/`Cargo.toml` files need to be patched before vendoring. -In case the lockfile contains cargo `git` dependencies, you can use -`fetchCargoVendor` instead. -```nix -{ - cargoDeps = rustPlatform.fetchCargoVendor { - inherit src; - hash = "sha256-RqPVFovDaD2rW31HyETJfQ0qVwFxoGEvqkIgag3H6KU="; - }; -} -``` - If a `Cargo.lock` file is available, you can alternatively use the `importCargoLock` function. In contrast to `fetchCargoVendor`, this function does not require a hash (unless git dependencies are used)