15 references to WithCargoManifestPath
Aspire.Hosting.Rust.Tests (15)
AddRustAppPublishTests.cs (14)
452
"manifest-path" => rust.
WithCargoManifestPath
("Cargo.toml\nFROM scratch"),
577
configureResource: app => app.
WithCargoManifestPath
("crates/api/Cargo.toml"));
599
builder.AddRustApp("api", sourceDir.FullName).
WithCargoManifestPath
(differentlyCasedPath);
629
builder.AddRustApp("api", sourceDir.FullName).
WithCargoManifestPath
(composedManifestPath);
673
builder.AddRustApp("api", sourceDir.FullName).
WithCargoManifestPath
("Crates/API/Cargo.toml");
699
configureResource: app => app.
WithCargoManifestPath
(@"crates\api\Cargo.toml"));
718
configureResource: app => app.
WithCargoManifestPath
(@"crates\api/Cargo.toml"));
749
builder.AddRustApp("api", sourceDir.FullName).
WithCargoManifestPath
(manifestPath);
788
builder.AddRustApp("api", sourceDir.FullName).
WithCargoManifestPath
(manifestPath);
808
builder.AddRustApp("api", sourceDir.FullName).
WithCargoManifestPath
("linked/Cargo.toml");
831
builder.AddRustApp("api", sourceDir.FullName).
WithCargoManifestPath
("linked/Cargo.toml");
849
() => PublishDockerfileAsync(configureResource: app => app.
WithCargoManifestPath
(manifestPath)));
861
configureResource: app => app.
WithCargoManifestPath
(Path.Combine(Path.GetTempPath(), "Cargo.toml"))));
1061
.
WithCargoManifestPath
("Cargo.toml");
RustPublicApiTests.cs (1)
94
.
WithCargoManifestPath
("crates/worker/Cargo.toml")