# 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 = "opentelemetry-system-metrics" version = "0.2.0" description = "System metric export through Opentelemetry" readme = "README.md" license = "Apache-2.0" repository = "https://github.com/haixuanTao/opentelemetry-system-metrics" [[example]] name = "otlp-tokio-metrics" path = "examples/otlp-tokio-metrics/main.rs" [[example]] name = "stdout-tokio-metrics" path = "examples/stdout-tokio-metrics/main.rs" [dependencies.eyre] version = "0.6.8" [dependencies.indexmap] version = "1.8" [dependencies.nvml-wrapper] version = "0.9.0" [dependencies.opentelemetry] version = "0.23.0" features = ["metrics"] [dependencies.sysinfo] version = "0.29" [dependencies.tracing] version = "0.1.40" [dev-dependencies.eyre] version = "0.6.8" [dev-dependencies.futures] version = "0.3.12" [dev-dependencies.opentelemetry-otlp] version = "0.16.0" features = [ "tonic", "metrics", ] [dev-dependencies.opentelemetry-stdout] version = "0.4.0" features = ["metrics"] [dev-dependencies.opentelemetry_sdk] version = "0.23.0" features = [ "rt-tokio", "metrics", ] [dev-dependencies.tokio] version = "1.17.0" features = ["full"]