- Package:
- cargo-debstatus
- Source:
- cargo-debstatus
- Description:
- print dependency tree of a Rust project using Cargo
- Submitter:
- Julian Gilbey
- Date:
- 2024-12-16 17:36:07 UTC
- Severity:
- normal
- Tags:
Please could cargo-debstatus be updated to cope with newer Rust editions? Thanks! Julian $ cargo debstatus error: failed to parse manifest at `/<DIRECTORY>/pydantic-core/Cargo.toml` Caused by: failed to parse the `edition` key Caused by: supported edition values are `2015` or `2018`, but `2021` is unknown
Hi I struggled to reproduce this issue on my system running debian unstable: My version of cargo-debstatus: $ dpkg -l cargo-debstatus Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-===============-============-============-=================================================== ii cargo-debstatus 0.5.2-2+b1 amd64 print dependency tree of a Rust project using Cargo steps I took to try to reproduce: git clone git@github.com:pydantic/pydantic-core.git cd pydantic-core/ cargo debstatus and that worked as expected, I also tried building debstatus from source without problems. Could you explain in a bit more detail how you encountered the bug? best regards Alexander Kjäll
This looks suspiciously like an old version of rustc that predates the 2021 edition, which was released with 1.56.0, while oldstable aka 11/bullseye has 1.48.0. Julian, what version of rustc were you using? And from where was it installed?