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 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.

Type Definitions

  • Type signature of a service’s main function used by this library.