# 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 = "hive_pubsub" version = "0.5.0" authors = ["Paul Makles "] description = "Generic Pub/Sub library." readme = "README.md" license = "MIT" repository = "https://gitlab.insrt.uk/insert/hive" [package.metadata.docs.rs] all-features = true rustdoc-args = ["--cfg", "docsrs"] [dependencies.async-std] version = "1.10.0" features = ["attributes", "tokio1", "tokio02"] optional = true [dependencies.dotenv] version = "0.15.0" optional = true [dependencies.futures] version = "0.3.8" optional = true [dependencies.many-to-many] version = "0.1.2" [dependencies.mobc] version = "0.7.3" optional = true [dependencies.mobc-redis] version = "0.7.0" optional = true [dependencies.mongodb] version = "1.2.2" optional = true default-features = false [dependencies.redis] version = "0.21.2" optional = true [dependencies.serde] version = "1.0.115" optional = true [dependencies.serde_json] version = "1.0.57" optional = true [dependencies.tokio] version = "0.2" features = ["macros", "test-util"] optional = true [dependencies.ulid] version = "0.4.0" optional = true [features] core = ["ulid", "serde", "serde_json", "futures"] default = [] mongo-backend = ["mongodb", "core"] redis-backend = ["redis", "redis/aio", "mobc", "mobc-redis", "core"] test = ["mongo-backend", "dotenv", "tokio", "mongodb/tokio-runtime", "redis/tokio-comp", "async-std"]