# 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 = "tari_metrics" version = "1.0.0-rc.5" authors = ["The Tari Development Community"] description = "Tari metrics" homepage = "https://tari.com" readme = "README.md" license = "BSD-3-Clause" repository = "https://github.com/tari-project/tari" [dependencies.anyhow] version = "1.0.53" optional = true [dependencies.futures] version = "0.3.15" optional = true default-features = false [dependencies.log] version = "0.4.14" optional = true [dependencies.once_cell] version = "1.8.0" [dependencies.prometheus] version = "0.13.0" [dependencies.reqwest] version = "0.11.4" optional = true default-features = false [dependencies.thiserror] version = "1.0.25" [dependencies.tokio] version = "1" features = [ "time", "rt-multi-thread", ] optional = true [dependencies.warp] version = "0.3.1" optional = true default-features = false [features] pull = ["warp"] push = [ "reqwest", "tokio", ] server = [ "pull", "push", "log", "anyhow", "futures", ]