-
Notifications
You must be signed in to change notification settings - Fork 7
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