chore(deps): bump copypasta-ext from 0.3.9 to 0.4.1 (#65)

* chore(deps): bump copypasta-ext from 0.3.9 to 0.4.1

Bumps [copypasta-ext](https://gitlab.com/timvisee/copypasta-ext) from 0.3.9 to 0.4.1.
- [Release notes](https://gitlab.com/timvisee/copypasta-ext/tags)
- [Commits](https://gitlab.com/timvisee/copypasta-ext/compare/v0.3.9...v0.4.1)

---
updated-dependencies:
- dependency-name: copypasta-ext
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix(deps): use ClipboardProviderExt for clipboard context

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>
This commit is contained in:
dependabot[bot] 2023-01-28 18:54:02 +01:00 committed by GitHub
parent f3e0361907
commit 890a51a687
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

4
Cargo.lock generated
View file

@ -127,9 +127,9 @@ dependencies = [
[[package]]
name = "copypasta-ext"
version = "0.3.9"
version = "0.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "af4c1c3f959cd8047b935d503c30e8bdfc9f7539493962ec3e45b9f0d305cbcc"
checksum = "056ee5d5413725e9fc2ae2d5a0f4689e1a6ff9fd81ae45c53563b63cd5174391"
dependencies = [
"copypasta",
"libc",

View file

@ -22,7 +22,7 @@ termion = "2.0.1"
unicode-width = "0.1.10"
thiserror = "1.0.38"
getopts = "0.2.21"
copypasta-ext = { version = "0.3.7", optional = true }
copypasta-ext = { version = "0.4.1", optional = true }
colorsys = "0.6.7"
[dependencies.systeroid-core]

View file

@ -3,7 +3,7 @@ use crate::error::Result;
use crate::options::{CopyOption, Direction, ScrollArea};
use crate::widgets::SelectableList;
#[cfg(feature = "clipboard")]
use copypasta_ext::{display::DisplayServer, prelude::ClipboardProvider};
use copypasta_ext::{display::DisplayServer, ClipboardProviderExt};
use std::str::FromStr;
use std::time::Instant;
use systeroid_core::sysctl::controller::Sysctl;
@ -133,7 +133,7 @@ pub struct App<'a> {
pub key_bindings: SelectableList<&'a KeyBinding<'a>>,
#[cfg(feature = "clipboard")]
/// Clipboard context.
clipboard: Option<Box<dyn ClipboardProvider>>,
clipboard: Option<Box<dyn ClipboardProviderExt>>,
/// Sysctl controller.
sysctl: &'a mut Sysctl,
}