cargo-geiger
cargo-geiger copied to clipboard
Support version-less manifests
Since Rust 1.75.0 the version field is optional. I have a crate without version. But when running cargo geiger I get:
error: failed to parse manifest at `/home/faern/....../Cargo.toml`
Caused by:
TOML parse error at line 1, column 1
|
1 | [package]
| ^^^^^^^^^
missing field `version`
I guess this crate must upgrade its cargo dependency for it to work?
Thanks yeah - the cargo dependency is getting nuked atm and we just use cargo_metadata & krates
(Just taking a bit time to remove it as it's been tightly coupled - upgrading cargo would mean dealing with that large 3-way dependency breakage that was caused by patch-release in one of the dependencies)
Fixed in 0.12.0