rocket_sqlite_rw_pool

Crates.iorocket_sqlite_rw_pool
lib.rsrocket_sqlite_rw_pool
version0.0.1-alpha2
sourcesrc
created_at2024-01-20 22:59:36.99699
updated_at2024-02-19 05:34:28.518929
descriptionRead-Write SQLite pool for Rocket with query builder, migrations, and CSRF protection
homepage
repositoryhttps://github.com/mhlakhani/rocket_sqlite_rw_pool
max_upload_size
id1106909
size79,799
Hasnain Lakhani (mhlakhani)

documentation

README

rocket_sqlite_rw_pool

This is a database pool based off of rocket_sync_db_pools which exposes low-level rusqlite connections and transactions. It also avoids deadlocks/errors with multiple writers by exposing separate pools for read and write connections.

Also provided:

  • Safe by default CSRF protection
  • Query builder for bulk inserts
  • Various query helpers
  • Migration support

This is provided AS-IS and is alpha-quality software. Lots of documentation and automated testing is still needed - but it works fine in some production applications already.

Commit count: 0

cargo fmt