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/json
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2021-10-31 13:54:12 +0300
committerSebastian Dröge <sebastian@centricular.com>2021-10-31 18:40:05 +0300
commit0a7d1639e7b33d0bd941997bb88762c35473f0d4 (patch)
tree375d883100bc8e377c6551d1fb32625677923cc4 /text/json
parent5ae1f721620e38acb6cf2569e2129b39b2282a7e (diff)
Update to Rust edition 2021 and minimum supported Rust version to 1.56
Diffstat (limited to 'text/json')
-rw-r--r--text/json/Cargo.toml3
-rw-r--r--text/json/src/jsongstparse/imp.rs1
2 files changed, 2 insertions, 2 deletions
diff --git a/text/json/Cargo.toml b/text/json/Cargo.toml
index 8107327b..e57b9aaa 100644
--- a/text/json/Cargo.toml
+++ b/text/json/Cargo.toml
@@ -3,7 +3,8 @@ name = "gst-plugin-json"
version = "0.8.0"
authors = ["Mathieu Duponchelle <mathieu@centricular.com>"]
license = "LGPL-2.1-or-later"
-edition = "2018"
+edition = "2021"
+rust-version = "1.56"
description = "Rust JSON Plugin"
repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs"
diff --git a/text/json/src/jsongstparse/imp.rs b/text/json/src/jsongstparse/imp.rs
index 084deeda..76cb16dd 100644
--- a/text/json/src/jsongstparse/imp.rs
+++ b/text/json/src/jsongstparse/imp.rs
@@ -23,7 +23,6 @@ use gst::{gst_debug, gst_error, gst_info, gst_log, gst_trace, gst_warning};
use once_cell::sync::Lazy;
use std::cmp;
-use std::convert::TryInto;
use std::sync::{Mutex, MutexGuard};
use serde::Deserialize;