# 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-processor"
version = "0.18.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Message processors for rust-camel"
homepage = "https://github.com/kennycallado/rust-camel"
documentation = "https://docs.rs/camel-processor"
readme = "README.md"
keywords = [
    "camel",
    "integration",
    "messaging",
    "routing",
    "enterprise",
]
categories = [
    "network-programming",
    "asynchronous",
    "development-tools",
]
license = "Apache-2.0"
repository = "https://github.com/kennycallado/rust-camel"
resolver = "2"

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

[[test]]
name = "content_enricher_tests"
path = "tests/content_enricher_tests.rs"

[[test]]
name = "transform_handler_owned_regression"
path = "tests/transform_handler_owned_regression.rs"

[[bench]]
name = "aggregator"
path = "benches/aggregator.rs"
harness = false

[[bench]]
name = "choice"
path = "benches/choice.rs"
harness = false

[[bench]]
name = "circuit_breaker"
path = "benches/circuit_breaker.rs"
harness = false

[[bench]]
name = "filter"
path = "benches/filter.rs"
harness = false

[[bench]]
name = "load_balancer"
path = "benches/load_balancer.rs"
harness = false

[[bench]]
name = "multicast"
path = "benches/multicast.rs"
harness = false

[[bench]]
name = "splitter"
path = "benches/splitter.rs"
harness = false

[dependencies.async-stream]
version = "0.3"

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

[dependencies.bytes]
version = "1"

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

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

[dependencies.camel-language-api]
version = "=0.18.0"

[dependencies.futures]
version = "0.3"

[dependencies.rand]
version = "0.10"

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

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

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

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

[dependencies.tracing]
version = "0.1"

[dependencies.zip]
version = "8"
features = ["deflate"]
default-features = false

[dev-dependencies.criterion]
version = "0.8"
features = [
    "html_reports",
    "async_tokio",
]

[dev-dependencies.tokio]
version = "1"
features = [
    "full",
    "macros",
    "rt",
    "test-util",
]

[lints.clippy]
all = "warn"

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