Commit d2d76c1
authored
Fix workspace manifest loading (#54)
This fixes two things:
- first, we looked at the wrong manifest when checking for a `[workspace]` property: we need to look at the workspace manifest, to the child one.
- second: there is an "API bug" in `cargo_toml`, that makes it impossible to properly use `from_path_with_metadata` (unless I'm mistaken! see [full analysis](https://gitlab.com/crates.rs/cargo_toml/-/issues/20)), so we need to use other methods to get the content, with a slightly different order. That's fine, it's quite internal and shouldn't change much over time.1 parent e70030c commit d2d76c1
1 file changed
+10
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
268 | 268 | | |
269 | 269 | | |
270 | 270 | | |
271 | | - | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
272 | 278 | | |
273 | 279 | | |
274 | 280 | | |
275 | 281 | | |
276 | 282 | | |
277 | | - | |
| 283 | + | |
278 | 284 | | |
279 | 285 | | |
280 | 286 | | |
281 | 287 | | |
282 | 288 | | |
283 | 289 | | |
284 | 290 | | |
| 291 | + | |
| 292 | + | |
285 | 293 | | |
286 | 294 | | |
287 | 295 | | |
| |||
0 commit comments