[package]
edition = "2021"
name = "drag"
version = "2.1.1"
authors = ["CrabNebula Ltd."]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Start a drag operation out of a window"
readme = false
license = "Apache-2.0 OR MIT"
[features]
serde = ["dep:serde"]
[lib]
name = "drag"
path = "src/lib.rs"
[dependencies.log]
version = "0.4"
[dependencies.raw-window-handle]
version = "0.6"
[dependencies.serde]
version = "1"
features = ["derive"]
optional = true
[dependencies.thiserror]
version = "2.0.18"
[dev-dependencies.tao]
version = "0.34.5"
[dev-dependencies.tauri]
version = "2"
default-features = false
[dev-dependencies.winit]
version = "0.30.5"
[dev-dependencies.wry]
version = "0.54.2"
[target.'cfg(any(target_os = "linux", target_os = "dragonfly", target_os = "freebsd", target_os = "openbsd", target_os = "netbsd"))'.dependencies.gdk]
version = "0.18.0"
[target.'cfg(any(target_os = "linux", target_os = "dragonfly", target_os = "freebsd", target_os = "openbsd", target_os = "netbsd"))'.dependencies.gdkx11]
version = "0.18.0"
[target.'cfg(any(target_os = "linux", target_os = "dragonfly", target_os = "freebsd", target_os = "openbsd", target_os = "netbsd"))'.dependencies.gtk]
version = "0.18.1"
[target.'cfg(target_os = "macos")'.dependencies.core-graphics]
version = "0.24.0"
[target.'cfg(target_os = "macos")'.dependencies.objc2]
version = "0.6.4"
[target.'cfg(target_os = "macos")'.dependencies.objc2-app-kit]
version = "0.3"
features = [
"std",
"NSEvent",
"NSImage",
"NSPasteboard",
"NSDragging",
"NSDraggingItem",
"NSDraggingSession",
"NSView",
"NSWindow",
"NSApplication",
]
[target.'cfg(target_os = "macos")'.dependencies.objc2-foundation]
version = "0.3"
features = [
"std",
"NSGeometry",
"NSString",
"NSURL",
"NSData",
"NSArray",
"NSDictionary",
"NSEnumerator",
"NSObject",
]
[target.'cfg(target_os = "windows")'.dependencies.dunce]
version = "1.0.5"
[target.'cfg(target_os = "windows")'.dependencies.windows]
version = "0.52"
features = [
"implement",
"Win32_Foundation",
"Win32_Graphics_Gdi",
"Win32_System_Com",
"Win32_System_Com_StructuredStorage",
"Win32_System_Ole",
"Win32_System_Memory",
"Win32_System_SystemServices",
"Win32_UI_Shell",
"Win32_UI_Shell_Common",
"Win32_UI_WindowsAndMessaging",
"Win32_Graphics_Imaging",
"Win32_Graphics_Gdi",
]
[target.'cfg(target_os = "windows")'.dependencies.windows-core]
version = "0.58"