Rust library for interacting with a SQLite database from multiple threads
Find a file
2024-02-23 22:07:00 +01:00
.vscode Add vscode workspace settings 2022-12-11 18:45:23 +01:00
src Add serde::from_row_via_name 2023-04-01 00:02:02 +02:00
.gitignore Create project 2022-12-11 12:03:40 +01:00
Cargo.toml Bump version to 0.4.0 2024-02-23 22:07:00 +01:00
CHANGELOG.md Bump version to 0.4.0 2024-02-23 22:07:00 +01:00
README.md Add short readme 2022-12-11 20:59:50 +01:00

Vault

A Rust library for interacting with a SQLite database from multiple threads.

Because single SQLite connections aren't built to be threadsafe, the easiest way to interact with a SQLite database from multiple threads or async tasks is to spawn a separate thread for the connection. This thread receives commands or requests via a channel and returns the results to the requester. This way, all operations done on the database are automatically serialized.