gstreamer: Properly enable the serde/derive feature and remove the corresponding dependency

It was coincidentally enabled during the normal builds via the
dev-dependencies but it would fail otherwise.
This commit is contained in:
Sebastian Dröge 2021-01-27 18:54:09 +02:00
parent 0e8b95f1d0
commit 4bfa11aec5

View file

@ -27,7 +27,6 @@ futures-util = { version = "0.3", default-features = false }
muldiv = "1"
serde = { version = "1.0", optional = true }
serde_bytes = { version = "0.11", optional = true }
serde_derive = { version = "1.0", optional = true }
paste = "1.0"
pretty-hex = "0.2"
thiserror = "1"
@ -52,7 +51,7 @@ v1_20 = ["ffi/v1_20", "v1_18"]
embed-lgpl-docs = ["gstreamer-rs-lgpl-docs"]
purge-lgpl-docs = ["gstreamer-rs-lgpl-docs"]
dox = ["v1_20", "ffi/dox", "glib/dox", "ser_de"]
ser_de = ["num-rational/serde", "serde", "serde_bytes", "serde_derive"]
ser_de = ["num-rational/serde", "serde", "serde_bytes", "serde/derive"]
[package.metadata.docs.rs]
features = ["dox", "embed-lgpl-docs"]