Skip to content

Commit ffc1053

Browse files
committed
fix bug where update_toml would not remove default-features if workspace was set
1 parent 9ab1cf9 commit ffc1053

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/cargo/ops/cargo_add/dependency.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -552,6 +552,7 @@ impl Dependency {
552552
"tag",
553553
"rev",
554554
"package",
555+
"default-features",
555556
] {
556557
table.remove(key);
557558
}

0 commit comments

Comments
 (0)