# 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-otel"
version = "0.3.5"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "OpenTelemetry integration for rust-camel"
homepage = "https://github.com/kennycallado/rust-camel"
documentation = "https://docs.rs/camel-otel"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/kennycallado/rust-camel"
resolver = "2"

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

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

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

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

[dependencies.opentelemetry]
version = "0.31"
features = [
    "trace",
    "logs",
    "metrics",
]

[dependencies.opentelemetry-appender-tracing]
version = "0.31"

[dependencies.opentelemetry-otlp]
version = "0.31"
features = [
    "grpc-tonic",
    "http-proto",
    "trace",
    "logs",
    "metrics",
]

[dependencies.opentelemetry-semantic-conventions]
version = "0.31"
features = ["semconv_experimental"]

[dependencies.opentelemetry_sdk]
version = "0.31"
features = [
    "trace",
    "logs",
    "metrics",
    "rt-tokio",
]

[dependencies.thiserror]
version = "2"

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

[dependencies.tracing]
version = "0.1"

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

[dev-dependencies.camel-builder]
version = "=0.3.5"

[dev-dependencies.camel-core]
version = "=0.3.5"

[dev-dependencies.opentelemetry_sdk]
version = "0.31"
features = ["testing"]

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

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