https://github.com/lnicola/sd-notify
https://github.com/lnicola/sd-notify
hacktoberfest rust
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/lnicola/sd-notify
- Owner: lnicola
- License: apache-2.0
- Created: 2019-09-20T18:51:50.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2024-10-05T07:44:07.000Z (over 1 year ago)
- Last Synced: 2024-10-18T21:47:42.308Z (over 1 year ago)
- Topics: hacktoberfest, rust
- Language: Rust
- Homepage:
- Size: 43.9 KB
- Stars: 44
- Watchers: 4
- Forks: 6
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# `sd-notify`
[![Actions Status]][github actions] [![Latest Version]][crates.io] [![API docs]][docs.rs]
[Actions Status]: https://github.com/lnicola/sd-notify/workflows/ci/badge.svg
[github actions]: https://github.com/lnicola/sd-notify/actions
[Latest Version]: https://img.shields.io/crates/v/sd-notify.svg
[crates.io]: https://crates.io/crates/sd-notify
[API docs]: https://docs.rs/sd-notify/badge.svg
[docs.rs]: https://docs.rs/sd-notify/
A lightweight crate for sending `systemd` service state notifications.
## Quick start
```rust
let _ = sd_notify::notify(true, &[NotifyState::Ready]);
```
## Releases
Release notes are available in [CHANGELOG.md](CHANGELOG.md).
## License
This project is licensed under either of
* Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or
[http://www.apache.org/licenses/LICENSE-2.0][LICENSE-APACHE])
* MIT license ([LICENSE-MIT](LICENSE-MIT) or
[http://opensource.org/licenses/MIT][LICENSE-MIT])
at your option.
[LICENSE-APACHE]: http://www.apache.org/licenses/LICENSE-2.0
[LICENSE-MIT]: http://opensource.org/licenses/MIT