# 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.60" name = "opentelemetry_api" version = "0.20.0" description = "OpenTelemetry is a 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" resolver = "1" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [dependencies.futures-channel] version = "0.3" [dependencies.futures-util] version = "0.3" features = [ "std", "sink", ] default-features = false [dependencies.indexmap] version = "1.8" [dependencies.once_cell] version = "1.12.0" [dependencies.pin-project-lite] version = "0.2" optional = true [dependencies.thiserror] version = "1" [dependencies.urlencoding] version = "2.1.2" [features] default = ["trace"] logs = [] logs_level_enabled = ["logs"] metrics = [] testing = ["trace"] trace = ["pin-project-lite"] [target."cfg(all(target_arch = \"wasm32\", not(target_os = \"wasi\")))".dependencies.js-sys] version = "0.3.63"