Documentation ¶
Overview ¶
Package rust provides a concrete Cataloger implementation for Cargo.lock files.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCargoLockCataloger ¶
func NewCargoLockCataloger() *common.GenericCataloger
NewCargoLockCataloger returns a new Rust Cargo lock file cataloger object.
Types ¶
type CargoMetadata ¶
type CargoMetadata struct {
Packages []pkg.CargoPackageMetadata `toml:"package"`
}
func (CargoMetadata) Pkgs ¶
func (m CargoMetadata) Pkgs() []pkg.Package
Pkgs returns all of the packages referenced within the Cargo.lock metadata.
Click to show internal directories.
Click to hide internal directories.