# 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" rust-version = "1.76" name = "iroh-metrics" version = "0.28.0" authors = [ "arqu ", "n0 team", ] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "metrics for iroh" readme = "README.md" license = "MIT OR Apache-2.0" repository = "https://github.com/n0-computer/iroh" [package.metadata.docs.rs] all-features = true [lib] name = "iroh_metrics" path = "src/lib.rs" [dependencies.anyhow] version = "1" [dependencies.erased_set] version = "0.7" [dependencies.http-body-util] version = "0.1.0" [dependencies.hyper] version = "1" features = [ "server", "http1", ] [dependencies.hyper-util] version = "0.1.1" features = ["tokio"] [dependencies.once_cell] version = "1.17.0" [dependencies.prometheus-client] version = "0.22" optional = true [dependencies.reqwest] version = "0.12" features = [ "json", "rustls-tls", ] default-features = false [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.struct_iterable] version = "0.1" [dependencies.time] version = "0.3.21" features = ["serde-well-known"] [dependencies.tokio] version = "1" features = [ "rt", "net", "fs", ] [dependencies.tracing] version = "0.1" [dev-dependencies.tokio] version = "1" features = [ "io-util", "sync", "rt", "net", "fs", "macros", "time", "test-util", ] [features] default = ["metrics"] metrics = ["prometheus-client"] [lints.clippy] unused-async = "warn" [lints.rust] missing_debug_implementations = "warn" [lints.rust.unexpected_cfgs] level = "warn" priority = 0 check-cfg = ["cfg(iroh_docsrs)"]