kornelski / cargo-deb

Make Debian packages directly from Rust/Cargo projects
https://lib.rs/cargo-deb
MIT License
431 stars 52 forks source link

Rust edition 2021 not recognized #7

Closed pkolaczk closed 2 years ago

pkolaczk commented 2 years ago
cargo-deb: unable to parse Cargo.toml
  because: unknown variant `2021`, expected `2015` or `2018` for key `package.edition` at line 49 column 1
benferse commented 2 years ago

What version of cargo-deb are you using? I have 1.34.0 and it recognizes edition = "2021"

apiraino commented 2 years ago

I had version 1.29.1 and after updating to 1.34 it worked :)