@@ -526,7 +526,6 @@ fn cargo_metadata_with_deps_and_version() {
526
526
{
527
527
"dep_kinds": [
528
528
{
529
- "extern_name": "baz",
530
529
"kind": null,
531
530
"target": null
532
531
}
@@ -553,7 +552,6 @@ fn cargo_metadata_with_deps_and_version() {
553
552
{
554
553
"dep_kinds": [
555
554
{
556
- "extern_name": "bar",
557
555
"kind": null,
558
556
"target": null
559
557
}
@@ -564,7 +562,6 @@ fn cargo_metadata_with_deps_and_version() {
564
562
{
565
563
"dep_kinds": [
566
564
{
567
- "extern_name": "foobar",
568
565
"kind": "dev",
569
566
"target": null
570
567
}
@@ -1155,17 +1152,17 @@ fn workspace_metadata_with_dependencies_and_resolve() {
1155
1152
name = "bar"
1156
1153
version = "0.5.0"
1157
1154
authors = []
1158
-
1155
+
1159
1156
[build-dependencies]
1160
1157
artifact = { path = "../artifact/", artifact = "bin", target = "target" }
1161
1158
bin-only-artifact = { path = "../bin-only-artifact/", artifact = "bin", target = "$ALT_TARGET" }
1162
1159
non-artifact = { path = "../non-artifact" }
1163
-
1160
+
1164
1161
[dependencies]
1165
1162
artifact = { path = "../artifact/", artifact = ["cdylib", "staticlib", "bin:baz-name"], lib = true, target = "$ALT_TARGET" }
1166
1163
bin-only-artifact = { path = "../bin-only-artifact/", artifact = "bin:a-name" }
1167
1164
non-artifact = { path = "../non-artifact" }
1168
-
1165
+
1169
1166
[dev-dependencies]
1170
1167
artifact = { path = "../artifact/" }
1171
1168
non-artifact = { path = "../non-artifact" }
@@ -1654,7 +1651,6 @@ fn workspace_metadata_with_dependencies_and_resolve() {
1654
1651
"target": null
1655
1652
},
1656
1653
{
1657
- "extern_name": "artifact",
1658
1654
"kind": "dev",
1659
1655
"target": null
1660
1656
},
@@ -1717,17 +1713,14 @@ fn workspace_metadata_with_dependencies_and_resolve() {
1717
1713
{
1718
1714
"dep_kinds": [
1719
1715
{
1720
- "extern_name": "non_artifact",
1721
1716
"kind": null,
1722
1717
"target": null
1723
1718
},
1724
1719
{
1725
- "extern_name": "non_artifact",
1726
1720
"kind": "dev",
1727
1721
"target": null
1728
1722
},
1729
1723
{
1730
- "extern_name": "non_artifact",
1731
1724
"kind": "build",
1732
1725
"target": null
1733
1726
}
@@ -2764,7 +2757,6 @@ fn rename_dependency() {
2764
2757
{
2765
2758
"dep_kinds": [
2766
2759
{
2767
- "extern_name": "bar",
2768
2760
"kind": null,
2769
2761
"target": null
2770
2762
}
@@ -2775,7 +2767,6 @@ fn rename_dependency() {
2775
2767
{
2776
2768
"dep_kinds": [
2777
2769
{
2778
- "extern_name": "baz",
2779
2770
"kind": null,
2780
2771
"target": null
2781
2772
}
@@ -3392,7 +3383,6 @@ fn filter_platform() {
3392
3383
"pkg": "alt-dep 0.0.1 (registry+https://github.com/rust-lang/crates.io-index)",
3393
3384
"dep_kinds": [
3394
3385
{
3395
- "extern_name": "alt_dep",
3396
3386
"kind": null,
3397
3387
"target": "$ALT_TRIPLE"
3398
3388
}
@@ -3403,7 +3393,6 @@ fn filter_platform() {
3403
3393
"pkg": "cfg-dep 0.0.1 (registry+https://github.com/rust-lang/crates.io-index)",
3404
3394
"dep_kinds": [
3405
3395
{
3406
- "extern_name": "cfg_dep",
3407
3396
"kind": null,
3408
3397
"target": "cfg(foobar)"
3409
3398
}
@@ -3414,7 +3403,6 @@ fn filter_platform() {
3414
3403
"pkg": "host-dep 0.0.1 (registry+https://github.com/rust-lang/crates.io-index)",
3415
3404
"dep_kinds": [
3416
3405
{
3417
- "extern_name": "host_dep",
3418
3406
"kind": null,
3419
3407
"target": "$HOST_TRIPLE"
3420
3408
}
@@ -3425,7 +3413,6 @@ fn filter_platform() {
3425
3413
"pkg": "normal-dep 0.0.1 (registry+https://github.com/rust-lang/crates.io-index)",
3426
3414
"dep_kinds": [
3427
3415
{
3428
- "extern_name": "normal_dep",
3429
3416
"kind": null,
3430
3417
"target": null
3431
3418
}
@@ -3507,7 +3494,6 @@ fn filter_platform() {
3507
3494
"pkg": "alt-dep 0.0.1 (registry+https://github.com/rust-lang/crates.io-index)",
3508
3495
"dep_kinds": [
3509
3496
{
3510
- "extern_name": "alt_dep",
3511
3497
"kind": null,
3512
3498
"target": "$ALT_TRIPLE"
3513
3499
}
@@ -3518,7 +3504,6 @@ fn filter_platform() {
3518
3504
"pkg": "normal-dep 0.0.1 (registry+https://github.com/rust-lang/crates.io-index)",
3519
3505
"dep_kinds": [
3520
3506
{
3521
- "extern_name": "normal_dep",
3522
3507
"kind": null,
3523
3508
"target": null
3524
3509
}
@@ -3584,7 +3569,6 @@ fn filter_platform() {
3584
3569
"pkg": "host-dep 0.0.1 (registry+https://github.com/rust-lang/crates.io-index)",
3585
3570
"dep_kinds": [
3586
3571
{
3587
- "extern_name": "host_dep",
3588
3572
"kind": null,
3589
3573
"target": "$HOST_TRIPLE"
3590
3574
}
@@ -3595,7 +3579,6 @@ fn filter_platform() {
3595
3579
"pkg": "normal-dep 0.0.1 (registry+https://github.com/rust-lang/crates.io-index)",
3596
3580
"dep_kinds": [
3597
3581
{
3598
- "extern_name": "normal_dep",
3599
3582
"kind": null,
3600
3583
"target": null
3601
3584
}
@@ -3677,7 +3660,6 @@ fn filter_platform() {
3677
3660
"pkg": "cfg-dep 0.0.1 (registry+https://github.com/rust-lang/crates.io-index)",
3678
3661
"dep_kinds": [
3679
3662
{
3680
- "extern_name": "cfg_dep",
3681
3663
"kind": null,
3682
3664
"target": "cfg(foobar)"
3683
3665
}
@@ -3688,7 +3670,6 @@ fn filter_platform() {
3688
3670
"pkg": "host-dep 0.0.1 (registry+https://github.com/rust-lang/crates.io-index)",
3689
3671
"dep_kinds": [
3690
3672
{
3691
- "extern_name": "host_dep",
3692
3673
"kind": null,
3693
3674
"target": "$HOST_TRIPLE"
3694
3675
}
@@ -3699,7 +3680,6 @@ fn filter_platform() {
3699
3680
"pkg": "normal-dep 0.0.1 (registry+https://github.com/rust-lang/crates.io-index)",
3700
3681
"dep_kinds": [
3701
3682
{
3702
- "extern_name": "normal_dep",
3703
3683
"kind": null,
3704
3684
"target": null
3705
3685
}
@@ -3797,17 +3777,14 @@ fn dep_kinds() {
3797
3777
"pkg": "bar 0.1.0 [..]",
3798
3778
"dep_kinds": [
3799
3779
{
3800
- "extern_name": "bar",
3801
3780
"kind": null,
3802
3781
"target": null
3803
3782
},
3804
3783
{
3805
- "extern_name": "bar",
3806
3784
"kind": "dev",
3807
3785
"target": null
3808
3786
},
3809
3787
{
3810
- "extern_name": "bar",
3811
3788
"kind": "build",
3812
3789
"target": null
3813
3790
}
@@ -3818,7 +3795,6 @@ fn dep_kinds() {
3818
3795
"pkg": "winapi 0.1.0 [..]",
3819
3796
"dep_kinds": [
3820
3797
{
3821
- "extern_name": "winapi",
3822
3798
"kind": null,
3823
3799
"target": "cfg(windows)"
3824
3800
}
@@ -3909,7 +3885,6 @@ fn dep_kinds_workspace() {
3909
3885
"pkg": "foo 0.1.0 (path+file://[..]/foo)",
3910
3886
"dep_kinds": [
3911
3887
{
3912
- "extern_name": "foo",
3913
3888
"kind": null,
3914
3889
"target": null
3915
3890
}
@@ -3935,7 +3910,6 @@ fn dep_kinds_workspace() {
3935
3910
"pkg": "dep 0.5.0 (path+file://[..]/foo/dep)",
3936
3911
"dep_kinds": [
3937
3912
{
3938
- "extern_name": "dep",
3939
3913
"kind": null,
3940
3914
"target": null
3941
3915
}
0 commit comments