# 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.70" name = "opentelemetry_sdk" version = "0.27.1" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "The SDK for the OpenTelemetry metrics collection and distributed tracing framework" homepage = "https://github.com/open-telemetry/opentelemetry-rust" readme = "README.md" license = "Apache-2.0" repository = "https://github.com/open-telemetry/opentelemetry-rust" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "opentelemetry_sdk" path = "src/lib.rs" [[bench]] name = "batch_span_processor" path = "benches/batch_span_processor.rs" harness = false required-features = [ "rt-tokio", "testing", ] [[bench]] name = "context" path = "benches/context.rs" harness = false [[bench]] name = "log" path = "benches/log.rs" harness = false required-features = ["logs"] [[bench]] name = "log_exporter" path = "benches/log_exporter.rs" harness = false [[bench]] name = "log_processor" path = "benches/log_processor.rs" harness = false [[bench]] name = "metric" path = "benches/metric.rs" harness = false required-features = ["metrics"] [[bench]] name = "metrics_counter" path = "benches/metrics_counter.rs" harness = false [[bench]] name = "metrics_gauge" path = "benches/metrics_gauge.rs" harness = false [[bench]] name = "metrics_histogram" path = "benches/metrics_histogram.rs" harness = false [[bench]] name = "span_builder" path = "benches/span_builder.rs" harness = false [[bench]] name = "trace" path = "benches/trace.rs" harness = false required-features = ["testing"] [dependencies.async-std] version = "1.13" features = ["unstable"] optional = true [dependencies.async-trait] version = "0.1" optional = true [dependencies.futures-channel] version = "0.3" [dependencies.futures-executor] version = "0.3" [dependencies.futures-util] version = "0.3" features = [ "std", "sink", "async-await-macro", ] default-features = false [dependencies.glob] version = "0.3.1" optional = true [dependencies.http] version = "1.1" features = ["std"] optional = true default-features = false [dependencies.opentelemetry] version = "0.27" [dependencies.opentelemetry-http] version = "0.27" optional = true [dependencies.percent-encoding] version = "2.0" optional = true [dependencies.rand] version = "0.8" features = [ "std", "std_rng", "small_rng", ] optional = true default-features = false [dependencies.serde] version = "1.0" features = [ "derive", "rc", ] optional = true default-features = false [dependencies.serde_json] version = "1.0" optional = true [dependencies.thiserror] version = "1" default-features = false [dependencies.tokio] version = "1" features = [ "rt", "time", ] optional = true default-features = false [dependencies.tokio-stream] version = "0.1" optional = true [dependencies.tracing] version = "0.1" optional = true default-features = false [dependencies.url] version = "2.5.2" optional = true default-features = false [dev-dependencies.criterion] version = "0.5" features = ["html_reports"] [dev-dependencies.temp-env] version = "0.3.6" [features] default = [ "trace", "metrics", "logs", "internal-logs", ] experimental_metrics_periodic_reader_no_runtime = ["metrics"] internal-logs = ["tracing"] jaeger_remote_sampler = [ "trace", "opentelemetry-http", "http", "serde", "serde_json", "url", ] logs = [ "opentelemetry/logs", "async-trait", "serde_json", ] metrics = [ "opentelemetry/metrics", "glob", "async-trait", ] rt-async-std = ["async-std"] rt-tokio = [ "tokio", "tokio-stream", ] rt-tokio-current-thread = [ "tokio", "tokio-stream", ] spec_unstable_logs_enabled = [ "logs", "opentelemetry/spec_unstable_logs_enabled", ] spec_unstable_metrics_views = ["metrics"] testing = [ "opentelemetry/testing", "trace", "metrics", "logs", "rt-async-std", "rt-tokio", "rt-tokio-current-thread", "tokio/macros", "tokio/rt-multi-thread", ] trace = [ "opentelemetry/trace", "rand", "percent-encoding", ] [target.'cfg(not(target_os = "windows"))'.dev-dependencies.pprof] version = "0.13" features = [ "flamegraph", "criterion", ]