From 602c2588dcf51b980d12c6cd897ecbd5ff2bd67e Mon Sep 17 00:00:00 2001 From: Jordan Petridis Date: Wed, 24 Aug 2022 22:33:49 +0300 Subject: [PATCH] text/json: hard depend on ser_de feature of gst crate It's a hard dep instead a feature that can be disabled. It was working with default features, but it was failing to build with --no-default-features --- text/json/Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/text/json/Cargo.toml b/text/json/Cargo.toml index e0f0202c..40cd84e7 100644 --- a/text/json/Cargo.toml +++ b/text/json/Cargo.toml @@ -16,6 +16,7 @@ serde_json = { version = "1.0", features = ["raw_value"] } [dependencies.gst] git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" package="gstreamer" +features=["ser_de"] [lib] name = "gstrsjson" @@ -30,8 +31,7 @@ git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" package="gstreamer-check" [features] -default = ["gst/ser_de"] -static = ["default"] +static = [] capi = [] doc = ["gst/v1_18"]