[package] name = "sqlsrv" version = "0.5.0" edition = "2021" license = "0BSD" # https://crates.io/category_slugs categories = [ "database" ] keywords = [ "sqlite", "server" ] repository = "https://repos.qrnch.tech/pub/sqlsrv" description = "Utility functions for managing SQLite connections in a server application." rust-version = "1.56" exclude = [ ".fossil-settings", ".efiles", ".fslckout", "build_docs.sh", "examples", "www", "rustfmt.toml" ] # https://doc.rust-lang.org/cargo/reference/manifest.html#the-badges-section [badges] maintenance = { status = "experimental" } [features] tpool = ["dep:swctx", "dep:threadpool"] [dependencies] parking_lot = { version = "0.12.3" } r2d2 = { version = "0.8.10" } r2d2_sqlite = { version = "0.25.0" } # Need to add the `hooks` feature. Unfortunately the version needs to be # specified here. It would be much more convenient if it could use the version # from r2d2_sqlite. Allegedely one can use the version "*", which apparently # does not mean "latest", but have not yet confirmed this. rusqlite = { version = "0.32.1", features = ["hooks"] } swctx = { version = "0.2.2", optional = true } threadpool = { version = "1.8.1", optional = true } [dev-dependencies] hex = { version = "0.4.3" } rand = { version = "0.8.5" } rusqlite = { version = "0.32.1", features = ["functions"] } sha2 = { version = "0.10.8" } [package.metadata.docs.rs] all-features = true rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"]