# 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.65" name = "opentelemetry-datadog" version = "0.14.0" description = "Datadog exporters and propagators for OpenTelemetry" homepage = "https://github.com/open-telemetry/opentelemetry-rust-contrib/tree/main/opentelemetry-datadog" readme = "README.md" keywords = [ "opentelemetry", "tracing", ] categories = [ "development-tools::debugging", "development-tools::profiling", ] license = "Apache-2.0" repository = "https://github.com/open-telemetry/opentelemetry-rust-contrib/tree/main/opentelemetry-datadog" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [[example]] name = "datadog" path = "examples/datadog.rs" [[example]] name = "agent_sampling" path = "examples/agent_sampling.rs" required-features = ["agent-sampling"] [[bench]] name = "datadog_exporter" harness = false [dependencies.ahash] version = "0.8" optional = true [dependencies.futures-core] version = "0.3" [dependencies.http] version = "1" [dependencies.indexmap] version = "2.0" [dependencies.itoa] version = "1" [dependencies.once_cell] version = "1.12" [dependencies.opentelemetry] version = "0.26" [dependencies.opentelemetry-http] version = "0.26" [dependencies.opentelemetry-semantic-conventions] version = "0.26" features = ["semconv_experimental"] [dependencies.opentelemetry_sdk] version = "0.26" features = ["trace"] default-features = false [dependencies.reqwest] version = "0.12" optional = true default-features = false [dependencies.rmp] version = "0.8" [dependencies.ryu] version = "1" [dependencies.surf] version = "2.0" optional = true default-features = false [dependencies.thiserror] version = "1.0" [dependencies.url] version = "2.2" [dev-dependencies.async-trait] version = "0.1" [dev-dependencies.base64] version = "0.13" [dev-dependencies.bytes] version = "1" [dev-dependencies.criterion] version = "0.5" [dev-dependencies.futures-util] version = "0.3" features = ["io"] default-features = false [dev-dependencies.http-body-util] version = "0.1.2" [dev-dependencies.hyper] version = "1" [dev-dependencies.hyper-util] version = "0.1.6" features = [ "client", "full", ] [dev-dependencies.hyperlocal] version = "0.9.1" [dev-dependencies.opentelemetry_sdk] version = "0.26" features = [ "trace", "testing", ] default-features = false [dev-dependencies.rand] version = "0.8" [features] agent-sampling = [] default = ["intern-ahash"] intern-ahash = ["ahash"] intern-std = [] reqwest-blocking-client = [ "reqwest/blocking", "opentelemetry-http/reqwest", ] reqwest-client = [ "reqwest", "opentelemetry-http/reqwest", ] surf-client = ["dep:surf"]