A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _

A

abiToolsSearchPath(Object) - Method in RustExtension
Add to list of paths to search for linker etc. in the operating system format
AbstractCargoRunnerTask - Class in org.ysb33r.gradle.rust.cargo
A base class for running cargo tasks.
AbstractRustCompile - Class in org.ysb33r.gradle.rust.tasks.internal
Common compilation facilities for Rust.
AbstractRustCompile.CompileType - Enum in org.ysb33r.gradle.rust.tasks.internal
AbstractRustCompile.CompileType(String, String) - Constructor in AbstractRustCompile.CompileType
AbstractRustLifecycleTask - Class in org.ysb33r.gradle.rust.tasks.internal
@since 0.1
AbstractRustPlugin - Class in org.ysb33r.gradle.rust.plugins.internal
Common functionality between Rust library and application plugins.
add(ConfigurableDependency, Action<RustConfigurableDependency>) - Method in DependencyContainer
Configures and adds a dependency using a configurating action.
add(Action<RustConfigurableDependency>) - Method in RustDependencyConfiguration
Adds a dependency using a configurating action.
addExtension(Project, String, RustDependencyHandler) - Method in GradleDependencyHandlerUtils
apply(Project) - Method in CargoPlugin
apply(Project) - Method in RustApplicationPlugin
apply(Project) - Method in RustBasePlugin
apply(Project) - Method in RustLibraryPlugin
applyBase(Project) - Method in AbstractRustPlugin
applySourceCopyConventions(Copy) - Method in RustConventions
Apply standard source layout conventions to the task that will prepare a Rust source directory.
authors(Object) - Method in CargoPackage

B

bindService(Object, String, Object) - Method in Injector
Binds a service class to a project service
build(Action<RustConfigurableDependency>) - Method in DependencyHandler
build(Action<RustConfigurableDependency>) - Method in RustDependencyHandler
Add a build dependency via an Gradle Action

C

call(Closure) - Method in DependencyHandler
call(Closure) - Method in RustDependencyHandler
Groovy extension that will pass any configurating closure
CargoCommandLineOptions - Class in org.ysb33r.gradle.rust.cargo.internal
Builds cargo command-line options.
CargoExecutionException - Class in org.ysb33r.gradle.rust.cargo
Thrown when execution of a cargo task fails.
CargoExecutionException(String, File, File, Exception) - Constructor in CargoExecutionException
CargoExtension - Class in org.ysb33r.gradle.rust.cargo
Extension to set Cargo defaults.
CargoManifest - Class in org.ysb33r.gradle.rust.cargo
Specifies a Cargo manifest.
CargoManifest(Project) - Constructor in CargoManifest
CargoManifestTask - Class in org.ysb33r.gradle.rust.tasks
Ability to create Cargo manifest files.
CargoManifestTask() - Constructor in CargoManifestTask
CargoOptions - Class in org.ysb33r.gradle.rust.cargo
Options for passing to cargo
CargoPackage - Class in org.ysb33r.gradle.rust.cargo.internal
Describes the package section of a Cargo manifest.
CargoPackage(Project) - Constructor in CargoPackage
CargoPlugin - Class in org.ysb33r.gradle.rust.cargo
Adds rules for running cargo commands from the Gradle command-line.
compile(Action<RustConfigurableDependency>) - Method in DependencyHandler
compile(Action<RustConfigurableDependency>) - Method in RustDependencyHandler
Add a dependency via an Gradle Action
ConfigurableDependency - Class in org.ysb33r.gradle.rust.internal.dependencies
@since 0.1
configure(Action<RustDependencyHandler>) - Method in DependencyHandler
configure(Action<RustDependencyHandler>) - Method in RustDependencyHandler
Configure th handler via a Gradle action.
configure() - Method in RustGuiceModule
createManifestTask(Project, String, String, String) - Method in RustConventions
Creates a task that will generate a Cargo manifest file.
createRustCompileTask(Project) - Method in AbstractRustPlugin
createRustCompileTask(Project) - Method in RustApplicationPlugin
createRustCompileTask(Project) - Method in RustLibraryPlugin
createSourceCopyTask(Project, String, String) - Method in RustConventions
Creates a task that will copy Rust source code to a place where it can be dealt with by Cargo layout.

