# 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-config"
version = "0.18.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Configuration and route discovery for rust-camel"
homepage = "https://github.com/kennycallado/rust-camel"
documentation = "https://docs.rs/camel-config"
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"

[features]
kubernetes = ["dep:camel-platform-kubernetes"]
otel = [
    "dep:tracing-opentelemetry",
    "dep:opentelemetry-appender-tracing",
]

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.camel-platform-kubernetes]
version = "=0.18.0"
optional = true

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

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

[dependencies.config]
version = "0.15"

[dependencies.glob]
version = "0.3"

[dependencies.opentelemetry-appender-tracing]
version = "0.32"
optional = true

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

[dependencies.serde_json]
version = "1"

[dependencies.serde_yml]
version = "0.0.12"

[dependencies.thiserror]
version = "2"

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

[dependencies.toml]
version = "1"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-opentelemetry]
version = "0.33"
features = []
optional = true

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "fmt",
    "json",
    "env-filter",
]

[dev-dependencies.camel-component-log]
version = "=0.18.0"

[dev-dependencies.camel-component-timer]
version = "=0.18.0"

[dev-dependencies.tempfile]
version = "3"

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

[lints.clippy]
all = "warn"

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