#unix #daemon #service #configuration #spirit

spirit

Helper to create well behaved daemons with runtime-reconfiguration support

39 releases

0.4.16 Feb 9, 2021
0.4.11 Dec 16, 2020
0.4.10 Nov 30, 2020
0.4.4 Jul 20, 2020
0.2.6 Nov 10, 2018

#16 in Configuration

Download history 86/week @ 2021-04-02 15/week @ 2021-04-09 134/week @ 2021-04-16 28/week @ 2021-04-23 59/week @ 2021-04-30 9/week @ 2021-05-07 48/week @ 2021-05-14 56/week @ 2021-05-21 12/week @ 2021-05-28 12/week @ 2021-06-04 51/week @ 2021-06-11 9/week @ 2021-06-18 14/week @ 2021-06-25 33/week @ 2021-07-02 15/week @ 2021-07-09 55/week @ 2021-07-16

247 downloads per month
Used in 8 crates (7 directly)

Apache-2.0 OR MIT

285KB
3K SLoC

Spirit

Actions Status codecov docs

Looking for contributors and maintainers

This library is too big project for me do in my spare time and I don't have a direct use case for it now. See this blog post.

If you want this library to thrive, roll up your sleeves and help. Send PRs, help reviewing, etc. I'll still be willing fixing serious bugs, doing reviews and consulting.

Alternatively, I may accept payment to do some development on it.

The library

Spirit aims to help with combining configuration and command line parsing, reloading it at runtime and provides various ready-made helpers for common parts of configuration like logging.

In other words, it cuts down on glue code between many different libraries and makes writing unix daemons easier.

License

Licensed under either of

at your option.

Contribution

Contributions are welcome. If you want to add another helper, or just want to solve some of the issues, feel free. Some mentoring would also available ‒ contact me either on the rust gitter or over email.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~3.5–5MB
~97K SLoC