From 3a6ea3a31c90179fb3cbd30c18e3a310e2ee647c Mon Sep 17 00:00:00 2001 From: Dario Nieuwenhuis Date: Fri, 15 Aug 2025 19:01:56 +0200 Subject: Load all crates in the graph, honor the "publish" flag to prevent publishing examples/tests. --- release/src/cargo.rs | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'release/src/cargo.rs') diff --git a/release/src/cargo.rs b/release/src/cargo.rs index 0b28458e9..826a3a8b2 100644 --- a/release/src/cargo.rs +++ b/release/src/cargo.rs @@ -148,6 +148,15 @@ impl CargoArgsBuilder { self } + #[must_use] + pub fn artifact_dir(mut self, artifact_dir: S) -> Self + where + S: Into, + { + self.args.push(format!("--artifact-dir={}", artifact_dir.into())); + self + } + #[must_use] pub fn arg(mut self, arg: S) -> Self where -- cgit