sqlite-rwc 0.4.0

Reader Writer Concurrency Setup for 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"
rust-version = "1.85.0"
name = "sqlite-rwc"
version = "0.4.0"
authors = ["Leander Beernaert <lbb-dev@pm.me>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Reader Writer Concurrency Setup for Sqlite3"
readme = "README.md"
keywords = [
    "sqlite3",
    "concurrency",
]
categories = ["database"]
license = "AGPL-3.0-only"

[features]
async = [
    "dep:flume",
    "dep:oneshot",
]
default = []
diesel = ["dep:diesel"]
diesel_watcher = [
    "watcher",
    "diesel",
    "sqlite-watcher/diesel",
]
rusqlite = ["dep:rusqlite"]
rusqlite_watcher = [
    "watcher",
    "rusqlite",
    "sqlite-watcher/rusqlite",
]
watcher = ["dep:sqlite-watcher"]

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

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

[dependencies.flume]
version = "0.12.0"
optional = true

[dependencies.oneshot]
version = "0.1.13"
optional = true

[dependencies.parking_lot]
version = "0.12.5"

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

[dependencies.sqlite-watcher]
version = "0.7.0"
optional = true

[dependencies.thiserror]
version = "2"

[dependencies.tracing]
version = "0.1.41"

[dev-dependencies.tempdir]
version = "0.3.7"

[dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt",
]

[lints.clippy]
pedantic = "deny"