Expand description
This module interacts with Cargo metadata to collect and store information about the packages in the Rust workspace.
It runs cargo metadata to gather details about each package, including its name,
source, dependencies, targets, and available features. The collected metadata is then
used to update the Build structure, ensuring proper dependency resolution and
compilation flow.
Structsยง
- Dependency ๐
- For more information, see the output of https://doc.rust-lang.org/nightly/cargo/commands/cargo-metadata.html
- Output ๐
- For more information, see the output of https://doc.rust-lang.org/nightly/cargo/commands/cargo-metadata.html
- Package ๐
- For more information, see the output of https://doc.rust-lang.org/nightly/cargo/commands/cargo-metadata.html
Functionsยง
- build
- Collects and stores package metadata of each workspace members into
build, by executingcargo metadatacommands. - workspace_
members ๐ - Invokes
cargo metadatato get package metadata of each workspace member.