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
This commit is contained in:
Jordan Petridis 2022-08-24 22:33:49 +03:00 committed by Sebastian Dröge
parent 1a40186485
commit 602c2588dc

View file

@ -16,6 +16,7 @@ serde_json = { version = "1.0", features = ["raw_value"] }
[dependencies.gst] [dependencies.gst]
git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs"
package="gstreamer" package="gstreamer"
features=["ser_de"]
[lib] [lib]
name = "gstrsjson" name = "gstrsjson"
@ -30,8 +31,7 @@ git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs"
package="gstreamer-check" package="gstreamer-check"
[features] [features]
default = ["gst/ser_de"] static = []
static = ["default"]
capi = [] capi = []
doc = ["gst/v1_18"] doc = ["gst/v1_18"]