D

defaultAbi(SupportedOs, SupportedArch) - Method in RustInstaller
Returns the default ABI for a given operating system & architecture combination.
DependencyContainer - Class in org.ysb33r.gradle.rust.internal.dependencies
Cnotains the dependencies for a specific Rust configuration.
DependencyContainer(String) - Constructor in DependencyContainer
DependencyHandler - Class in org.ysb33r.gradle.rust.internal.dependencies
@since 0.1
DependencyHandler(Project) - Constructor in DependencyHandler
Create a Rust dependency handler.

E

exec() - Method in AbstractCargoRunnerTask
exec() - Method in AbstractRustCompile
exec() - Method in CargoManifestTask
exec() - Method in RustApplicationExec
executable(Object) - Method in RustApplicationExec
Set the executable.

F

fromArch(Arch) - Method in SupportedArch
fromLogLevel(Project) - Method in CargoCommandLineOptions
fromOptions(CargoOptions) - Method in CargoCommandLineOptions
fromOS(OperatingSystem) - Method in SupportedOs

G

getAbiToolsSearchPath() - Method in RustExtension
Returns a list of paths to search for linker etc. in the operating system format.
getAndVerifyDistributionRoot(File, String) - Method in RustInstaller
getAppRunnerTaskName(String) - Method in RustConventions
Returns the name of the task that will run a compiled Rust application.
getAuthors() - Method in CargoPackage
getBuild() - Method in DependencyHandler
getBuild() - Method in RustDependencyHandler
Returns the container will all build dependencies.
getCargoCommand() - Method in AbstractCargoRunnerTask
getCargoCommand() - Method in RustCompile
getCargoCommand() - Method in RustTestTask
getCargoCommandOptions() - Method in AbstractCargoRunnerTask
getCargoCommandOptions() - Method in AbstractRustCompile
getCargoCommandOptions() - Method in RustCompile
getCargoCommandOptions() - Method in RustTestTask
getCargoExecutablePath() - Method in RustInstaller
Returns the location of the cargo executable.
getCargoOutputFiles() - Method in AbstractCargoRunnerTask
Files where Cargo output and errors are logged to.
getCargoWorkingDir() - Method in AbstractCargoRunnerTask
getCargoWorkingDir() - Method in AbstractRustLifecycleTask
getCompile() - Method in DependencyHandler
getCompile() - Method in RustDependencyHandler
Returns the container will all compile dependencies.
getCompileTaskNames(String) - Method in RustConventions
Returns a map of compilation task names as related to various phases of the Rust development cycle.
getCompileType() - Method in AbstractRustCompile
getDependencies() - Method in DependencyContainer
getDependencies() - Method in RustDependencyConfiguration
Returns all dependencies that are not target (platform) specific.
getExecutable() - Method in RustApplicationExec
Path to application executable.
getExtensionByName(Project, String) - Method in GradleDependencyHandlerUtils
getManifest() - Method in CargoManifestTask
getName() - Method in CargoPackage
getName() - Method in DependencyContainer
getOptions() - Method in AbstractCargoRunnerTask
getOutputDir() - Method in AbstractRustCompile
Directory where binaries are written to.
getOutputFile() - Method in CargoManifestTask
getPackage() - Method in CargoManifest
getPatches() - Method in DependencyHandler
Returns the contains with all local patches.
getPatches() - Method in RustDependencyHandler
Returns the container with all local patches.
getPatchesAsMap() - Method in DependencyHandler
Map the local patches on a per repository-basis
getPatchesAsMap() - Method in RustDependencyHandler
Map the local patches on a per repository-basis
getRustcExecutablePath() - Method in RustInstaller
Returns the location of the rustc executable.
getRustExtension() - Method in AbstractCargoRunnerTask
Gets the Rust extension associated with this task.
getRustSourceCodeWorkingDir() - Method in AbstractRustCompile
Directory where source code is to be found which can be compiled (after Gradle processing).
getRustTextReport() - Method in RustTestTask
The reports produced by this RustTestTask.
getRustWorkingDir() - Method in AbstractRustLifecycleTask
getSourceFiles() - Method in AbstractRustCompile
getTarget() - Method in ConfigurableDependency
getTarget() - Method in NameVersionDependency
Indicates whether the dependency is platform-specific
getTarget() - Method in RustConfigurableDependency
getTarget() - Method in RustDependency
Indicates whether the dependency is platform-specific
getTargetDependencies() - Method in DependencyContainer
Dependencies that are Target (platform) specific.
getTargetDependencies() - Method in RustDependencyConfiguration
Dependencies that are Target (platform) specific.
getTest() - Method in DependencyHandler
getTest() - Method in RustDependencyHandler
Returns the container will all test dependencies.
getTestTaskNames(String) - Method in RustConventions
Returns a map of test task names as related to the test and benchmark parts of the Rust development cycle.
getVersion() - Method in CargoPackage
git(String, String) - Method in ConfigurableDependency
git(String, String) - Method in RustConfigurableDependency
GradleDependencyHandlerUtils - Class in org.ysb33r.gradle.rust.internal.dependencies
Abstracts Gradle internals away from rest of plugin.

