Skip to content

Commit 826e63f

Browse files
refactor(sqlx-macros): Ignore deps when getting metadata for workspace root (#1823)
1 parent ec15f6b commit 826e63f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sqlx-macros/src/query/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ impl Metadata {
4646
let cargo = env("CARGO").expect("`CARGO` must be set");
4747

4848
let output = Command::new(&cargo)
49-
.args(&["metadata", "--format-version=1"])
49+
.args(&["metadata", "--format-version=1", "--no-deps"])
5050
.current_dir(&self.manifest_dir)
5151
.env_remove("__CARGO_FIX_PLZ")
5252
.output()

0 commit comments

Comments
 (0)