-
Notifications
You must be signed in to change notification settings - Fork 443
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Previously we were ignoring this field and always doing auto-discovery. Cargo only does auto-discovery if this field is not set.
- Loading branch information
1 parent
bf82d09
commit 3710c6e
Showing
26 changed files
with
243 additions
and
20 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
18 changes: 18 additions & 0 deletions
18
crate_universe/test_data/workspace_examples/includes/Cargo.toml
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
[workspace] | ||
members = [ | ||
"explicit-child", | ||
"glob-direct-children/*", | ||
"glob-transitive-children/**/anchor", | ||
"glob-char?", | ||
] | ||
exclude = [ | ||
"glob-char3", | ||
"glob-direct-children/excluded", | ||
] | ||
|
||
[package] | ||
name = "includes" | ||
version = "0.1.0" | ||
edition = "2021" | ||
|
||
[dependencies] |
6 changes: 6 additions & 0 deletions
6
crate_universe/test_data/workspace_examples/includes/explicit-child/Cargo.toml
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[package] | ||
name = "explicit-child" | ||
version = "0.1.0" | ||
edition = "2021" | ||
|
||
[dependencies] |
3 changes: 3 additions & 0 deletions
3
crate_universe/test_data/workspace_examples/includes/explicit-child/src/main.rs
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
fn main() { | ||
println!("Hello, world!"); | ||
} |
6 changes: 6 additions & 0 deletions
6
crate_universe/test_data/workspace_examples/includes/glob-char1/Cargo.toml
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[package] | ||
name = "glob-char1" | ||
version = "0.1.0" | ||
edition = "2021" | ||
|
||
[dependencies] |
3 changes: 3 additions & 0 deletions
3
crate_universe/test_data/workspace_examples/includes/glob-char1/src/main.rs
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
fn main() { | ||
println!("Hello, world!"); | ||
} |
6 changes: 6 additions & 0 deletions
6
crate_universe/test_data/workspace_examples/includes/glob-char2/Cargo.toml
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[package] | ||
name = "glob-char2" | ||
version = "0.1.0" | ||
edition = "2021" | ||
|
||
[dependencies] |
3 changes: 3 additions & 0 deletions
3
crate_universe/test_data/workspace_examples/includes/glob-char2/src/main.rs
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
fn main() { | ||
println!("Hello, world!"); | ||
} |
6 changes: 6 additions & 0 deletions
6
crate_universe/test_data/workspace_examples/includes/glob-char3/Cargo.toml
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[package] | ||
name = "glob-char3" | ||
version = "0.1.0" | ||
edition = "2021" | ||
|
||
[dependencies] |
3 changes: 3 additions & 0 deletions
3
crate_universe/test_data/workspace_examples/includes/glob-char3/src/main.rs
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
fn main() { | ||
println!("Hello, world!"); | ||
} |
6 changes: 6 additions & 0 deletions
6
...e_universe/test_data/workspace_examples/includes/glob-direct-children/excluded/Cargo.toml
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[package] | ||
name = "excluded" | ||
version = "0.1.0" | ||
edition = "2021" | ||
|
||
[dependencies] |
3 changes: 3 additions & 0 deletions
3
..._universe/test_data/workspace_examples/includes/glob-direct-children/excluded/src/main.rs
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
fn main() { | ||
println!("Hello, world!"); | ||
} |
6 changes: 6 additions & 0 deletions
6
...niverse/test_data/workspace_examples/includes/glob-direct-children/grandchild1/Cargo.toml
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[package] | ||
name = "grandchild1" | ||
version = "0.1.0" | ||
edition = "2021" | ||
|
||
[dependencies] |
3 changes: 3 additions & 0 deletions
3
...iverse/test_data/workspace_examples/includes/glob-direct-children/grandchild1/src/main.rs
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
fn main() { | ||
println!("Hello, world!"); | ||
} |
6 changes: 6 additions & 0 deletions
6
...niverse/test_data/workspace_examples/includes/glob-direct-children/grandchild2/Cargo.toml
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[package] | ||
name = "grandchild2" | ||
version = "0.1.0" | ||
edition = "2021" | ||
|
||
[dependencies] |
3 changes: 3 additions & 0 deletions
3
...iverse/test_data/workspace_examples/includes/glob-direct-children/grandchild2/src/main.rs
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
fn main() { | ||
println!("Hello, world!"); | ||
} |
6 changes: 6 additions & 0 deletions
6
...e/test_data/workspace_examples/includes/glob-transitive-children/level1/anchor/Cargo.toml
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[package] | ||
name = "anchor1" | ||
version = "0.1.0" | ||
edition = "2021" | ||
|
||
[dependencies] |
3 changes: 3 additions & 0 deletions
3
.../test_data/workspace_examples/includes/glob-transitive-children/level1/anchor/src/main.rs
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
fn main() { | ||
println!("Hello, world!"); | ||
} |
6 changes: 6 additions & 0 deletions
6
...data/workspace_examples/includes/glob-transitive-children/level1/level2/anchor/Cargo.toml
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[package] | ||
name = "anchor2" | ||
version = "0.1.0" | ||
edition = "2021" | ||
|
||
[dependencies] |
3 changes: 3 additions & 0 deletions
3
...ata/workspace_examples/includes/glob-transitive-children/level1/level2/anchor/src/main.rs
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
fn main() { | ||
println!("Hello, world!"); | ||
} |
6 changes: 6 additions & 0 deletions
6
...rkspace_examples/includes/glob-transitive-children/level1/level2/level3/anchor/Cargo.toml
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[package] | ||
name = "anchor3" | ||
version = "0.1.0" | ||
edition = "2021" | ||
|
||
[dependencies] |
3 changes: 3 additions & 0 deletions
3
...kspace_examples/includes/glob-transitive-children/level1/level2/level3/anchor/src/main.rs
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
fn main() { | ||
println!("Hello, world!"); | ||
} |
6 changes: 6 additions & 0 deletions
6
crate_universe/test_data/workspace_examples/includes/non-explicit-child/Cargo.toml
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[package] | ||
name = "non-explicit-child" | ||
version = "0.1.0" | ||
edition = "2021" | ||
|
||
[dependencies] |
3 changes: 3 additions & 0 deletions
3
crate_universe/test_data/workspace_examples/includes/non-explicit-child/src/main.rs
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
fn main() { | ||
println!("Hello, world!"); | ||
} |
3 changes: 3 additions & 0 deletions
3
crate_universe/test_data/workspace_examples/includes/src/main.rs
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
fn main() { | ||
println!("Hello, world!"); | ||
} |
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,6 +1,4 @@ | ||
[workspace] | ||
members = ["ws1c1", "ws1c2"] | ||
|
||
[package] | ||
name = "ws1" | ||
version = "0.1.0" | ||
|