Skip to content

Commit

Permalink
explicit resolver for workspace.toml to avoid Cargo warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
listochkin committed Jul 1, 2024
1 parent ca234d3 commit a4e3e12
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions training-slides/src/cargo-workspaces.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ function nw() {
git init -q "$work_dir/$name"
cat > "$work_dir/$name/Cargo.toml" << EOF
[workspace]
resolver = "2"
members = ["packages/*"]
[workspace.dependencies]
Expand Down

0 comments on commit a4e3e12

Please sign in to comment.