[package] name = "nsinfo" version = "0.1.1" edition = "2021" license = "MIT" authors = ["AnActualEmerald"] description = "Northstar server status CLI utility" repository = "https://gitea.greenboi.me/GreenTF/nsinfo" readme = "README.md" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [package.metadata.deb] depends = "" section = "utilitiy" priority = "optional" assets = [ ["target/release/nsinfo", "usr/bin/", "755"] ] 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"}, {source = "scripts/nsinfo.service", dest = "/usr/lib/systemd/system/", mode = "644"} ] [features] default = ["server"] server = ["async-std", "handlebars", "tide"] [dependencies] async-std = {version = "1.12.0", optional = true} atty = "0.2.14" bunt = "0.2.6" clap = { version = "3.2.17" } directories = "4.0.1" handlebars = {version = "4.3.3", optional = true} notify = "5.0.0" regex = {version = "1.6.0", default-features = false, features = ["std", "unicode"]} serde = { version = "1.0.144", features = ["derive"] } serde_json = "1.0.85" sysinfo = "0.25.3" tide = {version = "0.16.0", optional = true } [profile.release] panic = "abort" lto = true opt-level = 'z' codegen-units = 1 strip = true