H

hasAbiFlavours() - Method in SupportedOs

I

Injector - Class in org.ysb33r.gradle.rust.internal
@since 0.1
Injector(Project) - Constructor in Injector

J

K

L

M

manifest(Action<CargoManifest>) - Method in CargoManifestTask

N

name(Object) - Method in CargoPackage
name(String) - Method in ConfigurableDependency
name(String) - Method in RustConfigurableDependency
NameVersionDependency - Class in org.ysb33r.gradle.rust.internal.dependencies
@since 0.1
NameVersionDependency(String, String) - Constructor in NameVersionDependency

O

options(Action<CargoOptions>) - Method in AbstractCargoRunnerTask
outputFile(Object) - Method in CargoManifestTask

P

packageInf(Action<CargoPackage>) - Method in CargoManifest
patch(URI, Action<RustConfigurableDependency>) - Method in DependencyHandler
Add a patched dependency via a configurating action for a repository that is not crates.io.
patch(URI, Action<RustConfigurableDependency>) - Method in RustDependencyHandler
Add a patched dependency via a configurating action for a repository that is not crates.io.
PatchDependency - Class in org.ysb33r.gradle.rust.internal.dependencies
Specifies a patch.
PatchDependency(String, String, String) - Constructor in PatchDependency
path(String) - Method in ConfigurableDependency
path(String) - Method in RustConfigurableDependency
postProcess(int, File, File) - Method in AbstractCargoRunnerTask
Post processes the result for a Cargo execution and optionally return a string that can be logged or used in an exception.
postProcess(int, File, File) - Method in RustTestTask
Post processes the test result.

Q

R

