Skip to content

Commit

Permalink
Update Cargo workspace resolver method
Browse files Browse the repository at this point in the history
Workspace `Cargo.toml` files default to the first-version resolver, but
all our actual crates specify the 2021 edition, which uses the
second-version resolver semantics.  In more recent Cargo versions, this
discrepancy is met with a warning.  This commit fixes the resolver
version of the workspace configuration, and updates the lockfile
accordingly.
  • Loading branch information
jakelishman committed Dec 5, 2023
1 parent b1fc8e9 commit 2a155d0
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 56 deletions.
112 changes: 56 additions & 56 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[workspace]
members = ["crates/*"]
resolver = "2"

[workspace.package]
version = "1.0.0"
Expand Down

0 comments on commit 2a155d0

Please sign in to comment.