[package] name = "istamon" version = "0.1.0" authors = ["Lu Fennell "] edition = "2018" description = "Simple Desktop application and cli to display the service and host states of an Icinga instance." license = "MIT" repository = "https://gitlab.com/lu-fennell/istamon" keywords = ["icinga", "monitoring", "gui"] [dependencies] directories = "3.0" chrono = "0.4.19" serde = "1.0.125" serde_json = "1.0.64" structopt = "0.3.25" clap = { version = "2", optional = true } zbus = "1.9.2" toml = "0.5.8" url = { version = "2.1.1", features = ["serde"] } icinga-client = { path = "../icinga-client", version = "0.6.0" } # gui only cstr = { version = "0.2.9", optional = true } istamon-qml-extras = { path = "../istamon-qml-extras", version = "0.1.0", optional = true } qmetaobject = { version = "0.2.5", optional = true } # cli-only rpassword = { version = "5.0.1", optional = true } [dev-dependencies] pretty_assertions = "1.0.0" icinga-mock = { path = "../icinga-mock", version = "0.1.0" } [features] default = ["gui", "cli"] gui = ["cstr", "istamon-qml-extras", "qmetaobject"] cli = ["rpassword", ] load-qml-from-cwd = [] [[bin]] name = "istamon-cli" path = "./src/istamon-cli-main.rs" required-features = [ "cli" ] [[bin]] name = "istamon" path = "./src/istamon-main.rs" required-features = [ "gui" ]