# 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" rust-version = "1.61" name = "rdkafka" version = "0.36.2" authors = ["Federico Giraud "] exclude = ["Cargo.lock"] description = "Rust wrapper for librdkafka" readme = "README.md" keywords = [ "kafka", "rdkafka", ] categories = ["api-bindings"] license = "MIT" repository = "https://github.com/fede1024/rust-rdkafka" [package.metadata.docs.rs] features = [ "cmake-build", "naive-runtime", "tracing", "tokio", ] rustdoc-args = [ "--cfg", "docsrs", ] [dependencies.futures-channel] version = "0.3.0" [dependencies.futures-executor] version = "0.3.0" optional = true [dependencies.futures-util] version = "0.3.0" default-features = false [dependencies.libc] version = "0.2.0" [dependencies.log] version = "0.4.8" [dependencies.rdkafka-sys] version = "4.7.0" default-features = false [dependencies.serde] version = "1.0.0" features = ["derive"] [dependencies.serde_derive] version = "1.0.0" [dependencies.serde_json] version = "1.0.0" [dependencies.slab] version = "0.4" [dependencies.tokio] version = "1.18" features = [ "rt", "time", ] optional = true [dependencies.tracing] version = "0.1.30" optional = true [dev-dependencies.async-std] version = "1.9.0" features = ["attributes"] [dev-dependencies.backoff] version = "0.1.5" [dev-dependencies.chrono] version = "0.4.0" [dev-dependencies.clap] version = "2.18.0" [dev-dependencies.env_logger] version = "0.9.0" [dev-dependencies.futures] version = "0.3.0" [dev-dependencies.hdrhistogram] version = "7.0.0" [dev-dependencies.maplit] version = "1.0.2" [dev-dependencies.rand] version = "0.3.15" [dev-dependencies.regex] version = "1.1.6" [dev-dependencies.smol] version = "1.2.4" [dev-dependencies.tokio] version = "1.18" features = [ "macros", "rt-multi-thread", "time", ] [features] cmake-build = ["rdkafka-sys/cmake-build"] cmake_build = ["rdkafka-sys/cmake_build"] curl = ["rdkafka-sys/curl"] curl-static = ["rdkafka-sys/curl-static"] default = [ "libz", "tokio", ] dynamic-linking = ["rdkafka-sys/dynamic-linking"] dynamic_linking = ["rdkafka-sys/dynamic_linking"] external-lz4 = ["rdkafka-sys/external-lz4"] external_lz4 = ["rdkafka-sys/external_lz4"] gssapi = ["rdkafka-sys/gssapi"] gssapi-vendored = ["rdkafka-sys/gssapi-vendored"] libz = ["rdkafka-sys/libz"] libz-static = ["rdkafka-sys/libz-static"] naive-runtime = ["futures-executor"] sasl = ["rdkafka-sys/sasl"] ssl = ["rdkafka-sys/ssl"] ssl-vendored = ["rdkafka-sys/ssl-vendored"] zstd = ["rdkafka-sys/zstd"] zstd-pkg-config = ["rdkafka-sys/zstd-pkg-config"]