[package]
edition = "2021"
rust-version = "1.95"
name = "scrybe-widgets"
version = "2.2.0"
authors = ["Mathews Tom"]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Native macOS recording indicators: the floating panel, the global hotkey, and the status-bar rendering."
homepage = "https://github.com/Mathews-Tom/scrybe"
readme = false
license = "Apache-2.0"
repository = "https://github.com/Mathews-Tom/scrybe"
[lib]
name = "scrybe_widgets"
path = "src/lib.rs"
[dependencies.anyhow]
version = "1"
[dependencies.crossbeam-channel]
version = "0.5"
[dependencies.global-hotkey]
version = "0.7"
[dependencies.keyboard-types]
version = "0.8"
[target.'cfg(target_os = "macos")'.dependencies.objc2]
version = "0.6"
[target.'cfg(target_os = "macos")'.dependencies.objc2-app-kit]
version = "0.3"
features = [
"std",
"NSAccessibility",
"NSApplication",
"NSAccessibilityProtocols",
"NSAppearance",
"NSButton",
"NSBox",
"NSButtonCell",
"NSColor",
"NSControl",
"NSEvent",
"NSGraphics",
"NSResponder",
"NSPanel",
"NSScreen",
"NSText",
"NSTextField",
"NSView",
"NSWindow",
"NSWorkspace",
"NSRunningApplication",
"NSCell",
"NSImage",
"objc2-core-foundation",
]
default-features = false
[target.'cfg(target_os = "macos")'.dependencies.objc2-foundation]
version = "0.3"
features = [
"std",
"NSArray",
"NSDate",
"NSDictionary",
"NSObject",
"NSObjCRuntime",
"NSRunLoop",
"NSString",
"NSValue",
"NSGeometry",
]
default-features = false
[lints.clippy]
expect_used = "warn"
panic = "warn"
unwrap_used = "warn"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "deny"