use arboard::Clipboard; use std::{thread, time::Duration}; fn main() { env_logger::init(); let mut ctx = Clipboard::new().unwrap(); let html = r#"

Hello, World!

Lorem ipsum dolor sit amet,
consectetur adipiscing elit."#; let alt_text = r#"Hello, World! Lorem ipsum dolor sit amet, consectetur adipiscing elit."#; ctx.set_html(html, Some(alt_text)).unwrap(); thread::sleep(Duration::from_secs(5)); }