Skip to content

v0.3.0

Compare
Choose a tag to compare
@pronebird pronebird released this 18 Jun 14:59
v0.3.0
574a6b8

Added

  • Add support for configuring the service SID info.
  • Add support for changing mandatory configuration settings on service.
  • Add support for service failure actions. (See: ServiceFailureActions,
    Service::update_failure_actions, Service::get_failure_actions,
    Service::set_failure_actions_on_non_crash_failures,
    Service::get_failure_actions_on_non_crash_failures)
  • Add support to pause and continue services. (See: Service::pause and Service::resume)
  • Use QueryServiceStatusEx when querying service status. Allows getting the process ID of a
    running service

Changed

  • Bumped the MSRV to 1.34, because of err-derive upgrade which depend on quote, to use
    Duration::as_millis() and the TryFrom trait.
  • Breaking: ServiceManager::create_service() now expects a borrowed ServiceInfo argument.