# 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.6.2"
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]
otel = ["dep:tracing-opentelemetry"]

[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 = "subscriber_test"
path = "tests/subscriber_test.rs"

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

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

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

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

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

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

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

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

[dependencies.config]
version = "0.14"

[dependencies.glob]
version = "0.3"

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

[dependencies.serde_json]
version = "1"

[dependencies.serde_yaml]
version = "0.9"

[dependencies.thiserror]
version = "2"

[dependencies.toml]
version = "0.8"

[dependencies.tracing]
version = "0.1"

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

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

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

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

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

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