Skip to content

global-hotkey v0.5.0

Compare
Choose a tag to compare
@github-actions github-actions released this 06 Mar 19:10
89f9679

[0.5.0]

  • 7d99bd7(#61) Refactored the errors when parsing accelerator from string:

    • Added HotKeyParseError error enum.
    • Removed Error::UnrecognizedHotKeyCode enum variant
    • Removed Error::EmptyHotKeyToken enum variant
    • Removed Error::UnexpectedHotKeyFormat enum variant
    • Changed Error::HotKeyParseError inner value from String to the newly added HotKeyParseError enum.
  • 7d99bd7(#61) Avoid panicing when parsing an invalid HotKey from a string such as SHIFT+SHIFT and return an error instead.

Cargo Publish

Updating crates.io index
   Packaging global-hotkey v0.5.0 (/home/runner/work/global-hotkey/global-hotkey)
    Updating crates.io index
   Verifying global-hotkey v0.5.0 (/home/runner/work/global-hotkey/global-hotkey)
 Downloading crates ...
  Downloaded pkg-config v0.3.30
  Downloaded unicode-ident v1.0.12
  Downloaded proc-macro2 v1.0.78
  Downloaded serde v1.0.197
  Downloaded quote v1.0.35
  Downloaded x11-dl v2.21.0
  Downloaded crossbeam-channel v0.5.12
  Downloaded unicode-segmentation v1.11.0
  Downloaded syn v2.0.52
  Downloaded libc v0.2.153
  Downloaded crossbeam-utils v0.8.19
  Downloaded serde_derive v1.0.197
  Downloaded once_cell v1.19.0
  Downloaded bitflags v2.4.2
  Downloaded thiserror-impl v1.0.57
  Downloaded keyboard-types v0.7.0
  Downloaded thiserror v1.0.57
   Compiling proc-macro2 v1.0.78
   Compiling unicode-ident v1.0.12
   Compiling serde v1.0.197
   Compiling pkg-config v0.3.30
   Compiling libc v0.2.153
   Compiling crossbeam-utils v0.8.19
   Compiling thiserror v1.0.57
   Compiling x11-dl v2.21.0
   Compiling quote v1.0.35
   Compiling syn v2.0.52
   Compiling unicode-segmentation v1.11.0
   Compiling once_cell v1.19.0
   Compiling crossbeam-channel v0.5.12
   Compiling serde_derive v1.0.197
   Compiling thiserror-impl v1.0.57
   Compiling bitflags v2.4.2
   Compiling keyboard-types v0.7.0
   Compiling global-hotkey v0.5.0 (/home/runner/work/global-hotkey/global-hotkey/target/package/global-hotkey-0.5.0)
    Finished dev [unoptimized + debuginfo] target(s) in 9.48s
    Packaged 29 files, 193.6KiB (50.0KiB compressed)
   Uploading global-hotkey v0.5.0 (/home/runner/work/global-hotkey/global-hotkey)
    Uploaded global-hotkey v0.5.0 to registry `crates-io`
note: Waiting for `global-hotkey v0.5.0` to be available at registry `crates-io`.
You may press ctrl-c to skip waiting; the crate should be available shortly.
   Published global-hotkey v0.5.0 at registry `crates-io`