Expand description
§windows-services
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();Structs§
- Extended
Command - A command not specifically covered by the
Commandenum. - Service
- Configures and runs a Windows service.