Skip to main content

Module vendor

Module vendor 

Source
Expand description

Handles the vendoring process for the bootstrap system.

This module ensures that all required Cargo dependencies are gathered and stored in the <src>/<VENDOR_DIR> directory.

Re-exportsยง

use std::path::PathBuf; ๐Ÿ”’
use crate::core::build_steps::tool::SUBMODULES_FOR_RUSTBOOK; ๐Ÿ”’
use crate::core::builder::Builder; ๐Ÿ”’
use crate::core::builder::CommandLineStep; ๐Ÿ”’
use crate::core::builder::RunConfig; ๐Ÿ”’
use crate::core::builder::ShouldRun; ๐Ÿ”’
use crate::utils::exec::command; ๐Ÿ”’

Structsยง

Vendor ๐Ÿ”’
Defines the vendoring step in the bootstrap process.
VendorOutput ๐Ÿ”’
Stores the result of the vendoring step.

Constantsยง

VENDOR_DIR
The name of the directory where vendored dependencies are stored.

Functionsยง

default_paths_to_vendor
Returns the cargo workspaces to vendor for x vendor and dist tarballs.