sqlite-watcher 0.7.0

Building blocks to observe database table changes in sqlite3
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "sqlite-watcher"
version = "0.7.0"
authors = ["Leander Beernaert <lbb-dev@pm.me>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Building blocks to observe database table changes in sqlite3"
homepage = "https://gitlab.com/AngryPixel/sqlite-watcher"
readme = "README.md"
keywords = [
    "sqlite3",
    "invalidation",
    "tracking",
    "watcher",
]
categories = ["database"]
license = "AGPL-3.0-only"
repository = "https://gitlab.com/AngryPixel/sqlite-watcher"

[features]
default = []
diesel = ["dep:diesel"]
rusqlite = ["dep:rusqlite"]
sqlx = ["dep:sqlx"]

[lib]
name = "sqlite_watcher"
path = "src/lib.rs"

[[example]]
name = "rusqlite"
path = "examples/rusqlite.rs"
required-features = ["rusqlite"]

[[example]]
name = "sqlx"
path = "examples/sqlx.rs"
required-features = ["sqlx"]

[dependencies.diesel]
version = "2.2"
features = ["sqlite"]
optional = true
default-features = false

[dependencies.fixedbitset]
version = "0.5.7"

[dependencies.flume]
version = "0.12.0"

[dependencies.oneshot]
version = "0.1.13"

[dependencies.parking_lot]
version = "0.12.5"

[dependencies.rusqlite]
version = ">=0.32.1"
optional = true

[dependencies.slotmap]
version = "1.1.1"

[dependencies.sqlx]
version = "0.8.6"
features = ["sqlite"]
optional = true
default-features = false

[dependencies.thiserror]
version = "2.0.18"

[dependencies.tracing]
version = "0.1.44"

[dev-dependencies.tempfile]
version = "3.25.0"

[dev-dependencies.tokio]
version = "1.49.0"
features = [
    "macros",
    "rt-multi-thread",
    "sync",
]

[dev-dependencies.tracing-subscriber]
version = "0.3.22"

[lints.clippy]
pedantic = "deny"