Expand description
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.
Functions§
- run_
simple_ nonservice - Run a ServiceMain function as a simple foreground process. Instead of registering as a service, this runs the function with just a signal handler that sends to the shutdown receiver.
- universal_
service_ main
Type Aliases§
- Service
Main - Type signature of a service’s main function used by this library.