Dagger
Search

rust

No long description provided.

Installation

dagger install github.com/sagikazarmark/jwk-simple/dagger/rust@c0909b979fad264021a783ebab3fd26f244dae69

Entrypoint

Return Type
Rust !
Arguments
NameTypeDefault ValueDescription
workspaceWorkspace -No description provided
versionString -No description provided
containerContainer -No description provided
cargoRegistryCacheCacheVolume -No description provided
cargoGitCacheCacheVolume -No description provided
cargoTargetCacheCacheVolume -No description provided
Example
dagger -m github.com/sagikazarmark/jwk-simple/dagger/rust@c0909b979fad264021a783ebab3fd26f244dae69 call \
func (m *MyModule) Example() *dagger.Rust  {
	return dag.
			Rust()
}
@function
def example() -> dagger.Rust:
	return (
		dag.rust()
	)
@func()
example(): Rust {
	return dag
		.rust()
}

Types

Rust 🔗

audit() 🔗

Runs cargo audit against the Rust source code.

Return Type
String !
Example
dagger -m github.com/sagikazarmark/jwk-simple/dagger/rust@c0909b979fad264021a783ebab3fd26f244dae69 call \
 audit
func (m *MyModule) Example(ctx context.Context) string  {
	return dag.
			Rust().
			Audit(ctx)
}
@function
async def example() -> str:
	return await (
		dag.rust()
		.audit()
	)
@func()
async example(): Promise<string> {
	return dag
		.rust()
		.audit()
}

clippy() 🔗

Runs cargo clippy against the Rust source code.

Return Type
String !
Example
dagger -m github.com/sagikazarmark/jwk-simple/dagger/rust@c0909b979fad264021a783ebab3fd26f244dae69 call \
 clippy
func (m *MyModule) Example(ctx context.Context) string  {
	return dag.
			Rust().
			Clippy(ctx)
}
@function
async def example() -> str:
	return await (
		dag.rust()
		.clippy()
	)
@func()
async example(): Promise<string> {
	return dag
		.rust()
		.clippy()
}