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

gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/text/json
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/json
parent2cc98bf410f687a1779edb86dd259f377cca1c7b (diff)
Use re-exported once_cell
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1268>
Diffstat (limited to 'text/json')
-rw-r--r--text/json/Cargo.toml1
-rw-r--r--text/json/src/jsongstenc/imp.rs2
-rw-r--r--text/json/src/jsongstparse/imp.rs2
3 files changed, 2 insertions, 3 deletions
diff --git a/text/json/Cargo.toml b/text/json/Cargo.toml
index 27b273fa3..00f4af3ff 100644
--- a/text/json/Cargo.toml
+++ b/text/json/Cargo.toml
@@ -9,7 +9,6 @@ description = "GStreamer JSON Plugin"
repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs"
[dependencies]
-once_cell = "1.0"
serde = { version = "1.0", features = ["derive"] }
serde_json = { version = "1.0", features = ["raw_value"] }
diff --git a/text/json/src/jsongstenc/imp.rs b/text/json/src/jsongstenc/imp.rs
index 42e870215..a0c25255f 100644
--- a/text/json/src/jsongstenc/imp.rs
+++ b/text/json/src/jsongstenc/imp.rs
@@ -10,7 +10,7 @@ use gst::glib;
use gst::prelude::*;
use gst::subclass::prelude::*;
-use once_cell::sync::Lazy;
+use gst::glib::once_cell::sync::Lazy;
use std::sync::Mutex;
diff --git a/text/json/src/jsongstparse/imp.rs b/text/json/src/jsongstparse/imp.rs
index b15bb739f..0d48277b8 100644
--- a/text/json/src/jsongstparse/imp.rs
+++ b/text/json/src/jsongstparse/imp.rs
@@ -10,7 +10,7 @@ use gst::glib;
use gst::prelude::*;
use gst::subclass::prelude::*;
-use once_cell::sync::Lazy;
+use gst::glib::once_cell::sync::Lazy;
use std::cmp;
use std::sync::{Mutex, MutexGuard};