# 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 = "2024"
name = "camel-component-kafka"
version = "0.21.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Kafka component for rust-camel integration framework"
homepage = "https://github.com/kennycallado/rust-camel"
documentation = "https://docs.rs/camel-component-kafka"
readme = "README.md"
keywords = [
    "camel",
    "kafka",
    "integration",
    "messaging",
    "streaming",
]
categories = [
    "network-programming",
    "asynchronous",
    "development-tools",
]
license = "Apache-2.0"
repository = "https://github.com/kennycallado/rust-camel"
resolver = "2"

[features]
cmake-build = ["rdkafka/cmake-build"]
dynamic-linking = ["rdkafka/dynamic-linking"]
otel = ["dep:camel-otel"]

[lib]
name = "camel_component_kafka"
path = "src/lib.rs"

[dependencies.async-trait]
version = "0.1"

[dependencies.bytes]
version = "1"

[dependencies.camel-api]
version = "=0.21.0"

[dependencies.camel-component-api]
version = "=0.21.0"

[dependencies.camel-otel]
version = "=0.21.0"
optional = true

[dependencies.futures]
version = "0.3"

[dependencies.rdkafka]
version = "0.36"
features = ["tokio"]

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.tokio-util]
version = "0.7"
features = [
    "rt",
    "io",
]

[dependencies.toml]
version = "1"

[dependencies.tower]
version = "0.5"
features = ["util"]

[dependencies.tracing]
version = "0.1"

[dev-dependencies.camel-component-api]
version = "=0.21.0"
features = ["test-support"]

[dev-dependencies.opentelemetry]
version = "0.32"
features = [
    "trace",
    "logs",
    "metrics",
]

[dev-dependencies.tracing-test]
version = "0.2"
features = ["no-env-filter"]

[lints.clippy]
all = "warn"

[lints.rust]
dead_code = "warn"
unused_imports = "warn"
unused_must_use = "warn"
