-
-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix detecting required libraries with cargo 1.71 and workspaces
`cargo new` now seems to write `version.workspace` into the Cargo.toml, which we don't want, since our crate should not belong to the workspace. Instead of relying on the generated Cargo.toml we overwrite the generated Cargo.toml with our own. This should prevent similar future issues.
- Loading branch information
Showing
2 changed files
with
11 additions
and
2 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,5 @@ | ||
[workspace] | ||
members=["member1", "member2", "member3"] | ||
|
||
[workspace.package] | ||
version = "0.1.0" |