rust

package
v0.0.0-...-d97b457 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: MPL-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package rust is the build planner for Rust projects.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateDockerfile

func GenerateDockerfile(meta types.PlanMeta) (string, error)

GenerateDockerfile generates the Dockerfile for the Rust project.

func GetMeta

func GetMeta(options GetMetaOptions) types.PlanMeta

GetMeta gets the metadata of the Rust project.

func NewIdentifier

func NewIdentifier() plan.Identifier

NewIdentifier returns a new Rust identifier.

func NewPacker

func NewPacker() packer.Packer

NewPacker returns a new Rust packer.

Types

type GetMetaOptions

type GetMetaOptions struct {
	Src afero.Fs

	Config plan.ImmutableProjectConfiguration
	// In Rust, the submodule name is the binary name.
	SubmoduleName string
}

GetMetaOptions is the options for GetMeta.

Jump to

Keyboard shortcuts

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