resolveCargoPath() - Method in RustExtension
Resolves the path to the cargo executable.
resolveRustcPath() - Method in RustExtension
Resolves the path to the rustc executable.
RustApplicationExec - Class in org.ysb33r.gradle.rust.tasks
Ability to execute a compiled Rust application.
RustApplicationPlugin - Class in org.ysb33r.gradle.rust.plugins
Adds tasks to build a Rust-based application
RustBasePlugin - Class in org.ysb33r.gradle.rust.plugins
Provides core functionality for working with Rust & Cargo.
RustCompile - Class in org.ysb33r.gradle.rust.tasks
Compiles Rust source code.
RustConfigurableDependency - Interface in org.ysb33r.gradle.rust.dependencies
@since 0.1
RustConventions - Class in org.ysb33r.gradle.rust.internal
Utility class to apply certain gradlesque Rust conventions.
RustDependency - Interface in org.ysb33r.gradle.rust.dependencies
Describes a Rust dependency
RustDependencyConfiguration - Interface in org.ysb33r.gradle.rust.dependencies
Contains a collection of Rust dependencies
RustDependencyFormatException - Class in org.ysb33r.gradle.rust.dependencies
Thrown for incorrect formats of Rust dependencies in a Gradle script.
RustDependencyFormatException(String) - Constructor in RustDependencyFormatException
RustDependencyHandler - Interface in org.ysb33r.gradle.rust.dependencies
@since 0.1
RustExtension - Class in org.ysb33r.gradle.rust
@since 0.1
RustExtension(Project) - Constructor in RustExtension
RustGuiceModule - Class in org.ysb33r.gradle.rust.internal
@since 0.1
RustGuiceModule(Project) - Constructor in RustGuiceModule
RustInstaller - Class in org.ysb33r.gradle.rust.internal
Installs Rust distributions.
RustInstaller(Project, String, SupportedOs, SupportedArch, SupportedAbi) - Constructor in RustInstaller
Installs a specific rust distribution to be used for cross-compilation purposes.
RustLibraryPlugin - Class in org.ysb33r.gradle.rust.plugins
Adds tasks to build a Rust-based libraries
RustTestTask - Class in org.ysb33r.gradle.rust.tasks
@since 0.1
rustWorkingDir(Object) - Method in AbstractRustLifecycleTask

S

searchPath() - Method in RustExtension
Use this to configure a system path search for Packer.
setAbiToolsSearchPath(Iterable<Object>) - Method in RustExtension
Set the list of paths to search for linker etc. in the operating system format
setAuthors(Iterable<Object>) - Method in CargoPackage
setCompileType(AbstractRustCompile.CompileType) - Method in AbstractRustCompile
Set the compilation type for this task.
setExecutable(Object) - Method in RustApplicationExec
Set the executable.
setName(Object) - Method in CargoPackage
setOutputFile(Object) - Method in CargoManifestTask
setRustWorkingDir(Object) - Method in AbstractRustLifecycleTask
setVersion(Object) - Method in CargoPackage
SupportedAbi - Enum in org.ysb33r.gradle.rust
ABIs supported by Rust.
SupportedArch - Enum in org.ysb33r.gradle.rust
Architectures supported by Rust.
SupportedOs - Enum in org.ysb33r.gradle.rust
Operating systems supported by Rust

T

target(String) - Method in ConfigurableDependency
target(String) - Method in RustConfigurableDependency
test(Action<RustConfigurableDependency>) - Method in DependencyHandler
test(Action<RustConfigurableDependency>) - Method in RustDependencyHandler
Add a dev dependency via an Gradle Action
toString() - Method in AbstractRustCompile.CompileType
toString() - Method in ConfigurableDependency
toString() - Method in NameVersionDependency
toString() - Method in RustDependency
toString methods should return Cargo-correct formats.
toString() - Method in SupportedAbi
toString() - Method in SupportedArch
toString() - Method in SupportedOs

U

UnsupportedConfigurationException - Class in org.ysb33r.gradle.rust
The combination of operating system, architecture and/or ABI is not supported.
UnsupportedConfigurationException(SupportedOs, SupportedArch, SupportedAbi) - Constructor in UnsupportedConfigurationException
uriFromVersion(String) - Method in RustInstaller
Obtains a download URI for Rust distribution given a specific version.

V

validAbi(SupportedAbi) - Method in SupportedOs
validArch(SupportedArch) - Method in SupportedOs
version(Object) - Method in CargoPackage
version(String) - Method in ConfigurableDependency
version(String) - Method in RustConfigurableDependency

W

writeManifestTo(File) - Method in CargoManifest

X

Y

Z

_

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _