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