1 unstable release
0.1.0 | Jun 28, 2023 |
---|
#736 in Operating systems
499 downloads per month
15KB
213 lines
universal-service-rs
The universal-service
crate provides building blocks for creating service binaries across operating system platforms.
Example
See examples/service.rs
for a fully functional demo service:
cargo build --example service
On Windows, you can demonstrate the native Windows Service integration by running (as Administrator):
.\example-service-test.ps1
lib.rs
:
universal-service
is a Rust crate that provides utilities for building services that
can run across multiple platforms.
For Windows users, this library provides support for running services under the Windows Service manager directly, rather than requiring Scheduled Tasks hacks or NSSM.
Dependencies
~2–27MB
~387K SLoC