@@ -33,6 +33,10 @@ fn cargo_metadata_simple() {
33
33
"description": null,
34
34
"readme": null,
35
35
"repository": null,
36
+ "homepage": null,
37
+ "documentation": null,
38
+ "homepage": null,
39
+ "documentation": null,
36
40
"targets": [
37
41
{
38
42
"kind": [
@@ -115,6 +119,8 @@ crate-type = ["lib", "staticlib"]
115
119
"name": "foo",
116
120
"readme": null,
117
121
"repository": null,
122
+ "homepage": null,
123
+ "documentation": null,
118
124
"version": "0.5.0",
119
125
"id": "foo[..]",
120
126
"keywords": [],
@@ -199,6 +205,8 @@ optional_feat = []
199
205
"name": "foo",
200
206
"readme": null,
201
207
"repository": null,
208
+ "homepage": null,
209
+ "documentation": null,
202
210
"version": "0.5.0",
203
211
"id": "foo[..]",
204
212
"keywords": [],
@@ -324,6 +332,8 @@ fn cargo_metadata_with_deps_and_version() {
324
332
"name": "bar",
325
333
"readme": null,
326
334
"repository": null,
335
+ "homepage": null,
336
+ "documentation": null,
327
337
"source": "registry+https://github.com/rust-lang/crates.io-index",
328
338
"targets": [
329
339
{
@@ -360,6 +370,8 @@ fn cargo_metadata_with_deps_and_version() {
360
370
"name": "baz",
361
371
"readme": null,
362
372
"repository": null,
373
+ "homepage": null,
374
+ "documentation": null,
363
375
"source": "registry+https://github.com/rust-lang/crates.io-index",
364
376
"targets": [
365
377
{
@@ -421,6 +433,8 @@ fn cargo_metadata_with_deps_and_version() {
421
433
"name": "foo",
422
434
"readme": null,
423
435
"repository": null,
436
+ "homepage": null,
437
+ "documentation": null,
424
438
"source": null,
425
439
"targets": [
426
440
{
@@ -457,6 +471,8 @@ fn cargo_metadata_with_deps_and_version() {
457
471
"name": "foobar",
458
472
"readme": null,
459
473
"repository": null,
474
+ "homepage": null,
475
+ "documentation": null,
460
476
"source": "registry+https://github.com/rust-lang/crates.io-index",
461
477
"targets": [
462
478
{
@@ -583,6 +599,8 @@ name = "ex"
583
599
"name": "foo",
584
600
"readme": null,
585
601
"repository": null,
602
+ "homepage": null,
603
+ "documentation": null,
586
604
"version": "0.1.0",
587
605
"id": "foo[..]",
588
606
"keywords": [],
@@ -672,6 +690,8 @@ crate-type = ["rlib", "dylib"]
672
690
"name": "foo",
673
691
"readme": null,
674
692
"repository": null,
693
+ "homepage": null,
694
+ "documentation": null,
675
695
"version": "0.1.0",
676
696
"id": "foo[..]",
677
697
"keywords": [],
@@ -770,6 +790,8 @@ fn workspace_metadata() {
770
790
"id": "bar[..]",
771
791
"readme": null,
772
792
"repository": null,
793
+ "homepage": null,
794
+ "documentation": null,
773
795
"keywords": [],
774
796
"source": null,
775
797
"dependencies": [],
@@ -802,6 +824,8 @@ fn workspace_metadata() {
802
824
"name": "baz",
803
825
"readme": null,
804
826
"repository": null,
827
+ "homepage": null,
828
+ "documentation": null,
805
829
"version": "0.5.0",
806
830
"id": "baz[..]",
807
831
"keywords": [],
@@ -891,6 +915,8 @@ fn workspace_metadata_no_deps() {
891
915
"name": "bar",
892
916
"readme": null,
893
917
"repository": null,
918
+ "homepage": null,
919
+ "documentation": null,
894
920
"version": "0.5.0",
895
921
"id": "bar[..]",
896
922
"keywords": [],
@@ -925,6 +951,8 @@ fn workspace_metadata_no_deps() {
925
951
"name": "baz",
926
952
"readme": null,
927
953
"repository": null,
954
+ "homepage": null,
955
+ "documentation": null,
928
956
"version": "0.5.0",
929
957
"id": "baz[..]",
930
958
"keywords": [],
@@ -1011,7 +1039,9 @@ const MANIFEST_OUTPUT: &str = r#"
1011
1039
"metadata": null,
1012
1040
"publish": null,
1013
1041
"readme": null,
1014
- "repository": null
1042
+ "repository": null,
1043
+ "homepage": null,
1044
+ "documentation": null
1015
1045
}],
1016
1046
"workspace_members": [ "foo 0.5.0 (path+file:[..]foo)" ],
1017
1047
"resolve": null,
@@ -1169,6 +1199,8 @@ fn package_metadata() {
1169
1199
"name": "foo",
1170
1200
"readme": "README.md",
1171
1201
"repository": "https://github.com/rust-lang/cargo",
1202
+ "homepage": null,
1203
+ "documentation": null,
1172
1204
"version": "0.1.0",
1173
1205
"id": "foo[..]",
1174
1206
"keywords": ["database"],
@@ -1243,6 +1275,8 @@ fn package_publish() {
1243
1275
"name": "foo",
1244
1276
"readme": "README.md",
1245
1277
"repository": "https://github.com/rust-lang/cargo",
1278
+ "homepage": null,
1279
+ "documentation": null,
1246
1280
"version": "0.1.0",
1247
1281
"id": "foo[..]",
1248
1282
"keywords": ["database"],
@@ -1326,6 +1360,8 @@ fn cargo_metadata_path_to_cargo_toml_project() {
1326
1360
"name": "bar",
1327
1361
"readme": null,
1328
1362
"repository": null,
1363
+ "homepage": null,
1364
+ "documentation": null,
1329
1365
"source": null,
1330
1366
"targets": [
1331
1367
{
@@ -1409,6 +1445,8 @@ fn package_edition_2018() {
1409
1445
"name": "foo",
1410
1446
"readme": null,
1411
1447
"repository": null,
1448
+ "homepage": null,
1449
+ "documentation": null,
1412
1450
"source": null,
1413
1451
"targets": [
1414
1452
{
@@ -1496,6 +1534,8 @@ fn target_edition_2018() {
1496
1534
"name": "foo",
1497
1535
"readme": null,
1498
1536
"repository": null,
1537
+ "homepage": null,
1538
+ "documentation": null,
1499
1539
"source": null,
1500
1540
"targets": [
1501
1541
{
@@ -1597,6 +1637,8 @@ fn rename_dependency() {
1597
1637
"name": "bar",
1598
1638
"readme": null,
1599
1639
"repository": null,
1640
+ "homepage": null,
1641
+ "documentation": null,
1600
1642
"source": "registry+https://github.com/rust-lang/crates.io-index",
1601
1643
"targets": [
1602
1644
{
@@ -1633,6 +1675,8 @@ fn rename_dependency() {
1633
1675
"name": "bar",
1634
1676
"readme": null,
1635
1677
"repository": null,
1678
+ "homepage": null,
1679
+ "documentation": null,
1636
1680
"source": "registry+https://github.com/rust-lang/crates.io-index",
1637
1681
"targets": [
1638
1682
{
@@ -1694,6 +1738,8 @@ fn rename_dependency() {
1694
1738
"name": "foo",
1695
1739
"readme": null,
1696
1740
"repository": null,
1741
+ "homepage": null,
1742
+ "documentation": null,
1697
1743
"source": null,
1698
1744
"targets": [
1699
1745
{
@@ -1811,6 +1857,8 @@ fn metadata_links() {
1811
1857
"name": "foo",
1812
1858
"readme": null,
1813
1859
"repository": null,
1860
+ "homepage": null,
1861
+ "documentation": null,
1814
1862
"source": null,
1815
1863
"targets": [
1816
1864
{
@@ -1936,6 +1984,8 @@ fn deps_with_bin_only() {
1936
1984
"keywords": [],
1937
1985
"readme": null,
1938
1986
"repository": null,
1987
+ "homepage": null,
1988
+ "documentation": null,
1939
1989
"edition": "2015",
1940
1990
"links": null
1941
1991
}
@@ -2036,6 +2086,8 @@ fn filter_platform() {
2036
2086
"keywords": [],
2037
2087
"readme": null,
2038
2088
"repository": null,
2089
+ "homepage": null,
2090
+ "documentation": null,
2039
2091
"edition": "2015",
2040
2092
"links": null
2041
2093
}
@@ -2075,6 +2127,8 @@ fn filter_platform() {
2075
2127
"keywords": [],
2076
2128
"readme": null,
2077
2129
"repository": null,
2130
+ "homepage": null,
2131
+ "documentation": null,
2078
2132
"edition": "2015",
2079
2133
"links": null
2080
2134
}
@@ -2114,6 +2168,8 @@ fn filter_platform() {
2114
2168
"keywords": [],
2115
2169
"readme": null,
2116
2170
"repository": null,
2171
+ "homepage": null,
2172
+ "documentation": null,
2117
2173
"edition": "2015",
2118
2174
"links": null
2119
2175
}
@@ -2153,6 +2209,8 @@ fn filter_platform() {
2153
2209
"keywords": [],
2154
2210
"readme": null,
2155
2211
"repository": null,
2212
+ "homepage": null,
2213
+ "documentation": null,
2156
2214
"edition": "2015",
2157
2215
"links": null
2158
2216
}
@@ -2241,6 +2299,8 @@ fn filter_platform() {
2241
2299
"keywords": [],
2242
2300
"readme": null,
2243
2301
"repository": null,
2302
+ "homepage": null,
2303
+ "documentation": null,
2244
2304
"edition": "2015",
2245
2305
"links": null
2246
2306
}
0 commit comments