[package]
name = "rdkafka-sys"
version = "4.8.0+2.3.0"
authors = ["Federico Giraud <giraud.federico@gmail.com>"]
build = "build.rs"
links = "rdkafka"
repository = "https://github.com/fede1024/rust-rdkafka"
license = "MIT"
description = "Native bindings to the librdkafka library"
keywords = ["kafka", "rdkafka"]
categories = ["external-ffi-bindings"]
edition = "2018"
rust-version = "1.70"
[dependencies]
num_enum = "0.7.3"
libc = "0.2.65"
openssl-sys = { version = "0.9.48", optional = true }
libz-sys = { version = "1.0.0", optional = true }
curl-sys = { version = "0.4.55", optional = true }
zstd-sys = { version = "2.0.6", optional = true }
lz4-sys = { version = "1.8.3", optional = true }
sasl2-sys = { version = "0.1.6", optional = true }
[build-dependencies]
pkg-config = "0.3.9"
cmake = { version = "0.1.0", optional = true }
[lib]
name = "rdkafka_sys"
path = "src/lib.rs"
[features]
default = ["libz"]
cmake-build = ["cmake"]
cmake_build = ["cmake-build"]
dynamic-linking = []
dynamic_linking = ["dynamic-linking"]
ssl = ["openssl-sys"]
ssl-vendored = ["ssl", "openssl-sys/vendored"]
gssapi = ["ssl", "sasl2-sys"]
gssapi-vendored = ["gssapi", "sasl2-sys/gssapi-vendored"]
sasl = ["gssapi"]
libz = ["libz-sys"]
libz-static = ["libz", "libz-sys/static"]
curl = ["curl-sys"]
curl-static = ["curl-sys/static-curl"]
zstd = ["zstd-sys"]
zstd-pkg-config = ["zstd", "zstd-sys/pkg-config"]
external-lz4 = ["lz4-sys"]
external_lz4 = ["external-lz4"]
[package.metadata.docs.rs]
features = ["cmake_build"]