Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sdroege/gst-plugin-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/text/wrap
diff options
context:
space:
mode:
authorBilal Elmoussaoui <belmouss@redhat.com>2023-07-06 16:43:37 +0300
committerSebastian Dröge <sebastian@centricular.com>2023-07-06 17:50:49 +0300
commitdd2d7d9215494cdaac4a361b9fea8fdf01742153 (patch)
treeee335254ac492f376dbc71abb5d267b5c8f16ac6 /text/wrap
parent2cc98bf410f687a1779edb86dd259f377cca1c7b (diff)
Use re-exported once_cell
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1268>
Diffstat (limited to 'text/wrap')
-rw-r--r--text/wrap/Cargo.toml1
-rw-r--r--text/wrap/src/gsttextwrap/imp.rs2
2 files changed, 1 insertions, 2 deletions
diff --git a/text/wrap/Cargo.toml b/text/wrap/Cargo.toml
index cb762271..e40d5a01 100644
--- a/text/wrap/Cargo.toml
+++ b/text/wrap/Cargo.toml
@@ -9,7 +9,6 @@ description = "GStreamer Text Wrap Plugin"
repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs"
[dependencies]
-once_cell = "1.0"
textwrap = { version = "0.16", features = ["hyphenation"] }
hyphenation = "0.8"
diff --git a/text/wrap/src/gsttextwrap/imp.rs b/text/wrap/src/gsttextwrap/imp.rs
index de98e2b8..685ca424 100644
--- a/text/wrap/src/gsttextwrap/imp.rs
+++ b/text/wrap/src/gsttextwrap/imp.rs
@@ -16,7 +16,7 @@ use std::io;
use std::mem;
use std::sync::Mutex;
-use once_cell::sync::Lazy;
+use gst::glib::once_cell::sync::Lazy;
use hyphenation::{Load, Standard};