RustAppResource.withCargoFeatures

Method
📦 Aspire.Hosting.Rust v17.0.0-preview.1.26567.5
interface RustAppResource {
// ... omitted for brevity
withCargoFeatures(features: string[]): RustAppResource;
}

Signature

methodwithCargoFeaturesbuilder
Adds cargo features for the Rust application.
withCargoFeatures(features: string[]): RustAppResource
featuresstring[]The features to enable.
RustAppResource

Defined on

This method is defined on the following type: