[package] name = "key_pressed" version = "0.1.0" edition = "2021" description = "Detect if a key is pressed at the moment for macOS" license = "MIT" [lib] crate-type = ["cdylib"] [dependencies] [target.'cfg(target_os = "macos")'.build-dependencies] objc = "0.2.7" [target.'cfg(target_os = "macos")'.link-args] framework = "CoreGraphics"