# 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 believe there's an error in this file please file an # issue against the rust-lang/cargo repository. If you're # editing this file be aware that the upstream Cargo.toml # will likely look very different (and much more reasonable) [package] edition = "2018" name = "salak_factory" version = "0.10.0" authors = ["Daniel Yu "] description = "A resource initialization factory using salak" homepage = "https://github.com/leptonyu/salak.rs" documentation = "https://docs.rs/salak_factory/" readme = "README.md" keywords = ["config", "factory"] categories = ["config"] license = "MIT" repository = "https://github.com/leptonyu/salak.rs" [package.metadata.docs.rs] all-features = true rustdoc-args = ["--cfg", "docsrs"] [package.metadata.playground] all-features = true [[example]] name = "redis" required-features = ["default", "redis_default", "logger", "salak/all"] [[example]] name = "postgres" required-features = ["default", "postgresql", "log", "salak/log", "salak/args", "metric"] [dependencies.env_logger] version = "^0.9" optional = true [dependencies.log] version = "^0.4" optional = true [dependencies.metrics] version = "^0.17" optional = true [dependencies.metrics-exporter-prometheus] version = "^0.6" optional = true default-features = false [dependencies.native-tls] version = "^0.2" optional = true [dependencies.parking_lot] version = "0.11" [dependencies.postgres] version = "^0.19" optional = true [dependencies.postgres-native-tls] version = "^0.5" optional = true [dependencies.r2d2] version = "^0.8" optional = true [dependencies.redis] version = "0.21" optional = true [dependencies.salak] version = "^0.14" features = ["default", "app"] [dependencies.scheduled-thread-pool] version = "^0.2" optional = true [dependencies.sysinfo] version = "^0.19" optional = true [dev-dependencies.env_logger] version = "0.9" [dev-dependencies.log] version = "0.4" [features] default = [] logger = ["log", "env_logger", "salak/log"] metric = ["salak/ipnet", "metrics-exporter-prometheus", "metrics", "sysinfo"] pool = ["r2d2", "scheduled-thread-pool"] postgresql = ["postgres-native-tls", "native-tls", "postgres", "pool"] redis_cluster = ["redis/cluster", "pool"] redis_default = ["redis/default", "pool"]