Expand description
cargo-sbom precursor files for external tools to create SBOM files from.
See build_sbom_graph for more.
Re-exportsΒ§
use crate::util::data_structures::HashMap;πuse crate::util::data_structures::HashSet;πuse std::collections::BTreeMap;πuse std::collections::BTreeSet;πuse std::path::PathBuf;πuse cargo_util_schemas::core::PackageIdSpec;πuse itertools::Itertools;πuse serde::Serialize;πuse serde::Serialize;πuse crate::CargoResult;πuse crate::util::Rustc;πuse crate::util::interning::InternedString;πuse crate::workspace::TargetKind;πuse super::BuildRunner;πuse super::CompileMode;πuse super::Unit;π
StructsΒ§
- Sbom
- Sbom
Crate π - Sbom
Dependency π - Sbom
Format Version - Typed version of a SBOM format version number.
- Sbom
Index π - Sbom
Rustc π
EnumsΒ§
- Sbom
Dependency πType
FunctionsΒ§
- build_
sbom - Build an
Sbomfor the givenUnit. - build_
sbom_ πgraph - List all dependencies, including transitive ones. A dependency can also appear multiple times if itβs using different settings, e.g. profile, features or crate versions.