# 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 = "resident-utils" version = "0.7.0" authors = ["aoyagikouhei "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Resident program library." documentation = "https://docs.rs/resident-utils" readme = "README.md" keywords = [ "resident", "utility", "daemon", ] categories = ["asynchronous"] license = "MIT" repository = "https://github.com/aoyagikouhei/resident-utils-rs" [package.metadata.docs.rs] all-features = true cargo-args = [ "-Zunstable-options", "-Zrustdoc-scrape-examples", ] features = [ "postgres", "redis", "sqlx", ] rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "resident_utils" path = "src/lib.rs" [dependencies.chrono] version = "0.4.38" [dependencies.cron] version = "0.13.0" [dependencies.deadpool-postgres] version = "0.14.0" features = ["serde"] optional = true [dependencies.deadpool-redis] version = "0.18.0" features = ["serde"] optional = true [dependencies.sqlx] version = "0.8.2" features = [ "runtime-tokio", "postgres", ] optional = true [dependencies.thiserror] version = "2.0.3" [dependencies.tokio] version = "1.41.1" features = [ "rt-multi-thread", "time", "signal", ] [dependencies.tokio-util] version = "0.7.12" [dependencies.tracing] version = "0.1.40" [dev-dependencies.anyhow] version = "1.0.93" [dev-dependencies.tokio] version = "1.41.1" features = ["macros"] [features] postgres = ["dep:deadpool-postgres"] redis = ["dep:deadpool-redis"] sqlx = ["dep:sqlx"]