# 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.70" name = "rdkafka" version = "0.37.0" authors = ["Federico Giraud "] build = false exclude = ["Cargo.lock"] autobins = false autoexamples = false autotests = false autobenches = false 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", ] [lib] name = "rdkafka" path = "src/lib.rs" [[example]] name = "asynchronous_processing" path = "examples/asynchronous_processing.rs" [[example]] name = "at_least_once" path = "examples/at_least_once.rs" [[example]] name = "example_utils" path = "examples/example_utils.rs" [[example]] name = "metadata" path = "examples/metadata.rs" [[example]] name = "mocking" path = "examples/mocking.rs" [[example]] name = "roundtrip" path = "examples/roundtrip.rs" [[example]] name = "runtime_async_std" path = "examples/runtime_async_std.rs" [[example]] name = "runtime_smol" path = "examples/runtime_smol.rs" [[example]] name = "simple_consumer" path = "examples/simple_consumer.rs" [[example]] name = "simple_producer" path = "examples/simple_producer.rs" [[test]] name = "test_admin" path = "tests/test_admin.rs" [[test]] name = "test_high_consumers" path = "tests/test_high_consumers.rs" [[test]] name = "test_high_producers" path = "tests/test_high_producers.rs" [[test]] name = "test_low_consumers" path = "tests/test_low_consumers.rs" [[test]] name = "test_low_producers" path = "tests/test_low_producers.rs" [[test]] name = "test_metadata" path = "tests/test_metadata.rs" [[test]] name = "test_transactions" path = "tests/test_transactions.rs" [[test]] name = "utils" path = "tests/utils.rs" [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.8.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.backon] version = "1.2" features = ["std-blocking-sleep"] default-features = false [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"]