2022-02-14 12:34:09 +03:00
[ package ]
name = "clipboard"
version = "0.1.0"
edition = "2021"
2023-08-24 17:34:12 +03:00
build = "build.rs"
2022-02-14 12:34:09 +03:00
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[ build-dependencies ]
cc = "1.0"
2023-10-29 14:50:31 +03:00
[ features ]
2023-10-30 10:09:39 +03:00
default = [ ]
2023-10-29 14:50:31 +03:00
unix-file-copy-paste = [
"dep:x11rb" ,
"dep:x11-clipboard" ,
"dep:rand" ,
"dep:fuser" ,
"dep:libc" ,
"dep:dashmap" ,
"dep:percent-encoding" ,
2023-10-29 15:10:39 +03:00
"dep:utf16string" ,
2023-10-30 10:26:03 +03:00
"dep:once_cell" ,
"dep:cacao"
2023-10-29 14:50:31 +03:00
]
2022-02-14 12:34:09 +03:00
[ dependencies ]
2023-05-11 07:04:38 +03:00
thiserror = "1.0"
2022-02-14 12:34:09 +03:00
lazy_static = "1.4"
2022-02-22 09:17:50 +03:00
serde = "1.0"
serde_derive = "1.0"
2022-02-14 12:34:09 +03:00
hbb_common = { path = "../hbb_common" }
2023-09-04 10:38:53 +03:00
parking_lot = { version = "0.12" }
[ target . 'cfg(any(target_os = "linux", target_os = "macos"))' . dependencies ]
2023-10-29 14:50:31 +03:00
rand = { version = "0.8" , optional = true }
fuser = { version = "0.13" , optional = true }
libc = { version = "0.2" , optional = true }
dashmap = { version = "5.5" , optional = true }
utf16string = { version = "0.2" , optional = true }
2023-10-30 10:26:03 +03:00
once_cell = { version = "1.18" , optional = true }
2023-10-28 21:15:16 +03:00
[ target . 'cfg(target_os = "linux")' . dependencies ]
2023-10-30 10:26:03 +03:00
percent-encoding = { version = "2.3" , optional = true }
2023-10-29 14:50:31 +03:00
x11-clipboard = { git = "https://github.com/clslaid/x11-clipboard" , branch = "feat/store-batch" , optional = true }
2023-10-30 10:26:03 +03:00
x11rb = { version = "0.12" , features = [ "all-extensions" ] , optional = true }
2023-10-28 21:15:16 +03:00
[ target . 'cfg(target_os = "macos")' . dependencies ]
2023-10-30 10:26:03 +03:00
cacao = { git = "https://github.com/clslaid/cacao" , branch = "feat/set-file-urls" , optional = true }