# 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 = "pg-taskq" version = "0.3.0" exclude = [ ".dir-locals.el", "DEV.org", "doc/*", "src/env.rs", ] description = "A simple postgres-based distributed and persistent task queue for Rust" homepage = "https://github.com/rksm/pg-taskq" readme = "README.md" keywords = [ "postgres", "sqlx", ] categories = ["database"] license = "MIT" repository = "https://github.com/rksm/pg-taskq" [[bin]] name = "pgtaskq" path = "src/bin/pgtaskq.rs" [dependencies.chrono] version = "0.4.19" [dependencies.clap] version = "4.2.7" features = [ "env", "derive", ] [dependencies.ctrlc] version = "3.2.5" [dependencies.futures] version = "0.3.25" [dependencies.humantime] version = "2.1.0" [dependencies.pg-setup] version = "0.2" features = ["sqlx"] [dependencies.prettytable-rs] version = "0.10.0" [dependencies.serde] version = "1.0.147" features = ["derive"] [dependencies.serde_json] version = "1.0.87" [dependencies.sqlx] version = "0.7" features = [ "postgres", "macros", "uuid", "chrono", "json", ] [dependencies.thiserror] version = "1.0.37" [dependencies.tokio] version = "1.18.0" features = ["full"] [dependencies.tracing] version = "0.1.37" features = ["release_max_level_debug"] [dependencies.tracing-subscriber] version = "0.3.16" features = ["env-filter"] [dependencies.tracing-tree] version = "0.2.2" [dependencies.uuid] version = "1.2" features = [ "serde", "v4", ] [features] default = ["native-tls"] native-tls = ["sqlx/runtime-tokio-native-tls"] rustls = ["sqlx/runtime-tokio-rustls"]