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(RustDependency) - Method in RustDependencyConfiguration
Adds a previsouly created dependency to this group.
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

because(String) - Method in ConfigurableDependency
Sets the reason why this dependency should be used.
because(String) - Method in NameVersionDependency
Sets the reason why this dependency should be used.
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.
cargoToml(Object) - Method in RustExtension
If a Cargo.toml file should be used to augment configuration, this is the place to configure its location.
CargoTomlParser - Class in org.ysb33r.gradle.rust.cargo.internal
Parses a Cargo.toml file.
CargoTomlParser(Project, CargoPackage, RustDependencyHandler) - Constructor in CargoTomlParser
Parser for a Cargo.toml file.
compare(ConfigurableDependency) - Method in ConfigurableDependency
Base method for comparing to instances of ConfigurableDependency.
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
contentEquals(Dependency) - Method in ConfigurableDependency
Returns whether two dependencies have identical values for their properties.
contentEquals(Dependency) - Method in NameVersionDependency
Returns whether two dependencies have identical values for their properties.
contentEquals(Dependency) - Method in PatchDependency
Returns whether two dependencies have identical values for their properties.
copy() - Method in ConfigurableDependency
Creates and returns a new ConfigurableDependency with the property values of this one.
copy() - Method in NameVersionDependency
Creates and returns a new dependency with the property values of this one.
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
Implementation of a RustDependencyHandler.
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

features(Object) - Method in ConfigurableDependency
If a dependency has optional features, add to the list of features to be included.
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
Return the Rust build dependencies configuration.
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.
getCargoToml() - Method in RustExtension
Returns the Cargo.toml file location to read information from.
getCargoWorkingDir() - Method in AbstractCargoRunnerTask
getCargoWorkingDir() - Method in AbstractRustLifecycleTask
getCompile() - Method in DependencyHandler
Return the Rust dependencies configuration.
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
getFeatures() - Method in ConfigurableDependency
List of optional features previsouly set by the user.
getFeatures() - Method in NameVersionDependency
Short-form dependencies cannot have features configured.
getFeatures() - Method in RustDependency
The list of features that the user has requested.
getGroup() - Method in ConfigurableDependency
Returns the group of this dependency.
getGroup() - Method in NameVersionDependency
Returns the group of this dependency.
getHasFeatures() - Method in ConfigurableDependency
Indicates whether optional features has been requested.
getHasFeatures() - Method in NameVersionDependency
Short-form dependencies cannot have features configured.
getHasFeatures() - Method in RustDependency
WHether the user has requested optional features for a dependency
getLayout() - Method in RustExtension
Returns a representation of the Ryst source code layout.
getManifest() - Method in CargoManifestTask
getName() - Method in CargoPackage
getName() - Method in ConfigurableDependency
Returns the name of this dependency.
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 container 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
getReason() - Method in ConfigurableDependency
Returns a reason why this dependency should be used, in particular with regards to its version.
getReason() - Method in NameVersionDependency
Returns a reason why this dependency should be used, in particular with regards to its version.
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
Get the associated target platform.
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
Return the Rust dev dependencies configuration.
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
getVersion() - Method in ConfigurableDependency
Returns the version of this dependency.
getWithDefaultFeatures() - Method in ConfigurableDependency
Returns whether default features should be included.
getWithDefaultFeatures() - Method in RustConfigurableDependency
Returns whether default features should be included or not.
git(String, String) - Method in ConfigurableDependency
Define a Git repository and associated branch where dependency is stored.
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
Set name of configurable dependency.
name(String) - Method in RustConfigurableDependency
NameVersionDependency - Class in org.ysb33r.gradle.rust.internal.dependencies
Defines a simple name-version Rust dependency.
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
parseFile(File) - Method in CargoTomlParser
Parses a Cargo.toml file.
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
Define a local path where dependency can be found.
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
A Rust configurable dependency can specify all the options that can be specified via Cargo.toml.
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
setCargoToml(Object) - Method in RustExtension
If a Cargo.toml file should be used to augment configuration, this is the place to configure its location.
setCompileType(AbstractRustCompile.CompileType) - Method in AbstractRustCompile
Set the compilation type for this task.
setExecutable(Object) - Method in RustApplicationExec
Set the executable.
setFeatures(Iterable<Object>) - Method in ConfigurableDependency
If a dependency has optional features, set the list of features to be included.
setName(Object) - Method in CargoPackage
setOutputFile(Object) - Method in CargoManifestTask
setRustWorkingDir(Object) - Method in AbstractRustLifecycleTask
setVersion(Object) - Method in CargoPackage
setWithDefaultFeatures(boolean) - Method in ConfigurableDependency
If the dependency has optional features, set whether the default features should be included.
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
Sets a target platform to which the dependency will apply.
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
Returns the dependency name in a form that is recognisable by Cargo.toml.
toString() - Method in NameVersionDependency
Displays the dependency in a way that is also acceptable to Cargo.toml.
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.
useCargoSourceLayout(Object) - Method in RustExtension
Use Cargo conventions for laying out Rust source.
useGradleSourceLayout() - Method in RustExtension
Use Gradle conventions for laying out Rust source.

V

validAbi(SupportedAbi) - Method in SupportedOs
validArch(SupportedArch) - Method in SupportedOs
version(Object) - Method in CargoPackage
version(String) - Method in ConfigurableDependency
Set version of configurable dependency.
version(String) - Method in RustConfigurableDependency

W

withDefaultFeatures(boolean) - Method in ConfigurableDependency
If the dependency has optional features, set whether the default features should be included.
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 _