Replaced crate "clipboard" by "copypasta"

The crate clipboard is not maintained anymore and has a dependency with
multiple security issues.
This commit is contained in:
Laurent Dufresne 2023-03-08 17:52:22 +01:00
parent 9ff2eabf29
commit 27f7d2fa57
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ license = "MIT/Apache-2.0"
publish = false
[dev-dependencies]
clipboard = "0.5"
copypasta = "0.8"
glium = { version = "0.32.1", default-features = true }
image = "0.23"
imgui = { path = "../imgui", features = ["tables-api"] }

View File

@ -1,4 +1,4 @@
use clipboard::{ClipboardContext, ClipboardProvider};
use copypasta::{ClipboardContext, ClipboardProvider};
use imgui::ClipboardBackend;
pub struct ClipboardSupport(pub ClipboardContext);