Crates.io | clipboard-win-html |
lib.rs | clipboard-win-html |
version | 0.2.0 |
source | src |
created_at | 2022-06-21 05:34:40.8347 |
updated_at | 2024-04-19 04:38:48.827024 |
description | Copy HTML to the Windows clipboard. |
homepage | https://github.com/AceofSpades5757/clipboard-win-html |
repository | https://github.com/AceofSpades5757/clipboard-win-html |
max_upload_size | |
id | 610000 |
size | 23,871 |
Copy HTML to Windows clipboard.
Add this line to your dependencies section of your Cargo.toml
file.
clipboard-win-html = "0.2"
Or you can add it from the command line.
cargo add clipboard-win-html
use clipboard_win_html::set_clipboard_html;
set_clipboard_html("<h1>Pure, valid, HTML.</h1>").unwrap();
Paste away.
If there are any features you would like added, found any potential bugs, or have any questions, then feel free to create an issue.
cargo test
Unittests are in the same file, next to the units they are testing (bottom). Integration tests are in /tests/
.
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.