Skip to content

v0.7.0

@linus-mullvad linus-mullvad tagged this 16 Apr 08:14
Added
- Breaking: Add support for user-defined control codes in services.
  (See: `Service::notify` and `notify_service.rs` example). This is breaking since
  the `ServiceControl` enum was exhaustive in version 0.6.0.
- Breaking: Add support for `LidSwitchStateChange` in `PowerBroadcastSetting`. This is breaking
  since `PowerBroadcastSetting` was an exhaustive enum in version 0.6.0.
- Breaking: Add support for `SERVICE_SYSTEM_START` and `SERVICE_BOOT_START` in service
  start type. This is breaking since the `ServiceStartType` enum is exhaustive.
- Add function for obtaining service SID infos. (See: `Service::get_config_service_sid_info`).

Changed
- Breaking: Make a bunch of enums `#[non_exhaustive]`: `Error`, `PowerBroadcastSetting`,
  `PowerEventParam` and `ServiceControl`.
- Breaking: Upgrade `windows-sys` dependency to 0.52
Assets 2
Loading