# 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 = "2018" name = "opentelemetry-spanprocessor-any" version = "0.17.0" description = "A metrics collection and distributed tracing framework" homepage = "https://github.com/open-telemetry/opentelemetry-rust" readme = "README.md" keywords = [ "opentelemetry", "logging", "tracing", "metrics", "async", ] 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", ] [[bench]] name = "trace" harness = false [[bench]] name = "batch_span_processor" harness = false required-features = ["rt-tokio"] [[bench]] name = "metric" harness = false required-features = ["metrics"] [[bench]] name = "ddsketch" harness = false required-features = ["metrics"] [dependencies.async-std] version = "1.6" features = ["unstable"] optional = true [dependencies.async-trait] version = "0.1" optional = true [dependencies.crossbeam-channel] version = "0.5" optional = true [dependencies.dashmap] version = "4.0.1" optional = true [dependencies.fnv] version = "1.0" optional = true [dependencies.futures-channel] version = "0.3" [dependencies.futures-executor] version = "0.3" [dependencies.futures-util] version = "0.3" features = [ "std", "sink", ] default-features = false [dependencies.lazy_static] version = "1.4" [dependencies.percent-encoding] version = "2.0" optional = true [dependencies.pin-project] version = "1.0.2" optional = true [dependencies.rand] version = "0.8" features = [ "std", "std_rng", ] optional = true default-features = false [dependencies.serde] version = "1.0" features = [ "derive", "rc", ] optional = true [dependencies.thiserror] version = "1" [dependencies.tokio] version = "1.0" features = [ "rt", "time", ] optional = true default-features = false [dependencies.tokio-stream] version = "0.1" optional = true [dev-dependencies.bincode] version = "1.2" [dev-dependencies.criterion] version = "0.3.1" [dev-dependencies.rand_distr] version = "0.4.0" [features] default = ["trace"] metrics = [ "dashmap", "fnv", ] rt-async-std = ["async-std"] rt-tokio = [ "tokio", "tokio-stream", ] rt-tokio-current-thread = [ "tokio", "tokio-stream", ] serialize = ["serde"] testing = [ "trace", "metrics", "rt-async-std", "rt-tokio", "rt-tokio-current-thread", "tokio/macros", "tokio/rt-multi-thread", ] trace = [ "crossbeam-channel", "rand", "pin-project", "async-trait", "percent-encoding", ] [target."cfg(target_arch = \"wasm32\")".dependencies.js-sys] version = "0.3"