rust-analyzer/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.6 KiB
JSON
Raw Normal View History

2023-10-15 15:32:12 +00:00
{
"packages": [
{
"name": "p1",
"version": "0.1.0",
"id": "p1 0.1.0 (path+file:///path/to/project/example_project/projects/p1)",
2023-10-15 15:32:12 +00:00
"license": null,
"license_file": null,
"description": null,
"source": null,
"dependencies": [
{
"name": "p3",
"source": null,
"req": "*",
"kind": "dev",
"rename": null,
"optional": false,
"uses_default_features": true,
"features": [],
"target": null,
"registry": null,
"path": "/path/to/project/example_project/projects/p3"
}
],
2023-10-15 15:32:12 +00:00
"targets": [
{
"kind": [
"lib"
],
"crate_types": [
"lib"
],
"name": "p1",
"src_path": "/path/to/project/example_project/projects/p1/src/lib.rs",
2023-10-15 15:32:12 +00:00
"edition": "2021",
"doc": true,
"doctest": true,
"test": true
}
],
"features": {},
"manifest_path": "/path/to/project/example_project/projects/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
},
{
"name": "p3",
"version": "0.1.0",
"id": "p3 0.1.0 (path+file:///path/to/project/example_project/projects/p3)",
"license": null,
"license_file": null,
"description": null,
"source": null,
"dependencies": [],
"targets": [
{
"kind": [
"lib"
],
"crate_types": [
"lib"
],
"name": "p3",
"src_path": "/path/to/project/example_project/projects/p3/src/lib.rs",
"edition": "2021",
"doc": true,
"doctest": true,
"test": true
}
],
"features": {},
"manifest_path": "/path/to/project/example_project/projects/p3/Cargo.toml",
2023-10-15 15:32:12 +00: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": [
"p1 0.1.0 (path+file:///path/to/project/example_project/projects/p1)"
2023-10-15 15:32:12 +00:00
],
"workspace_default_members": [
"p1 0.1.0 (path+file:///path/to/project/example_project/projects/p1)"
2023-10-15 15:32:12 +00:00
],
"resolve": {
"nodes": [
{
"id": "p1 0.1.0 (path+file:///path/to/project/example_project/projects/p1)",
"dependencies": [
"p3 0.1.0 (path+file:///path/to/project/example_project/projects/p3)"
],
"deps": [
{
"name": "p3",
"pkg": "p3 0.1.0 (path+file:///path/to/project/example_project/projects/p3)",
"dep_kinds": [
{
"kind": "dev",
"target": null
}
]
}
],
"features": []
},
{
"id": "p3 0.1.0 (path+file:///path/to/project/example_project/projects/p3)",
2023-10-15 15:32:12 +00:00
"dependencies": [],
"deps": [],
"features": []
}
],
"root": "p1 0.1.0 (path+file:///path/to/project/example_project/projects/p1)"
2023-10-15 15:32:12 +00:00
},
"target_directory": "/path/to/project/example_project/projects/p1/target",
2023-10-15 15:32:12 +00:00
"version": 1,
"workspace_root": "/path/to/project/example_project/projects/p1",
2023-10-15 15:32:12 +00:00
"metadata": null
}