rust

package
v0.29.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 29, 2021 License: Apache-2.0 Imports: 5 Imported by: 1

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL