# 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" version = "0.27.1" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "OpenTelemetry API for Rust" homepage = "https://github.com/open-telemetry/opentelemetry-rust" readme = "README.md" keywords = [ "opentelemetry", "logging", "tracing", "metrics", ] categories = [ "development-tools::debugging", "development-tools::profiling", "api-bindings", "asynchronous", ] 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" path = "src/lib.rs" [[bench]] name = "anyvalue" path = "benches/anyvalue.rs" harness = false [[bench]] name = "attributes" path = "benches/attributes.rs" harness = false [[bench]] name = "metrics" path = "benches/metrics.rs" harness = false required-features = ["metrics"] [dependencies.futures-core] version = "0.3" optional = true [dependencies.futures-sink] version = "0.3" optional = true [dependencies.pin-project-lite] version = "0.2" optional = true [dependencies.thiserror] version = "1" optional = true default-features = false [dependencies.tracing] version = "0.1" optional = true default-features = false [dev-dependencies.criterion] version = "0.5" [dev-dependencies.rand] version = "0.8" default-features = false [features] default = [ "trace", "metrics", "logs", "internal-logs", ] internal-logs = ["tracing"] logs = [] metrics = [] otel_unstable = [] spec_unstable_logs_enabled = ["logs"] testing = [ "trace", "metrics", ] trace = [ "pin-project-lite", "futures-sink", "futures-core", "thiserror", ] [target.'cfg(all(target_arch = "wasm32", not(target_os = "wasi")))'.dependencies.js-sys] version = "0.3.63"