Open
Description
Hi,
first of all, thanks for this extension 🚀 It does help me a lot!
I've just now updated my project structure to define the package version centrally inside the workspace Cargo.toml
and then only reference it in the packages using version = { workspace = true }
.
My project is structured like this:
├── package-1
│ ├── src
│ │ ├── package-1.rs
│ ├── Cargo.toml
├── package-2
│ ├── src
│ │ ├── package-2.rs
│ ├── Cargo.toml
...
├── Cargo.toml
Previously, every package had the same version specified inside the respective Cargo.toml
, now I've moved it to the top-level workspace Cargo.toml
.
Trying to build the docs now results in:
Error analyzing crate: Could not analyze crate: Error parsing: /..../package-1/Cargo.toml
TOML parse error at line 3, column 11
|
3 | version = { workspace = true }
| ^^^^^^^^^^^^^^^^^^^^
invalid type: map, expected a string
My conf.py
:
rust_crates = [
"../../package-1",
"../../package-2",
...
]
Metadata
Metadata
Assignees
Labels
No labels