forked from rust-lang/cargo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(add): Ensure users know a feature is being created
Inspired by rust-lang#13430 and rust-lang#13411
- Loading branch information
Showing
14 changed files
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
Updating `dummy-registry` index | ||
Adding my-package2 v99999.0.0 to optional dependencies. | ||
Adding feature `some-package` |
1 change: 1 addition & 0 deletions
1
tests/testsuite/cargo_add/detect_workspace_inherit_optional/stderr.log
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
Adding foo (workspace) to optional dependencies. | ||
Adding feature `foo` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
Updating `dummy-registry` index | ||
Adding my-package v0.1.0 to optional dependencies. | ||
Adding feature `my-package` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
Adding cargo-list-test-fixture-dependency (local) to optional dependencies. | ||
Adding feature `cargo-list-test-fixture-dependency` |
1 change: 1 addition & 0 deletions
1
tests/testsuite/cargo_add/overwrite_inherit_optional_noop/stderr.log
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
Adding foo (workspace) to optional dependencies. | ||
Adding feature `foo` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,4 @@ | |
Features: | ||
+ mouth | ||
+ nose | ||
Adding feature `your-face` |
1 change: 1 addition & 0 deletions
1
tests/testsuite/cargo_add/overwrite_no_optional_with_optional/stderr.log
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
Updating `dummy-registry` index | ||
Adding my-package v0.1.0 to optional dependencies. | ||
Adding feature `my-package` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
Updating `dummy-registry` index | ||
Adding my-package v0.1.0 to optional dependencies. | ||
Adding feature `my-package` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,4 @@ | |
Features: | ||
+ mouth | ||
+ nose | ||
Adding feature `your-face` |
1 change: 1 addition & 0 deletions
1
tests/testsuite/cargo_add/overwrite_path_with_version/stderr.log
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
Updating `dummy-registry` index | ||
Adding cargo-list-test-fixture-dependency v20.0 to optional dependencies. | ||
Adding feature `cargo-list-test-fixture-dependency` |
1 change: 1 addition & 0 deletions
1
tests/testsuite/cargo_add/overwrite_rename_with_rename_noop/stderr.log
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
Updating `dummy-registry` index | ||
Adding versioned-package v0.1.1 to optional dependencies. | ||
Adding feature `a1` |
1 change: 1 addition & 0 deletions
1
tests/testsuite/cargo_add/overwrite_version_with_git/stderr.log
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
Updating git repository `[ROOTURL]/versioned-package` | ||
Adding versioned-package (git) to optional dependencies. | ||
Adding feature `versioned-package` | ||
Updating git repository `[ROOTURL]/versioned-package` |
1 change: 1 addition & 0 deletions
1
tests/testsuite/cargo_add/overwrite_version_with_path/stderr.log
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
Adding cargo-list-test-fixture-dependency (local) to optional dependencies. | ||
Adding feature `cargo-list-test-fixture-dependency` |