Revert "Replace clipboard with cli-clipboard"

This reverts commit 93421fd43f.
This commit is contained in:
ice_iix 2022-07-30 16:47:58 -07:00
parent 93421fd43f
commit 7f90ef96dd
3 changed files with 79 additions and 604 deletions

679
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -48,7 +48,7 @@ lazy_static = "1.4.0"
collision = "0.20.1"
rsa_public_encrypt_pkcs1 = "0.4.0"
structopt = "0.3.26"
cli-clipboard = "0.2.0"
clipboard = "0.5.0"
instant = "0.1.12"
dirs = "4.0.0"
# clippy = "*"

View File

@ -17,7 +17,7 @@ pub mod logo;
use crate::format;
use crate::render;
#[cfg(not(target_arch = "wasm32"))]
use cli_clipboard::{ClipboardContext, ClipboardProvider};
use clipboard::{ClipboardContext, ClipboardProvider};
use std::cell::{RefCell, RefMut};
use std::rc::{Rc, Weak};
use winit::event::VirtualKeyCode;