Skip to content

Commit 9beda00

Browse files
committed
downgrade rusqlite dependency from 0.24.2 to 0.23.1 for Buster
The Rust compiler version on Debian 10 ("Buster") does not support the matches_macro feature used in rusqlite 0.24.2. It fails with error[E0658]: use of unstable library feature 'matches_macro' --> /root/.cargo/registry/src/github.1485827954.workers.dev-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 rust-lang/rust#65721 error: aborting due to previous error For more information about this error, try `rustc --explain E0658`. error: could not compile `rusqlite`. when trying to compile rusqlite 0.24.2. However, it does compile with the older version 0.23.1 of rusqlite. Until there is a more recent Rust compiler version available in Debian 10, e.g. via the backports repository, it will probably stay at this version.
1 parent c9be4ce commit 9beda00

File tree

2 files changed

+65
-28
lines changed

2 files changed

+65
-28
lines changed

rust/Cargo.lock

Lines changed: 64 additions & 27 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rust/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ edition = "2018"
88

99
[dependencies]
1010
regex = "1.4.2"
11-
rusqlite = "0.24.2"
11+
rusqlite = "0.23.1"

0 commit comments

Comments
 (0)