# 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 = "2021" name = "sqlite-watcher" version = "0.2.0" authors = ["Leander Beernaert "] build = 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" [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.fixedbitset] version = "0.5.7" [dependencies.flume] version = "0.11.0" [dependencies.oneshot] version = "0.1.8" [dependencies.parking_lot] version = "0.12.3" [dependencies.rusqlite] version = "0.32.1" optional = true [dependencies.slotmap] version = "1.0.7" [dependencies.sqlx] version = "0.8.2" features = ["sqlite"] optional = true [dependencies.thiserror] version = "1.0.64" [dependencies.tracing] version = "0.1.40" [dev-dependencies.futures] version = "0.3.31" [dev-dependencies.tempdir] version = "0.3.7" [dev-dependencies.tokio] version = "1.40" features = [ "macros", "rt-multi-thread", "sync", ] [features] default = [] rusqlite = ["dep:rusqlite"] sqlx = ["dep:sqlx"] [lints.clippy] pedantic = "deny"