imessage-exporter
imessage-exporter copied to clipboard
Use `bundled` feature for `rusqlite`
Windows does not bundle sqlite3
like macOS does.
Enabling the bundled
crate feature for rusqlite
will prevent build issues on Windows:
error: linking with x86_64-w64-mingw32-gcc failed: exit code: 1
note: ld: cannot find -lsqlite3
Docs: https://docs.rs/crate/rusqlite/latest
bundled
causes us to automatically compile and link in an up to date version of SQLite for you. This avoids many common build issues, and avoids depending on the version of SQLite on the users system (or your system), which may be old or missing.
https://github.com/ReagentX/imessage-exporter/blob/c5006a30e7d7b71e5873bef551724a3ab3ac7dac/imessage-database/Cargo.toml#L15
https://github.com/ReagentX/imessage-exporter/blob/e69928532cb5db6ca26a006834fe67e5d8665532/imessage-exporter/Cargo.toml#L16