mirror of
https://github.com/rustdesk/rustdesk.git
synced 2024-12-03 03:19:27 +08:00
36d4baaa8e
1. wrong namings of NsPasteboard 2. wrap Pasteboard in Lazy Signed-off-by: ClSlaid <cailue@bupt.edu.cn>
35 lines
942 B
TOML
35 lines
942 B
TOML
[package]
|
|
name = "clipboard"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
build = "build.rs"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[build-dependencies]
|
|
cc = "1.0"
|
|
|
|
[dependencies]
|
|
thiserror = "1.0"
|
|
lazy_static = "1.4"
|
|
serde = "1.0"
|
|
serde_derive = "1.0"
|
|
hbb_common = { path = "../hbb_common" }
|
|
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"
|
|
once_cell = "1.18"
|
|
|
|
[target.'cfg(target_os = "linux")'.dependencies]
|
|
x11-clipboard = {git="https://github.com/clslaid/x11-clipboard", branch = "feat/store-batch"}
|
|
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"}
|