rustic / com.osm.gradle.plugins.wrapper / Cargo

Cargo

class Cargo : RustToolBase

Wraps the functionality of the cargo command.

Constructors

<init>

Wraps the functionality of the cargo command.

Cargo()

Properties

executable

Set the path to the executable file. For relative paths, it is resolved based on workingDirectory. If only the file name is set, not the path, the location of the executable is searched from the environment variable PATH.

val executable: String

Functions

bench

fun bench(options: OptionBuilder = OptionBuilder()): String

build

fun build(options: OptionBuilder = OptionBuilder()): String

check

fun check(options: OptionBuilder = OptionBuilder()): String

clean

fun clean(options: OptionBuilder = OptionBuilder()): String

doc

fun doc(options: OptionBuilder = OptionBuilder()): String

init

fun init(path: Path = workingDirectory ?: Paths.get(""), options: OptionBuilder = OptionBuilder()): String

new

fun new(path: Path, options: OptionBuilder = OptionBuilder()): String

run

fun run(options: OptionBuilder = OptionBuilder()): String

test

fun test(options: OptionBuilder = OptionBuilder()): String

version

fun version(): String