From 534dcf3110ca245aff7c7ade49d6a324bf3a83ee Mon Sep 17 00:00:00 2001 From: Marijn Suijten Date: Tue, 23 Mar 2021 22:20:23 +0100 Subject: [PATCH] gstreamer-controller: Update from rustdoc-stripper to lgpl_docs This crate was added right around the same date the conversion to the `lgpl_docs` crate took place in 801998c7 ("Generate documentation from the docs crate directly") and hence likely missed out. Fixes: 4120ded4 ("Add gstreamer-controller") --- gstreamer-controller/Cargo.toml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/gstreamer-controller/Cargo.toml b/gstreamer-controller/Cargo.toml index e1b42ad69..51eee40a0 100644 --- a/gstreamer-controller/Cargo.toml +++ b/gstreamer-controller/Cargo.toml @@ -20,9 +20,8 @@ ffi = { package = "gstreamer-controller-sys", path = "sys", features = ["v1_8"] glib = { git = "https://github.com/gtk-rs/gtk-rs" } gst = { package = "gstreamer", path = "../gstreamer" } -[build-dependencies.rustdoc-stripper] -version = "0.1" -optional = true +[build-dependencies] +gstreamer-rs-lgpl-docs = { path = "../docs", optional = true } [features] default = [] @@ -32,8 +31,8 @@ v1_14 = ["gst/v1_14", "ffi/v1_14", "v1_12"] v1_16 = ["gst/v1_16", "ffi/v1_16", "v1_14"] v1_18 = ["gst/v1_18", "ffi/v1_18", "v1_16"] v1_20 = ["gst/v1_20", "ffi/v1_20", "v1_18"] -embed-lgpl-docs = ["rustdoc-stripper"] -purge-lgpl-docs = ["rustdoc-stripper"] +embed-lgpl-docs = ["gstreamer-rs-lgpl-docs"] +purge-lgpl-docs = ["gstreamer-rs-lgpl-docs"] dox = ["v1_20", "ffi/dox", "glib/dox", "gst/dox"] [package.metadata.docs.rs]