4 ms·
Are you talking about statically linking the database itself? Seems like it'd be better to keep the database separate from the binary, unless you're working wit
by NiceGuy_Ty 8y ago
Are you talking about statically linking the database itself? Seems like it'd be better to keep the database separate from the binary, unless you're working with a read-only database.
For static-linking the sqlite3 library, if you're using rusqlite you can just specify the bundled feature in Cargo.toml.
```
[dependencies.rusqlite]
version = "your-version-number"
features = ["bundled"]
```
- anderspitman 8y agoYeah I meant statically linking the sqlite library. Thanks for the tip on how to do it