You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bug: Rust crates with edition.workspace = true report no edition #632
Those crates show no runtime in vg scan. The scanner already loads the workspace manifest for dependency inheritance (loadWorkspaceManifest), so [workspace.package] edition is available.
What to do
When the member inherits edition, read it from [workspace.package] in the workspace manifest.
Support both the dotted-key and inline-table forms.
Add unit tests.
Acceptance
A member with edition.workspace = true under [workspace.package] edition = "2021" reports 2021.
A crate with its own edition = "2024" is unchanged.
No edition anywhere still leaves the runtime empty.
Confirmed: extractRustEdition (line 511 of src/core-open/scanners/rust-scanner.ts) only matches edition = "2021", so inherited editions give no runtime.
The workspace manifest text is already loaded via loadWorkspaceManifest (line 620), so you can detect edition.workspace = true or edition = { workspace = true } in the member's [package] and then read edition from the [workspace.package] section of that text. Keep the member's own edition = "2024" winning. A nice first issue; comment if you'd like it assigned.
Activity
vibgrate-team commentedon Nov 10, 2026
Confirmed:
extractRustEdition(line 511 ofsrc/core-open/scanners/rust-scanner.ts) only matchesedition = "2021", so inherited editions give no runtime.The workspace manifest text is already loaded via
loadWorkspaceManifest(line 620), so you can detectedition.workspace = trueoredition = { workspace = true }in the member's[package]and then readeditionfrom the[workspace.package]section of that text. Keep the member's ownedition = "2024"winning. A nice first issue; comment if you'd like it assigned.