diff options
author | Bilal Elmoussaoui <belmouss@redhat.com> | 2023-07-06 16:43:37 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2023-07-06 17:50:49 +0300 |
commit | dd2d7d9215494cdaac4a361b9fea8fdf01742153 (patch) | |
tree | ee335254ac492f376dbc71abb5d267b5c8f16ac6 /text/json | |
parent | 2cc98bf410f687a1779edb86dd259f377cca1c7b (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.toml | 1 | ||||
-rw-r--r-- | text/json/src/jsongstenc/imp.rs | 2 | ||||
-rw-r--r-- | text/json/src/jsongstparse/imp.rs | 2 |
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}; |