@@ -165,6 +165,7 @@ crate-type = ["lib", "staticlib"]
165
165
}
166
166
],
167
167
"workspace_members": ["foo 0.5.0 (path+file:[..]foo)"],
168
+ "workspace_default_members": ["foo 0.5.0 (path+file:[..]foo)"],
168
169
"resolve": {
169
170
"nodes": [
170
171
{
@@ -258,6 +259,7 @@ optional_feat = []
258
259
}
259
260
],
260
261
"workspace_members": ["foo 0.5.0 (path+file:[..]foo)"],
262
+ "workspace_default_members": ["foo 0.5.0 (path+file:[..]foo)"],
261
263
"resolve": {
262
264
"nodes": [
263
265
{
@@ -588,6 +590,9 @@ fn cargo_metadata_with_deps_and_version() {
588
590
"workspace_members": [
589
591
"foo 0.5.0 (path+file:[..]foo)"
590
592
],
593
+ "workspace_default_members": [
594
+ "foo 0.5.0 (path+file:[..]foo)"
595
+ ],
591
596
"workspace_root": "[..]/foo",
592
597
"metadata": null
593
598
}"# ,
@@ -669,6 +674,9 @@ name = "ex"
669
674
"workspace_members": [
670
675
"foo 0.1.0 (path+file:[..]foo)"
671
676
],
677
+ "workspace_default_members": [
678
+ "foo 0.1.0 (path+file:[..]foo)"
679
+ ],
672
680
"resolve": {
673
681
"root": "foo 0.1.0 (path+file://[..]foo)",
674
682
"nodes": [
@@ -763,6 +771,9 @@ crate-type = ["rlib", "dylib"]
763
771
],
764
772
"workspace_members": [
765
773
"foo 0.1.0 (path+file:[..]foo)"
774
+ ],
775
+ "workspace_default_members": [
776
+ "foo 0.1.0 (path+file:[..]foo)"
766
777
],
767
778
"resolve": {
768
779
"root": "foo 0.1.0 (path+file://[..]foo)",
@@ -893,6 +904,7 @@ fn workspace_metadata() {
893
904
}
894
905
],
895
906
"workspace_members": ["bar 0.5.0 (path+file:[..]bar)", "baz 0.5.0 (path+file:[..]baz)"],
907
+ "workspace_default_members": ["bar 0.5.0 (path+file:[..]bar)", "baz 0.5.0 (path+file:[..]baz)"],
896
908
"resolve": {
897
909
"nodes": [
898
910
{
@@ -1124,6 +1136,11 @@ fn workspace_metadata_with_dependencies_no_deps() {
1124
1136
"artifact 0.5.0 (path+file:[..]/foo/artifact)",
1125
1137
"baz 0.5.0 (path+file:[..]baz)"
1126
1138
],
1139
+ "workspace_default_members": [
1140
+ "bar 0.5.0 (path+file:[..]bar)",
1141
+ "artifact 0.5.0 (path+file:[..]/foo/artifact)",
1142
+ "baz 0.5.0 (path+file:[..]baz)"
1143
+ ],
1127
1144
"resolve": null,
1128
1145
"target_directory": "[..]foo/target",
1129
1146
"version": 1,
@@ -1756,6 +1773,12 @@ fn workspace_metadata_with_dependencies_and_resolve() {
1756
1773
"bin-only-artifact 0.5.0 (path+file://[..]/foo/bin-only-artifact)",
1757
1774
"non-artifact 0.5.0 (path+file://[..]/foo/non-artifact)"
1758
1775
],
1776
+ "workspace_default_members": [
1777
+ "bar 0.5.0 (path+file://[..]/foo/bar)",
1778
+ "artifact 0.5.0 (path+file://[..]/foo/artifact)",
1779
+ "bin-only-artifact 0.5.0 (path+file://[..]/foo/bin-only-artifact)",
1780
+ "non-artifact 0.5.0 (path+file://[..]/foo/non-artifact)"
1781
+ ],
1759
1782
"workspace_root": "[..]/foo"
1760
1783
}
1761
1784
"# ,
@@ -2149,6 +2172,7 @@ fn package_metadata() {
2149
2172
}
2150
2173
],
2151
2174
"workspace_members": ["foo[..]"],
2175
+ "workspace_default_members": ["foo[..]"],
2152
2176
"resolve": null,
2153
2177
"target_directory": "[..]foo/target",
2154
2178
"version": 1,
@@ -2224,6 +2248,7 @@ fn package_publish() {
2224
2248
}
2225
2249
],
2226
2250
"workspace_members": ["foo[..]"],
2251
+ "workspace_default_members": ["foo[..]"],
2227
2252
"resolve": null,
2228
2253
"target_directory": "[..]foo/target",
2229
2254
"version": 1,
@@ -2319,7 +2344,9 @@ fn cargo_metadata_path_to_cargo_toml_project() {
2319
2344
"workspace_members": [
2320
2345
"bar 0.5.0 (path+file:[..])"
2321
2346
],
2322
- "workspace_default_members": [],
2347
+ "workspace_default_members": [
2348
+ "bar 0.5.0 (path+file:[..])"
2349
+ ],
2323
2350
"workspace_root": "[..]",
2324
2351
"metadata": null
2325
2352
}
@@ -2408,6 +2435,9 @@ fn package_edition_2018() {
2408
2435
"workspace_members": [
2409
2436
"foo 0.1.0 (path+file:[..])"
2410
2437
],
2438
+ "workspace_default_members": [
2439
+ "foo 0.1.0 (path+file:[..])"
2440
+ ],
2411
2441
"workspace_root": "[..]",
2412
2442
"metadata": null
2413
2443
}
@@ -2556,6 +2586,9 @@ fn target_edition_2018() {
2556
2586
"workspace_members": [
2557
2587
"foo 0.1.0 (path+file:[..])"
2558
2588
],
2589
+ "workspace_default_members": [
2590
+ "foo 0.1.0 (path+file:[..])"
2591
+ ],
2559
2592
"workspace_root": "[..]",
2560
2593
"metadata": null
2561
2594
}
@@ -2792,6 +2825,9 @@ fn rename_dependency() {
2792
2825
"workspace_members": [
2793
2826
"foo 0.0.1[..]"
2794
2827
],
2828
+ "workspace_default_members": [
2829
+ "foo 0.0.1[..]"
2830
+ ],
2795
2831
"workspace_root": "[..]",
2796
2832
"metadata": null
2797
2833
}"# ,
@@ -2892,6 +2928,9 @@ fn metadata_links() {
2892
2928
"workspace_members": [
2893
2929
"foo 0.5.0 [..]"
2894
2930
],
2931
+ "workspace_default_members": [
2932
+ "foo 0.5.0 [..]"
2933
+ ],
2895
2934
"workspace_root": "[..]/foo",
2896
2935
"metadata": null
2897
2936
}
@@ -2982,6 +3021,9 @@ fn deps_with_bin_only() {
2982
3021
"workspace_members": [
2983
3022
"foo 0.1.0 ([..])"
2984
3023
],
3024
+ "workspace_default_members": [
3025
+ "foo 0.1.0 ([..])"
3026
+ ],
2985
3027
"resolve": {
2986
3028
"nodes": [
2987
3029
{
@@ -3361,6 +3403,9 @@ fn filter_platform() {
3361
3403
"workspace_members": [
3362
3404
"foo 0.1.0 (path+file:[..]foo)"
3363
3405
],
3406
+ "workspace_default_members": [
3407
+ "foo 0.1.0 (path+file:[..]foo)"
3408
+ ],
3364
3409
"resolve": {
3365
3410
"nodes": [
3366
3411
{
@@ -3480,6 +3525,7 @@ fn filter_platform() {
3480
3525
$NORMAL_DEP
3481
3526
],
3482
3527
"workspace_members": "{...}",
3528
+ "workspace_default_members": "{...}",
3483
3529
"resolve": {
3484
3530
"nodes": [
3485
3531
{
@@ -3561,6 +3607,7 @@ fn filter_platform() {
3561
3607
$NORMAL_DEP
3562
3608
],
3563
3609
"workspace_members": "{...}",
3610
+ "workspace_default_members": "{...}",
3564
3611
"resolve": {
3565
3612
"nodes": [
3566
3613
{
@@ -3645,6 +3692,7 @@ fn filter_platform() {
3645
3692
$NORMAL_DEP
3646
3693
],
3647
3694
"workspace_members": "{...}",
3695
+ "workspace_default_members": "{...}",
3648
3696
"resolve": {
3649
3697
"nodes": [
3650
3698
{
@@ -3759,6 +3807,7 @@ fn dep_kinds() {
3759
3807
{
3760
3808
"packages": "{...}",
3761
3809
"workspace_members": "{...}",
3810
+ "workspace_default_members": "{...}",
3762
3811
"target_directory": "{...}",
3763
3812
"version": 1,
3764
3813
"workspace_root": "{...}",
@@ -3874,6 +3923,7 @@ fn dep_kinds_workspace() {
3874
3923
{
3875
3924
"packages": "{...}",
3876
3925
"workspace_members": "{...}",
3926
+ "workspace_default_members": "{...}",
3877
3927
"target_directory": "[..]/foo/target",
3878
3928
"version": 1,
3879
3929
"workspace_root": "[..]/foo",
@@ -4187,6 +4237,11 @@ fn workspace_metadata_with_dependencies_no_deps_artifact() {
4187
4237
"artifact 0.5.0 (path+file://[..]/foo/artifact)",
4188
4238
"baz 0.5.0 (path+file://[..]/foo/baz)"
4189
4239
],
4240
+ "workspace_default_members": [
4241
+ "bar 0.5.0 (path+file://[..]/foo/bar)",
4242
+ "artifact 0.5.0 (path+file://[..]/foo/artifact)",
4243
+ "baz 0.5.0 (path+file://[..]/foo/baz)"
4244
+ ],
4190
4245
"workspace_root": "[..]/foo"
4191
4246
}
4192
4247
"# ,
0 commit comments