15 references to WithCargoManifestPath
Aspire.Hosting.Rust.Tests (15)
AddRustAppPublishTests.cs (14)
454
"manifest-path" => rust.
WithCargoManifestPath
("Cargo.toml\nFROM scratch"),
579
configureResource: app => app.
WithCargoManifestPath
("crates/api/Cargo.toml"));
601
builder.AddRustApp("api", sourceDir.FullName).
WithCargoManifestPath
(differentlyCasedPath);
631
builder.AddRustApp("api", sourceDir.FullName).
WithCargoManifestPath
(composedManifestPath);
675
builder.AddRustApp("api", sourceDir.FullName).
WithCargoManifestPath
("Crates/API/Cargo.toml");
701
configureResource: app => app.
WithCargoManifestPath
(@"crates\api\Cargo.toml"));
720
configureResource: app => app.
WithCargoManifestPath
(@"crates\api/Cargo.toml"));
751
builder.AddRustApp("api", sourceDir.FullName).
WithCargoManifestPath
(manifestPath);
790
builder.AddRustApp("api", sourceDir.FullName).
WithCargoManifestPath
(manifestPath);
810
builder.AddRustApp("api", sourceDir.FullName).
WithCargoManifestPath
("linked/Cargo.toml");
833
builder.AddRustApp("api", sourceDir.FullName).
WithCargoManifestPath
("linked/Cargo.toml");
851
() => PublishDockerfileAsync(configureResource: app => app.
WithCargoManifestPath
(manifestPath)));
863
configureResource: app => app.
WithCargoManifestPath
(Path.Combine(Path.GetTempPath(), "Cargo.toml"))));
1063
.
WithCargoManifestPath
("Cargo.toml");
RustPublicApiTests.cs (1)
94
.
WithCargoManifestPath
("crates/worker/Cargo.toml")