mirror of
https://github.com/ipetkov/crane.git
synced 2024-11-20 17:55:41 +03:00
Use resolver = 2 in all Cargo.tomls (#608)
This commit is contained in:
parent
33d5862dbb
commit
92d2b4b64a
@ -6,5 +6,7 @@ edition = "2021"
|
||||
[dependencies]
|
||||
foo = { workspace = true }
|
||||
|
||||
[workspace]
|
||||
resolver = "2"
|
||||
[workspace.dependencies]
|
||||
foo = { path = "./foo", target = "wasm32-unknown-unknown", artifact = ["bin", "cdylib", "staticlib"] }
|
||||
|
@ -201,6 +201,7 @@ opt-level = 2
|
||||
overflow-checks = true
|
||||
|
||||
[workspace]
|
||||
resolver = "2"
|
||||
members = ["member1", "path/to/member2", "crates/*"]
|
||||
default-members = ["path/to/member2", "path/to/member3/foo"]
|
||||
exclude = ["crates/foo", "path/to/other"]
|
||||
|
@ -111,6 +111,7 @@ garply = "8"
|
||||
grault = "7"
|
||||
|
||||
[workspace]
|
||||
resolver = "2"
|
||||
default-members = ["path/to/member2", "path/to/member3/foo"]
|
||||
exclude = ["crates/foo", "path/to/other"]
|
||||
members = ["member1", "path/to/member2", "crates/*"]
|
||||
|
@ -4,6 +4,7 @@ version = "0.2.0"
|
||||
edition = "2021"
|
||||
|
||||
[workspace]
|
||||
resolver = "2"
|
||||
members = ["inner"]
|
||||
|
||||
[dependencies]
|
||||
|
@ -10,6 +10,7 @@
|
||||
# Instead we need to drop a dummy file at `src/lib.rs`, and this is a
|
||||
# regression test for that case.
|
||||
[workspace]
|
||||
resolver = "2"
|
||||
package.version = "0.0.1"
|
||||
metadata.crane.name = "illegal-bin"
|
||||
members = [
|
||||
|
@ -6,6 +6,8 @@ build = "cranespecific-dummy.rs"
|
||||
name = "workspace-bindeps"
|
||||
version = "0.1.0"
|
||||
|
||||
[workspace]
|
||||
resolver = "2"
|
||||
[workspace.dependencies.foo]
|
||||
artifact = "cdylib"
|
||||
path = "./foo"
|
||||
|
@ -5,6 +5,8 @@ version = "0.1.0"
|
||||
[dependencies]
|
||||
foo = { workspace = true }
|
||||
|
||||
[workspace]
|
||||
resolver = "2"
|
||||
[workspace.dependencies]
|
||||
foo = { path = "./foo", target = "wasm32-unknown-unknown", artifact = "cdylib" }
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
[workspace]
|
||||
resolver = "2"
|
||||
members = ["print"]
|
||||
|
||||
[workspace.package]
|
||||
|
@ -1,4 +1,5 @@
|
||||
[workspace]
|
||||
resolver = "2"
|
||||
# NB: hello and world are intentionally left out cargo will
|
||||
# promote them to members since they are listed as path deps
|
||||
members = ["print"]
|
||||
|
@ -1,2 +1,3 @@
|
||||
[workspace]
|
||||
resolver = "2"
|
||||
members = ["./member/qux"]
|
||||
|
@ -1,2 +1,3 @@
|
||||
[workspace]
|
||||
resolver = "2"
|
||||
members = ["./member/qux"]
|
||||
|
@ -1,4 +1,5 @@
|
||||
[workspace]
|
||||
resolver = "2"
|
||||
package.version = "0.0.1"
|
||||
metadata.crane.name = "with-libs"
|
||||
members = [
|
||||
|
@ -1,4 +1,5 @@
|
||||
[workspace]
|
||||
resolver = "2"
|
||||
package.version = "0.0.1"
|
||||
metadata.crane.name = "workspace-git"
|
||||
members = [
|
||||
|
@ -1,4 +1,5 @@
|
||||
[workspace]
|
||||
resolver = "2"
|
||||
# NB: hello and world are intentionally left out cargo will
|
||||
# promote them to members since they are listed as path deps
|
||||
members = ["my-workspace-hack","print"]
|
||||
|
@ -1,4 +1,5 @@
|
||||
[workspace]
|
||||
resolver = "2"
|
||||
# NB: hello and world are intentionally left out cargo will
|
||||
# promote them to members since they are listed as path deps
|
||||
members = ["print"]
|
||||
|
@ -1,4 +1,5 @@
|
||||
[workspace]
|
||||
resolver = "2"
|
||||
# NB: hello and world are intentionally left out cargo will
|
||||
# promote them to members since they are listed as path deps
|
||||
members = ["print"]
|
||||
|
@ -1,4 +1,5 @@
|
||||
[workspace]
|
||||
resolver = "2"
|
||||
|
||||
[package]
|
||||
name = "print"
|
||||
|
@ -1,4 +1,5 @@
|
||||
[workspace]
|
||||
resolver = "2"
|
||||
# NB: hello and world are intentionally left out cargo will
|
||||
# promote them to members since they are listed as path deps
|
||||
members = ["print"]
|
||||
|
@ -1,4 +1,5 @@
|
||||
[workspace]
|
||||
resolver = "2"
|
||||
members = [
|
||||
"shared",
|
||||
"client",
|
||||
|
Loading…
Reference in New Issue
Block a user