# 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 = "2021"
rust-version = "1.71.1"
name = "opentelemetry-etw-metrics"
version = "0.6.0"
build = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "OpenTelemetry metrics exporter to ETW (Event Tracing for Windows)"
homepage = "https://github.com/open-telemetry/opentelemetry-rust-contrib/tree/main/opentelemetry-etw-metrics"
readme = "README.md"
keywords = [
    "opentelemetry",
    "metrics",
    "etw",
]
license = "Apache-2.0"
repository = "https://github.com/open-telemetry/opentelemetry-rust-contrib/tree/main/opentelemetry-etw-metrics"

[package.metadata.cargo-machete]
ignored = ["tracing"]

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

[[example]]
name = "basic"
path = "examples/basic.rs"

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

[dependencies.opentelemetry]
version = "0.27"
features = ["metrics"]

[dependencies.opentelemetry-proto]
version = "0.27"
features = [
    "gen-tonic",
    "metrics",
]
default-features = false

[dependencies.opentelemetry_sdk]
version = "0.27"
features = [
    "metrics",
    "rt-tokio",
]
default-features = false

[dependencies.prost]
version = "0.13"

[dependencies.tracelogging]
version = "1.2.1"

[dependencies.tracing]
version = "0.1"
optional = true

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

[features]
default = ["internal-logs"]
internal-logs = ["tracing"]