Precede paths with $ROOT$

This commit is contained in:
Ali Bektas 2023-11-23 12:34:38 +01:00
parent 736994f026
commit ba1b080805
2 changed files with 11 additions and 11 deletions

View file

@ -20,7 +20,7 @@
"features": [], "features": [],
"target": null, "target": null,
"registry": null, "registry": null,
"path": "/example_project/p2" "path": "$ROOT$example_project/p2"
} }
], ],
"targets": [ "targets": [
@ -32,7 +32,7 @@
"lib" "lib"
], ],
"name": "p1", "name": "p1",
"src_path": "/example_project/p1/src/lib.rs", "src_path": "$ROOT$example_project/p1/src/lib.rs",
"edition": "2021", "edition": "2021",
"doc": true, "doc": true,
"doctest": true, "doctest": true,
@ -40,7 +40,7 @@
} }
], ],
"features": {}, "features": {},
"manifest_path": "/example_project/p1/Cargo.toml", "manifest_path": "$ROOT$example_project/p1/Cargo.toml",
"metadata": null, "metadata": null,
"publish": null, "publish": null,
"authors": [], "authors": [],
@ -73,7 +73,7 @@
"lib" "lib"
], ],
"name": "p2", "name": "p2",
"src_path": "/example_project/p2/src/lib.rs", "src_path": "$ROOT$example_project/p2/src/lib.rs",
"edition": "2021", "edition": "2021",
"doc": true, "doc": true,
"doctest": true, "doctest": true,
@ -81,7 +81,7 @@
} }
], ],
"features": {}, "features": {},
"manifest_path": "/example_project/p2/Cargo.toml", "manifest_path": "$ROOT$example_project/p2/Cargo.toml",
"metadata": null, "metadata": null,
"publish": null, "publish": null,
"authors": [], "authors": [],
@ -133,8 +133,8 @@
], ],
"root": "p1 0.1.0 (path+file:///example_project/p1)" "root": "p1 0.1.0 (path+file:///example_project/p1)"
}, },
"target_directory": "/example_project/p1/target", "target_directory": "$ROOT$example_project/p1/target",
"version": 1, "version": 1,
"workspace_root": "/example_project/p1", "workspace_root": "$ROOT$example_project/p1",
"metadata": null "metadata": null
} }

View file

@ -18,7 +18,7 @@
"lib" "lib"
], ],
"name": "p2", "name": "p2",
"src_path": "/example_project/p2/src/lib.rs", "src_path": "$ROOT$example_project/p2/src/lib.rs",
"edition": "2021", "edition": "2021",
"doc": true, "doc": true,
"doctest": true, "doctest": true,
@ -26,7 +26,7 @@
} }
], ],
"features": {}, "features": {},
"manifest_path": "/example_project/p2/Cargo.toml", "manifest_path": "$ROOT$example_project/p2/Cargo.toml",
"metadata": null, "metadata": null,
"publish": null, "publish": null,
"authors": [], "authors": [],
@ -59,8 +59,8 @@
], ],
"root": "p2 0.1.0 (path+file:///example_project/p2)" "root": "p2 0.1.0 (path+file:///example_project/p2)"
}, },
"target_directory": "/example_project/p2/target", "target_directory": "$ROOT$example_project/p2/target",
"version": 1, "version": 1,
"workspace_root": "/example_project/p2", "workspace_root": "$ROOT$example_project/p2",
"metadata": null "metadata": null
} }