Closed 1oglop1 closed 7 months ago
Thanks for opening an issue, it might be one of the dependencies used for parsing that's responsible of that. Would you be interested in solving this with a pull request?
I am not really a Rust magician, but it looks like you have pointed in the right direction:
https://gitlab.com/lib.rs/cargo_toml/-/blob/main/src/cargo_toml.rs?ref_type=heads#L1540-1545
I will try to open an issue there and see if anything comes out of it.
cargo_toml
supports optional version
, but you're using outdated cargo_toml
.
@bnjbvr would you consider making a release to give access this fix? Would be great!
@dspicher yes, doing this now in #108
Thanks!
Hi I have a
Cargo.toml
file without version and machete is failing withHowever, the
version
field is optional and has been for some time already. https://doc.rust-lang.org/cargo/reference/manifest.html#the-version-field