# 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 = "nsinfo" version = "0.1.1" authors = ["AnActualEmerald"] description = "Northstar server status CLI utility" readme = "README.md" license = "MIT" repository = "https://gitea.greenboi.me/GreenTF/nsinfo" [package.metadata.deb] depends = "" section = "utilitiy" priority = "optional" assets = [[ "target/release/nsinfo", "usr/bin/", "755", ]] [package.metadata.deb.systemd-units] unit-scripts = "scripts/" start = false restart-after-upgrade = true [[package.metadata.generate-rpm.assets]] source = "target/release/nsinfo" dest = "/usr/bin/" mode = "755" [[package.metadata.generate-rpm.assets]] source = "scripts/nsinfo.service" dest = "/usr/lib/systemd/system/" mode = "644" [profile.release] opt-level = "z" lto = true codegen-units = 1 panic = "abort" strip = true [dependencies.async-std] version = "1.12.0" optional = true [dependencies.atty] version = "0.2.14" [dependencies.bunt] version = "0.2.6" [dependencies.clap] version = "3.2.17" [dependencies.directories] version = "4.0.1" [dependencies.handlebars] version = "4.3.3" optional = true [dependencies.notify] version = "5.0.0" [dependencies.regex] version = "1.6.0" features = [ "std", "unicode", ] default-features = false [dependencies.serde] version = "1.0.144" features = ["derive"] [dependencies.serde_json] version = "1.0.85" [dependencies.sysinfo] version = "0.25.3" [dependencies.tide] version = "0.16.0" optional = true [features] default = ["server"] server = [ "async-std", "handlebars", "tide", ]