# 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 = "stat_client" version = "1.8.1" authors = ["doge "] description = "A simple server monitoring tool" homepage = "https://github.com/zdz/ServerStatus-Rust" readme = "README.md" keywords = [ "stat_client", "serverstatus", "monitor", ] categories = ["monitoring-tools"] license = "Apache-2.0" repository = "https://github.com/zdz/ServerStatus-Rust" [package.metadata.deb] assets = [ [ "target/release/stat_client", "/opt/ServerStatus/", "755", ], [ "../systemd/stat_client.service", "/opt/ServerStatus/stat_client.service", "644", ], ] copyright = "2021-present, zdz " extended-description = "A simple server monitoring tool" license-file = [ "../LICENSE", "4", ] maintainer = "zdz " priority = "optional" section = "utility" [[package.metadata.generate-rpm.assets]] dest = "/opt/ServerStatus/stat_client" mode = "0755" source = "target/release/stat_client" [[package.metadata.generate-rpm.assets]] dest = "/usr/share/doc/ServerStatus/LICENSE" doc = true mode = "0644" source = "LICENSE" [[package.metadata.generate-rpm.assets]] config = true dest = "/opt/ServerStatus/stat_client.service" mode = "0644" source = "../systemd/stat_client.service" [dependencies.anyhow] version = "1" [dependencies.bytes] version = "1" features = ["serde"] [dependencies.chrono] version = "0.4" [dependencies.clap] version = "4.5" features = [ "derive", "unicode", "env", ] [dependencies.fastrand] version = "2.0.1" [dependencies.hyper] version = "1.2" features = ["full"] [dependencies.lazy_static] version = "1.4" [dependencies.log] version = "0.4" [dependencies.md5] version = "0.7.0" [dependencies.once_cell] version = "1" [dependencies.pretty_env_logger] version = "0.5" [dependencies.prettytable-rs] version = "^0.10" [dependencies.prost] version = "0.12" [dependencies.regex] version = "1.10" [dependencies.reqwest] version = "0.11" features = [ "json", "rustls-tls", "brotli", "gzip", "deflate", "stream", "socks", ] default-features = false [dependencies.rustls] version = "0.23" default-features = false [dependencies.rustls-pemfile] version = "2" [dependencies.serde] version = "1.0" features = [ "derive", "alloc", ] default-features = false [dependencies.serde_json] version = "1.0" features = ["alloc"] default-features = false [dependencies.stat_common] version = "1.1.4" [dependencies.sysinfo] version = "0.30.7" [dependencies.tokio] version = "1" features = ["full"] [dependencies.tokio-rustls] version = "0.25" [dependencies.tonic] version = "0.11" features = [ "tls", "tls-webpki-roots", "gzip", ] [dependencies.tower] version = "0.4" [dependencies.url] version = "2.5.0" [dependencies.webpki-roots] version = "0.26" [build-dependencies.chrono] version = "0.4" [features] default = ["sysinfo"] native = [] sysinfo = []