rust

package
v0.52.0 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

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 Cataloger

type Cataloger struct{}

func NewRustAuditBinaryCataloger

func NewRustAuditBinaryCataloger() *Cataloger

NewRustAuditBinaryCataloger returns a new Rust auditable binary cataloger object that can detect dependencies in binaries produced with https://github.com/Shnatsel/rust-audit

func (*Cataloger) Catalog

func (c *Cataloger) Catalog(resolver source.FileResolver) ([]pkg.Package, []artifact.Relationship, error)

Catalog identifies executables then attempts to read Rust dependency information from them

func (*Cataloger) Name

func (c *Cataloger) Name() string

Name returns a string that uniquely describes a cataloger

Jump to

Keyboard shortcuts

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