rust

package
v0.8.6 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Overview

Package rust provides all needed logic for installation of rust

Index

Constants

This section is empty.

Variables

View Source
var (
	// VersionLink is the URL link from which we can get all possible versions
	VersionLink = "https://static.rust-lang.org/dist"
)

Functions

This section is empty.

Types

type Rust

type Rust struct {
	Version string
	Emitter *emission.Emitter
	pkg.Base
}

Rust essential struct

func New

func New(version string, emitter *emission.Emitter) *Rust

New returns language struct

func (Rust) Bins

func (rust Rust) Bins() []string

Bins returns list of the all bins included with the distribution of the language

func (Rust) Dots

func (rust Rust) Dots() []string

Dots returns list of the all available filenames which can define versions

func (Rust) Events

func (rust Rust) Events() *emission.Emitter

Events returns language related event emitter

func (Rust) Info

func (rust Rust) Info() map[string]string

Info provides all the info needed for installation of the plugin

func (Rust) Install

func (rust Rust) Install() error

Install hook

func (Rust) ListRemote

func (rust Rust) ListRemote() ([]string, error)

ListRemote returns list of the all available remote versions

Jump to

Keyboard shortcuts

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