pajowu / signal-backup-decode

Decode Signal Backups
GNU General Public License v3.0
212 stars 17 forks source link

rust v1.42 needed #49

Open knarrff opened 3 years ago

knarrff commented 3 years ago

I just tried to build current master on a Debian-stable machine, which has Rust 1.41 installed. According to the Readme, this should be sufficient. However, Cargo.lock specifies name = "rusqlite" version = "0.24.2" as dependency, which uses the 'matches' macro, which was only "stablized" with Rust 1.42, so with Rust 1.41 I see errors like:

Compiling rusqlite v0.24.2 error[E0658]: use of unstable library feature 'matches_macro' --> /home/username/.cargo/registry/src/github.com-1ecc6299db9ec823/rusqlite-0.24.2/src/types/from_sql.rs:146:44 146 i64::column_result(value).map( i !matches!(i, 0)) ^^^^^^^
= note: for more information, see https://github.com/rust-lang/rust/issues/65721