# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.67.0" name = "clipboard-rs" version = "0.2.2" authors = ["ChurchTao "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Cross-platform clipboard API (text | image | rich text | html | files | monitoring changes) | 跨平台剪贴板 API(文本|图片|富文本|html|文件|监听变化) Windows,MacOS,Linux" documentation = "https://docs.rs/clipboard-rs" readme = "README.md" keywords = ["clipboard"] license = "MIT" repository = "https://github.com/ChurchTao/clipboard-rs" [lib] name = "clipboard_rs" path = "src/lib.rs" [[example]] name = "buffer" path = "examples/buffer.rs" [[example]] name = "files" path = "examples/files.rs" [[example]] name = "helloworld" path = "examples/helloworld.rs" [[example]] name = "image" path = "examples/image.rs" [[example]] name = "multi" path = "examples/multi.rs" [[example]] name = "watch_change" path = "examples/watch_change.rs" [[test]] name = "file_test" path = "tests/file_test.rs" [[test]] name = "image_test" path = "tests/image_test.rs" [[test]] name = "string_test" path = "tests/string_test.rs" [dependencies.image] version = "0.25.4" features = [ "png", "jpeg", ] default-features = false [target.'cfg(all(unix, not(any(target_os="macos", target_os="android", target_os="ios", target_os="emscripten"))))'.dependencies.x11rb] version = "0.13.0" features = ["xfixes"] [target.'cfg(target_os = "macos")'.dependencies.image] version = "0.25.4" features = [ "tiff", "png", "jpeg", ] default-features = false [target.'cfg(target_os = "macos")'.dependencies.objc2] version = "0.5.2" [target.'cfg(target_os = "macos")'.dependencies.objc2-app-kit] version = "0.2.2" features = [ "NSPasteboard", "NSPasteboardItem", "NSImage", ] [target.'cfg(target_os = "macos")'.dependencies.objc2-foundation] version = "0.2.2" features = [ "NSArray", "NSString", "NSEnumerator", ] [target.'cfg(target_os = "windows")'.dependencies.clipboard-win] version = "5.4.0" features = ["monitor"] [target.'cfg(target_os = "windows")'.dependencies.image] version = "0.25.4" features = [ "bmp", "png", "jpeg", ] default-features = false