| 1 | [package] |
| 2 | name = "copypasta" |
| 3 | version = "0.10.1" |
| 4 | authors = ["Christian Duerr <contact@christianduerr.com>" ] |
| 5 | description = "copypasta is a cross-platform library for getting and setting the contents of the OS-level clipboard." |
| 6 | repository = "https://github.com/alacritty/copypasta" |
| 7 | documentation = "https://docs.rs/copypasta" |
| 8 | readme = "README.md" |
| 9 | license = "MIT / Apache-2.0" |
| 10 | keywords = ["clipboard" ] |
| 11 | exclude = ["/.travis.yml" ] |
| 12 | edition = "2021" |
| 13 | rust-version = "1.65.0" |
| 14 | |
| 15 | [features] |
| 16 | default = ["x11" , "wayland" ] |
| 17 | x11 = ["x11-clipboard" ] |
| 18 | wayland = ["smithay-clipboard" ] |
| 19 | |
| 20 | [target.'cfg(windows)'.dependencies] |
| 21 | clipboard-win = "3.0.2" |
| 22 | |
| 23 | [target.'cfg(target_os = "macos")'.dependencies] |
| 24 | objc = "0.2" |
| 25 | objc_id = "0.1" |
| 26 | objc-foundation = "0.1" |
| 27 | |
| 28 | [target.'cfg(all(unix, not(any(target_os="macos", target_os="android", target_os="ios", target_os="emscripten"))))'.dependencies] |
| 29 | x11-clipboard = { version = "0.9.1" , optional = true } |
| 30 | smithay-clipboard = { version = "0.7.0" , optional = true } |
| 31 | |