Commit 9beda00
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
2 files changed
+65
-28
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
0 commit comments