# 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 = "2018" name = "redis_logger" version = "0.3.2" authors = ["Sebastian Frehmel <8192K@sebastianfrehmel.de>"] description = "A logger implementing the log::Log trait that writes log messages to a Redis pub/sub channel, a stream or both using the redis_rs crate" readme = "README.md" keywords = [ "log", "logger", "logging", "redis", "pubsub", ] categories = [ "development-tools", "development-tools::debugging", "database", ] license = "MIT/Apache-2.0" repository = "https://github.com/8192K/redis_logger" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [profile.release] lto = true codegen-units = 1 [dependencies.log] version = "0.4" features = ["std"] [dependencies.redis] version = "0.24" [dependencies.serde_json] version = "1.0" optional = true [dependencies.serializable_log_record] version = "0.3" features = ["serde"] optional = true [dependencies.simplelog] version = "0.12" optional = true [dev-dependencies.mockall] version = "0.12" [features] default_encoders = [ "dep:serde_json", "dep:serializable_log_record", ] shared_logger = ["dep:simplelog"]