[package]
name = "spirit"
version = "0.4.17"
authors = ["Michal 'vorner' Vaner <vorner@vorner.cz>"]
description = "Helper to create well behaved daemons with runtime-reconfiguration support"
documentation = "https://docs.rs/spirit"
repository = "https://github.com/vorner/spirit"
readme = "README.md"
categories = ["command-line-interface", "config"]
keywords = ["unix", "daemon", "service", "configuration", "spirit"]
license = "Apache-2.0 OR MIT"
edition = "2018"
include = [
"Cargo.toml",
"README.md",
"src/**",
]
[workspace]
members = [
"./",
"spirit-cfg-helpers",
"spirit-daemonize",
"spirit-dipstick",
"spirit-hyper",
"spirit-log",
"spirit-reqwest",
"spirit-tokio",
]
[badges]
travis-ci = { repository = "vorner/spirit" }
maintenance = { status = "passively-maintained" }
[features]
default = ["cfg-help", "json", "yaml", "suggestions", "color"]
ini = ["config/ini"]
json = ["config/json"]
hjson = ["config/hjson"]
yaml = ["config/yaml"]
cfg-help = ["structdoc"]
suggestions = ["structopt/suggestions"]
color = ["structopt/color"]
[dependencies]
arc-swap = "~1"
config = { version = "~0.10.1", default-features = false, features = ["toml"] }
either = "~1"
err-context = "~0.1"
fallible-iterator = "~0.2"
humantime = "~2"
libc = "~0.2"
log = "~0.4"
serde = { version = "~1", features = ["derive"] }
serde_ignored = { version = "~0.1.0" }
serde_path_to_error = "~0.1"
signal-hook = { version = "^0.3.3", features = ["extended-siginfo"] }
structdoc = { version = "~0.1.3", optional = true }
structopt = { version = "~0.3.12", default-features = false }
toml = "~0.5"
[dev-dependencies]
hyper = "~0.14"
once_cell = "~1"
maplit = "~1"
spirit-cfg-helpers = { version = "~0.4", path = "spirit-cfg-helpers" }
spirit-daemonize = { version = "~0.5", path = "spirit-daemonize" }
spirit-hyper = { version = "~0.9", path = "spirit-hyper" }
spirit-log = { version = "~0.4", path = "spirit-log", features = ["background"] }
spirit-tokio = { version = "~0.9", path = "spirit-tokio", features = ["rt-from-cfg"] }
structdoc = "~0.1.3"
tokio = { version = "1", features = ["sync"] }
[profile.dev]
debug = false
[profile.test]
debug = false
[package.metadata.docs.rs]
all-features = true