graphile_worker_database 0.1.1

Database driver abstraction for graphile_worker
Documentation
[package]
name = "graphile_worker_database"
version = "0.1.1"
edition = "2021"
license = "MIT"
description = "Database driver abstraction for graphile_worker"
homepage = "https://docs.rs/graphile_worker"
documentation = "https://docs.rs/graphile_worker"
repository = "https://github.com/leo91000/graphile_worker_rs"
keywords = ["jobs", "queue", "postgres", "worker"]
categories = ["asynchronous", "database"]
readme = "README.md"

[dependencies]
chrono.workspace = true
deadpool-postgres = { version = "0.14.1", optional = true }
futures.workspace = true
serde_json.workspace = true
sqlx = { workspace = true, optional = true }
thiserror.workspace = true
tokio = { workspace = true, optional = true, features = ["rt", "sync"] }
tokio-postgres = { version = "0.7.17", optional = true, default-features = false, features = [
  "array-impls",
  "with-chrono-0_4",
  "with-serde_json-1",
] }
tokio-stream = { version = "0.1.18", optional = true, features = ["sync"] }

[features]
default = ["driver-sqlx"]
driver-sqlx = ["sqlx"]
driver-tokio-postgres = [
  "deadpool-postgres",
  "tokio",
  "tokio-postgres/runtime",
  "tokio-stream",
]
runtime-tokio = [
  "sqlx?/runtime-tokio",
  "tokio-postgres?/runtime",
]
runtime-async-std = ["sqlx?/runtime-async-std"]
tls-native-tls = ["sqlx?/tls-native-tls"]
tls-rustls = ["sqlx?/tls-rustls"]

[dev-dependencies]
tokio = { workspace = true, features = ["macros", "rt-multi-thread", "time"] }