Watch Aspire live streamsDocsTry Aspire
Watch Aspire live streamsDocsTry

RustCargoArgsCallbackContext

Classsealednet10.0
📦 Aspire.Hosting.Rust v13.6.0-preview.1.26478.8
Represents callback context for cargo-level command-line arguments.
namespace Aspire.Hosting.Rust;
public sealed class RustCargoArgsCallbackContext
{
// ...
}
Unlike program arguments, cargo arguments are plain strings rather than Object. They select build behaviour ( --release, --features, --bin) before the program starts, so there is nothing for a deferred value such as an endpoint reference to resolve against; those belong after the -- separator and are added with WithArgs.
View all constructors
View all properties