[package]
edition = "2024"
rust-version = "1.92"
name = "kafka_client"
version = "0.5.2"
authors = ["zzzdong <kuwater@163.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A pure Rust Kafka client library with SASL authentication support"
homepage = "https://github.com/zzzdong/kafka_client"
documentation = "https://docs.rs/kafka_client"
readme = "README.md"
keywords = [
"kafka",
"client",
"async",
"sasl",
"tls",
]
categories = [
"network-programming",
"asynchronous",
"api-bindings",
"authentication",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/zzzdong/kafka_client"
[features]
default = []
integration_tests = []
[lib]
name = "kafka_client"
path = "src/lib.rs"
[[example]]
name = "admin_operations"
path = "examples/admin_operations.rs"
[[example]]
name = "basic_connect"
path = "examples/basic_connect.rs"
[[example]]
name = "large_batch"
path = "examples/large_batch.rs"
[[example]]
name = "produce_consume"
path = "examples/produce_consume.rs"
[[example]]
name = "producer_bench"
path = "examples/producer_bench.rs"
[[example]]
name = "raw_connection"
path = "examples/raw_connection.rs"
[[example]]
name = "sasl_auth"
path = "examples/sasl_auth.rs"
[[example]]
name = "stress_test"
path = "examples/stress_test.rs"
[[example]]
name = "tls_connect"
path = "examples/tls_connect.rs"
[[test]]
name = "auth"
path = "tests/auth.rs"
[[test]]
name = "cluster"
path = "tests/cluster.rs"
[[test]]
name = "consumer_group"
path = "tests/consumer_group.rs"
[[test]]
name = "consumer_seek"
path = "tests/consumer_seek.rs"
[[test]]
name = "kerberos"
path = "tests/kerberos.rs"
[[test]]
name = "kerberos_service_ticket"
path = "tests/kerberos_service_ticket.rs"
[[test]]
name = "large_batch"
path = "tests/large_batch.rs"
[[test]]
name = "multi_topic"
path = "tests/multi_topic.rs"
[[test]]
name = "offset_commit"
path = "tests/offset_commit.rs"
[[test]]
name = "offset_reset"
path = "tests/offset_reset.rs"
[[test]]
name = "produce_consume"
path = "tests/produce_consume.rs"
[[test]]
name = "produce_with_keys"
path = "tests/produce_with_keys.rs"
[[test]]
name = "producer_acks"
path = "tests/producer_acks.rs"
[[test]]
name = "tls"
path = "tests/tls.rs"
[dependencies.arc-swap]
version = "1.7"
[dependencies.base64]
version = "0.22"
[dependencies.bytes]
version = "1.11"
[dependencies.dashmap]
version = "6.1"
[dependencies.futures]
version = "0.3"
[dependencies.hmac]
version = "0.13"
[dependencies.kafka-client-protocol]
version = "0.2.1"
[dependencies.krb5-gss]
version = "0.1.0"
[dependencies.pbkdf2]
version = "0.13"
[dependencies.rand]
version = "0.10"
[dependencies.rustls]
version = "0.23"
[dependencies.rustls-native-certs]
version = "0.8"
[dependencies.rustls-pemfile]
version = "2.2"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.sha2]
version = "0.11"
[dependencies.subtle]
version = "2"
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
version = "1"
features = ["full"]
[dependencies.tokio-rustls]
version = "0.26"
[dependencies.tokio-util]
version = "0.7"
features = ["codec"]
[dependencies.tracing]
version = "0.1"
[dependencies.uuid]
version = "1.0"
features = ["v4"]
[dev-dependencies.hex]
version = "0.4"
[dev-dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]