# 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 = "stream-consumer-task" version = "0.1.0" authors = ["Guillaume Leroy "] description = "Start asynchronous task in background to consume stream" documentation = "https://docs.rs/stream-consumer-task" readme = "README.md" keywords = [ "async", "asynchronous", "consumer", "stream", "task", ] categories = ["asynchronous"] license = "MIT" repository = "https://github.com/leroyguillaume/stream-consumer-task" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [dependencies.futures] version = "0" [dependencies.rdkafka] version = "0" optional = true [dependencies.tokio] version = "1" features = [ "macros", "rt", "sync", ] [dependencies.tracing] version = "0" [dev-dependencies.anyhow] version = "1" [dev-dependencies.lapin] version = "2" [dev-dependencies.tokio] version = "1" features = ["full"] [features] kafka = ["dep:rdkafka"]