# 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" name = "runtime-otel-metrics" version = "0.2.0" authors = ["Maximilian Teegen"] description = "Meter your tokio runtime and process memory with OpenTelemetry" readme = "README.md" license = "MIT OR Apache-2.0" repository = "https://github.com/max-te/runtime-otel-rs" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "tokio_unstable", ] [lib] name = "runtime_otel_metrics" path = "src/lib.rs" [dependencies.memory-stats] version = "1" optional = true default-features = false [dependencies.opentelemetry] version = ">=0.21,<0.24" features = ["metrics"] default-features = false [dependencies.tokio] version = "1" features = ["rt"] optional = true default-features = false [features] default = [ "tokio", "memory-stats", ]