#service #windows #platform #operating-system #across #blocks #binaries

universal-service

A Rust crate that provides building blocks for creating service binaries across operating system platforms

1 unstable release

0.1.0 Jun 28, 2023

#693 in Operating systems

Download history 27/week @ 2024-01-11 64/week @ 2024-01-18 82/week @ 2024-01-25 62/week @ 2024-02-01 74/week @ 2024-02-08 88/week @ 2024-02-15 86/week @ 2024-02-22 106/week @ 2024-02-29 115/week @ 2024-03-07 205/week @ 2024-03-14 99/week @ 2024-03-21 82/week @ 2024-03-28 105/week @ 2024-04-04 71/week @ 2024-04-11 108/week @ 2024-04-18 138/week @ 2024-04-25

437 downloads per month

MIT license

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–33MB
~429K SLoC