sqlite-hardened 0.1.1

Opinionated, correct-by-default sqlx SQLite pool (WAL, foreign_keys, busy_timeout, synchronous=NORMAL) with a BEGIN IMMEDIATE helper and safe in-memory pools.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[package]
name = "sqlite-hardened"
version = "0.1.1"
edition = "2021"
description = "Opinionated, correct-by-default sqlx SQLite pool (WAL, foreign_keys, busy_timeout, synchronous=NORMAL) with a BEGIN IMMEDIATE helper and safe in-memory pools."
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/fastyoke/sqlite-hardened"
keywords = ["sqlite", "sqlx", "pool", "wal", "database"]
categories = ["database"]

[dependencies]
sqlx = { version = "0.8", default-features = false, features = ["sqlite", "runtime-tokio"] }
thiserror = "1"

[dev-dependencies]
tokio = { version = "1", features = ["macros", "rt-multi-thread", "time"] }
tempfile = "3"