Structsยง
- Cargo
Builder - Runs
cargo build --releaseand returns the produced artifacts. - Cargo
Builder Config - Configuration for
CargoBuilder. - Cargo
DocBuilder - Runs
cargo docand returns theindex.htmlentry point for each documented crate as an artifact. - Cargo
DocBuilder Config - Configuration for
CargoDocBuilder. - Cargo
Message ๐ - Minimal representation of the JSON messages emitted by
cargo build --message-format=json. - Cargo
Message ๐Target
Functionsยง
- get_
host_ ๐target - Query
rustc -vVand return the host target triple (e.g."x86_64-unknown-linux-gnu"). - read_
crate_ ๐version - Read
[package].versionfrom the Cargo.toml atmanifest_path(defaults toCargo.tomlin the current directory). - run_
cargo_ ๐build - Spawn
cargo build --release --message-format=json [--target <triple>] [--manifest-path <path>]and collect every artifact path from thecompiler-artifactmessages.