windows-services
The windows-services crate implements Windows service processes.
Start by adding the following to your Cargo.toml file:
[]
= "0.100"
new
.can_pause
.can_stop
.run
.unwrap;
The windows-services crate implements Windows service processes.
Start by adding the following to your Cargo.toml file:
[dependencies.windows-services]
version = "0.100"
windows_services::Service::new()
.can_pause()
.can_stop()
.run(|_service, _command| {})
.unwrap();