winpty-rs-windows-services

Crates.iowinpty-rs-windows-services
lib.rswinpty-rs-windows-services
version0.24.0
created_at2025-08-04 20:51:59.871779+00
updated_at2025-08-04 20:51:59.871779+00
descriptionWindows services
homepage
repositoryhttps://github.com/microsoft/windows-rs
max_upload_size
id1781153
size24,475
Edgar Andrés Margffoy Tuay (andfoy)

documentation

README

Windows services

The windows-services crate provides a simple and safe way to implement Windows services in Rust.

Start by adding the following to your Cargo.toml file:

[dependencies.winpty-rs-windows-services]
version = "0.24"

Use the Windows services support as needed. Here is how you might write a simple Windows services process:

fn main() {
    winpty_rs_windows_services::Service::new()
        .can_pause()
        .can_stop()
        .run(|command| {
            // Respond to service commands...
        })
}
Commit count: 1734

cargo fmt