# 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 = "multitool-hg" version = "0.1.3" authors = ["humangrass@gmail.com"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Useful module for creating services on Rust." documentation = "https://docs.rs/multitool-hg" readme = "README.md" keywords = [ "multitool", "database", "postgresql", "redis", "logger", ] categories = [ "web-programming", "development-tools", ] license = "MIT" repository = "https://github.com/humangrass/multitool" [lib] name = "multitool_hg" path = "src/lib.rs" [dependencies.anyhow] version = "1.0.80" optional = true [dependencies.bb8] version = "0.8.6" optional = true [dependencies.bb8-redis] version = "0.17.0" optional = true [dependencies.clap] version = "4.5.19" features = ["derive"] optional = true [dependencies.env_logger] version = "0.11.5" optional = true [dependencies.log] version = "0.4.22" optional = true [dependencies.redis] version = "0.27.5" optional = true [dependencies.serde] version = "1.0.197" features = ["derive"] optional = true [dependencies.sqlx] version = "0.8.2" features = [ "runtime-tokio-rustls", "postgres", ] optional = true [dependencies.tokio] version = "1" features = ["full"] optional = true [dependencies.tracing-subscriber] version = "0.3.18" optional = true [features] database = [ "sqlx", "tokio", "log", "anyhow", "serde", ] default = [] full = [ "logger", "database", "rediska", ] logger = [ "env_logger", "log", "tracing-subscriber", "serde", "clap", ] rediska = [ "redis", "serde", "tokio", "anyhow", "bb8", "bb8-redis", ]