Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithCargoManifestPath

Method
📦 Aspire.Hosting.Rust v17.0.0-preview.1.26565.2
func (RustAppResource) WithCargoManifestPath(manifestPath string) RustAppResource

Signature

methodWithCargoManifestPathbuilder
Configures the Cargo.toml cargo builds from.
WithCargoManifestPath(manifestPath string) RustAppResource
manifestPathstringThe path to the manifest, absolute or relative to the app directory.
RustAppResource

The resource builder.

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types: