bootstrap: add module docs for core:metadata

This commit is contained in:
bit-aloo 2025-02-23 08:37:10 +05:30
parent 07697360ae
commit 54dd4c87be
No known key found for this signature in database
GPG key ID: 02911B24FDAE81DA

View file

@ -1,3 +1,10 @@
//! 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.
use std::collections::BTreeMap;
use std::path::PathBuf;