rust/crates/project-model/test_data/deduplication_crate_graph_A.json

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

140 lines
3.3 KiB
JSON
Raw Normal View History

2023-10-15 10:32:12 -05:00
{
"packages": [
{
"name": "p1",
"version": "0.1.0",
2023-11-22 19:08:30 -06:00
"id": "p1 0.1.0 (path+file:///example_project/p1)",
2023-10-15 10:32:12 -05:00
"license": null,
"license_file": null,
"description": null,
"source": null,
"dependencies": [
{
2023-11-22 19:08:30 -06:00
"name": "p2",
"source": null,
"req": "*",
2023-11-22 19:08:30 -06:00
"kind": null,
"rename": null,
"optional": false,
"uses_default_features": true,
"features": [],
"target": null,
"registry": null,
2023-11-23 05:34:38 -06:00
"path": "$ROOT$example_project/p2"
}
],
2023-10-15 10:32:12 -05:00
"targets": [
{
"kind": [
"lib"
],
"crate_types": [
"lib"
],
"name": "p1",
2023-11-23 05:34:38 -06:00
"src_path": "$ROOT$example_project/p1/src/lib.rs",
2023-10-15 10:32:12 -05:00
"edition": "2021",
"doc": true,
"doctest": true,
"test": true
}
],
"features": {},
2023-11-23 05:34:38 -06:00
"manifest_path": "$ROOT$example_project/p1/Cargo.toml",
"metadata": null,
"publish": null,
"authors": [],
"categories": [],
"keywords": [],
"readme": null,
"repository": null,
"homepage": null,
"documentation": null,
"edition": "2021",
"links": null,
"default_run": null,
"rust_version": null
},
{
2023-11-22 19:08:30 -06:00
"name": "p2",
"version": "0.1.0",
2023-11-22 19:08:30 -06:00
"id": "p2 0.1.0 (path+file:///example_project/p2)",
"license": null,
"license_file": null,
"description": null,
"source": null,
"dependencies": [],
"targets": [
{
"kind": [
"lib"
],
"crate_types": [
"lib"
],
2023-11-22 19:08:30 -06:00
"name": "p2",
2023-11-23 05:34:38 -06:00
"src_path": "$ROOT$example_project/p2/src/lib.rs",
"edition": "2021",
"doc": true,
"doctest": true,
"test": true
}
],
"features": {},
2023-11-23 05:34:38 -06:00
"manifest_path": "$ROOT$example_project/p2/Cargo.toml",
2023-10-15 10:32:12 -05:00
"metadata": null,
"publish": null,
"authors": [],
"categories": [],
"keywords": [],
"readme": null,
"repository": null,
"homepage": null,
"documentation": null,
"edition": "2021",
"links": null,
"default_run": null,
"rust_version": null
}
],
"workspace_members": [
2023-11-22 19:08:30 -06:00
"p1 0.1.0 (path+file:///example_project/p1)"
2023-10-15 10:32:12 -05:00
],
"workspace_default_members": [
2023-11-22 19:08:30 -06:00
"p1 0.1.0 (path+file:///example_project/p1)"
2023-10-15 10:32:12 -05:00
],
"resolve": {
"nodes": [
{
2023-11-22 19:08:30 -06:00
"id": "p1 0.1.0 (path+file:///example_project/p1)",
"dependencies": [
2023-11-22 19:08:30 -06:00
"p2 0.1.0 (path+file:///example_project/p2)"
],
"deps": [
{
2023-11-22 19:08:30 -06:00
"name": "p2",
"pkg": "p2 0.1.0 (path+file:///example_project/p2)",
"dep_kinds": [
{
2023-11-22 19:08:30 -06:00
"kind": null,
"target": null
}
]
}
],
"features": []
},
{
2023-11-22 19:08:30 -06:00
"id": "p2 0.1.0 (path+file:///example_project/p2)",
2023-10-15 10:32:12 -05:00
"dependencies": [],
"deps": [],
"features": []
}
],
2023-11-22 19:08:30 -06:00
"root": "p1 0.1.0 (path+file:///example_project/p1)"
2023-10-15 10:32:12 -05:00
},
2023-11-23 05:34:38 -06:00
"target_directory": "$ROOT$example_project/p1/target",
2023-10-15 10:32:12 -05:00
"version": 1,
2023-11-23 05:34:38 -06:00
"workspace_root": "$ROOT$example_project/p1",
2023-10-15 10:32:12 -05:00
"metadata": null
}