# 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-application-insights" version = "0.37.0" authors = ["Jan Kuehle "] build = false exclude = [ ".github/*", "README.tpl", ] autobins = false autoexamples = false autotests = false autobenches = false description = "OpenTelemetry exporter for Azure Application Insights" readme = "README.md" keywords = [ "opentelemetry", "tracing", ] categories = [ "development-tools::debugging", "development-tools::profiling", "asynchronous", ] license = "MIT" repository = "https://github.com/frigus02/opentelemetry-application-insights" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "opentelemetry_application_insights" path = "src/lib.rs" [[example]] name = "attributes" path = "examples/attributes.rs" required-features = ["opentelemetry-http/reqwest"] [[example]] name = "http_client_reqwest" path = "examples/http_client_reqwest.rs" required-features = [ "opentelemetry_sdk/rt-tokio", "opentelemetry-http/reqwest", ] [[example]] name = "http_client_reqwest_blocking" path = "examples/http_client_reqwest_blocking.rs" required-features = ["opentelemetry-http/reqwest"] [[example]] name = "live_metrics" path = "examples/live_metrics.rs" required-features = [ "live-metrics", "opentelemetry_sdk/rt-tokio", "opentelemetry-http/reqwest", ] [[example]] name = "logs" path = "examples/logs.rs" required-features = [ "logs", "opentelemetry_sdk/rt-tokio", ] [[example]] name = "metrics" path = "examples/metrics.rs" required-features = [ "metrics", "opentelemetry_sdk/rt-tokio", ] [[example]] name = "opentelemetry" path = "examples/opentelemetry.rs" required-features = [ "opentelemetry_sdk/rt-tokio", "opentelemetry-http/reqwest", ] [[example]] name = "stress_test" path = "examples/stress_test.rs" required-features = [ "opentelemetry_sdk/rt-tokio", "opentelemetry-http/reqwest", ] [[test]] name = "http_requests" path = "tests/http_requests.rs" [[test]] name = "version_numbers" path = "tests/version_numbers.rs" [dependencies.async-trait] version = "0.1" [dependencies.bytes] version = "1" [dependencies.chrono] version = "0.4" [dependencies.flate2] version = "1" [dependencies.futures-util] version = "0.3" optional = true default-features = false [dependencies.http] version = "1" [dependencies.once_cell] version = "1" [dependencies.opentelemetry] version = "0.27" [dependencies.opentelemetry-http] version = "0.27" [dependencies.opentelemetry-semantic-conventions] version = "0.27" features = ["semconv_experimental"] [dependencies.opentelemetry_sdk] version = "0.27" [dependencies.reqwest] version = "0.12" features = ["blocking"] optional = true default-features = false [dependencies.serde] version = "1" features = ["derive"] [dependencies.serde_json] version = "1" [dependencies.serde_repr] version = "0.1" [dependencies.sysinfo] version = "0.30" optional = true [dependencies.thiserror] version = "2" [dev-dependencies.async-std] version = "1.13.0" features = ["attributes"] [dev-dependencies.doc-comment] version = "0.3.3" [dev-dependencies.env_logger] version = "0.11.3" [dev-dependencies.insta] version = "1.39.0" [dev-dependencies.log] version = "0.4" features = [ "kv", "kv_sval", ] [dev-dependencies.opentelemetry-appender-log] version = "0.27" features = ["with-serde"] [dev-dependencies.opentelemetry-http] version = "0.27" features = ["reqwest"] [dev-dependencies.opentelemetry_sdk] version = "0.27" features = [ "rt-async-std", "rt-tokio", "rt-tokio-current-thread", "spec_unstable_logs_enabled", ] [dev-dependencies.rand] version = "0.8.5" [dev-dependencies.regex] version = "1.10.5" [dev-dependencies.reqwest] version = "0.12" features = ["blocking"] [dev-dependencies.test-case] version = "3.3.1" [dev-dependencies.tokio] version = "1.38.0" features = [ "rt-multi-thread", "macros", "process", "time", ] [dev-dependencies.version-sync] version = "0.9.5" features = [ "html_root_url_updated", "contains_regex", ] default-features = false [features] default = [ "trace", "metrics", "logs", ] live-metrics = [ "trace", "futures-util", "sysinfo", ] logs = ["opentelemetry_sdk/logs"] metrics = ["opentelemetry_sdk/metrics"] reqwest-blocking-client = ["reqwest-client"] reqwest-blocking-client-rustls = ["reqwest-client-rustls"] reqwest-client = [ "opentelemetry-http/reqwest", "reqwest/native-tls", ] reqwest-client-rustls = [ "opentelemetry-http/reqwest", "reqwest/rustls-tls", ] reqwest-client-vendored-tls = [ "opentelemetry-http/reqwest", "reqwest/native-tls-vendored", ] trace = ["opentelemetry_sdk/trace"] [badges.github] repository = "frigus02/opentelemetry-application-insights" workflow = "CI"