From 6b2ee7e0e59ca1cb9a8e029d770dd9700fe812b4 Mon Sep 17 00:00:00 2001 From: Omnath Mandal <145841395+htanmo@users.noreply.github.com> Date: Sun, 8 Oct 2023 15:04:41 +0530 Subject: [PATCH] cargo-fetch: add page (#10883) * [cargo fetch] * [fix] * Update cargo-fetch.md --- pages/common/cargo-fetch.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 pages/common/cargo-fetch.md diff --git a/pages/common/cargo-fetch.md b/pages/common/cargo-fetch.md new file mode 100644 index 000000000..c64a6065f --- /dev/null +++ b/pages/common/cargo-fetch.md @@ -0,0 +1,32 @@ +# cargo fetch + +> Fetch dependencies of a package from the network. +> More information: . + +- Fetch dependencies from the `Cargo.lock` file: + +`cargo fetch {{options}}` + +- Display verbose output: + +`cargo fetch --verbose` + +- Do not print Cargo log messages: + +`cargo fetch --quiet` + +- Control colored output: + +`cargo fetch --color {{auto|always|never}}` + +- Path to `Cargo.toml`: + +`cargo fetch --manifest-path {{path}}` + +- Prevent Cargo from accessing the network: + +`cargo fetch --offline` + +- Display help: + +`cargo fetch --help`