Cargo Features

[dependencies]
opentelemetry_gcloud_monitoring_exporter = { version = "0.11.11", default-features = false, features = ["gcp_auth", "tokio", "opentelemetry_0_24", "rt_tokio_opentelemetry_sdk_0_24", "opentelemetry_0_23", "rt_tokio_opentelemetry_sdk_0_23", "opentelemetry_0_21_pkg", "opentelemetry_0_22_pkg", "opentelemetry_sdk_0_21_pkg", "opentelemetry_sdk_0_22_pkg", "opentelemetry_resourcedetector_gcp_rust_0_8_pkg", "opentelemetry_resourcedetector_gcp_rust_0_9_pkg", "async-std"] }
default = gcp_auth, opentelemetry_0_24, rt_tokio_opentelemetry_sdk_0_24

These default features are set whenever opentelemetry_gcloud_monitoring_exporter is added without default-features = false somewhere in the dependency tree.

gcp_auth default

Enables gcp_auth

Google sdk

tokio rt_tokio_opentelemetry_sdk_0_23? rt_tokio_opentelemetry_sdk_0_24

Enables tokio

opentelemetry_0_24 default = opentelemetry_0_24_pkg, opentelemetry…gcp_rust_0_11_pkg, opentelemetry_sdk_0_24_pkg
rt_tokio_opentelemetry_sdk_0_24 default = tokio

Enables rt-tokio of opentelemetry_sdk ^0.24

opentelemetry_0_23 = opentelemetry_0_23_pkg, opentelemetry…gcp_rust_0_10_pkg, opentelemetry_sdk_0_23_pkg
rt_tokio_opentelemetry_sdk_0_23 = tokio

Enables rt-tokio of opentelemetry_sdk ^0.23

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

todo: add the 0.22 and 0.21 features
now tests with 0.22 and 0.21 are failing
opentelemetry_0_22 = [
"opentelemetry_0_22_pkg",
"opentelemetry_sdk_0_22_pkg",
"opentelemetry_resourcedetector_gcp_rust_0_9_pkg",
]
rt_tokio_opentelemetry_sdk_0_22 = [
"tokio",
"opentelemetry_sdk_0_22_pkg/rt-tokio",
]

opentelemetry_0_21 = [
"opentelemetry_0_21_pkg",
"opentelemetry_sdk_0_21_pkg",
"opentelemetry_resourcedetector_gcp_rust_0_8_pkg",
]
rt_tokio_opentelemetry_sdk_0_21 = [
"tokio",
"opentelemetry_sdk_0_21_pkg/rt-tokio",
]

opentelemetry_0_21_pkg implicit feature

Enables opentelemetry ^0.21

opentelemetry:

OpenTelemetry API for Rust

opentelemetry_0_22_pkg implicit feature

Enables opentelemetry ^0.22

opentelemetry_0_23_pkg opentelemetry_0_23?

Enables opentelemetry ^0.23

opentelemetry_0_24_pkg opentelemetry_0_24

Enables opentelemetry ^0.24

opentelemetry_sdk_0_21_pkg implicit feature

Enables opentelemetry_sdk ^0.21

opentelemetry_sdk:

The SDK for the OpenTelemetry metrics collection and distributed tracing framework

opentelemetry_sdk_0_22_pkg implicit feature

Enables opentelemetry_sdk ^0.22

opentelemetry_sdk_0_23_pkg opentelemetry_0_23? rt_tokio_opentelemetry_sdk_0_23?

Enables opentelemetry_sdk ^0.23

opentelemetry_sdk_0_24_pkg opentelemetry_0_24 rt_tokio_opentelemetry_sdk_0_24

Enables opentelemetry_sdk ^0.24

opentelemetry_resourcedetector_gcp_rust_0_8_pkg implicit feature

Enables opentelemetry_resourcedetector_gcp_rust ^0.8

opentelemetry_resourcedetector_gcp_rust:

This library provides support for detecting GCP resources like GCE, GKE, etc

opentelemetry_resourcedetector_gcp_rust_0_9_pkg implicit feature

Enables opentelemetry_resourcedetector_gcp_rust ^0.9

opentelemetry_resourcedetector_gcp_rust_0_10_pkg opentelemetry_0_23?

Enables opentelemetry_resourcedetector_gcp_rust ^0.10

opentelemetry_resourcedetector_gcp_rust_0_11_pkg opentelemetry_0_24

Enables opentelemetry_resourcedetector_gcp_rust

async-std implicit feature

Enables async-std

async-std:

Async version of the Rust standard library