mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-10-31 14:49:24 +00:00
gstreamer: Remove now-unused build.rs from "normal" crates
The `lgpl-docs` and documentation embedding step is now solely invoked from `./gir/generator.py` in the CI, and does not need the embed/purge build features anymore.
This commit is contained in:
parent
52f736f7fb
commit
3f508963e7
37 changed files with 0 additions and 394 deletions
|
@ -10,7 +10,6 @@ readme = "README.md"
|
|||
homepage = "https://gstreamer.freedesktop.org"
|
||||
documentation = "https://gstreamer.pages.freedesktop.org/gstreamer-rs/gstreamer_app/"
|
||||
keywords = ["gstreamer", "multimedia", "audio", "video", "gnome"]
|
||||
build = "build.rs"
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
|
|
|
@ -1,22 +0,0 @@
|
|||
fn main() {
|
||||
manage_docs();
|
||||
}
|
||||
|
||||
#[cfg(all(
|
||||
any(feature = "embed-lgpl-docs", feature = "purge-lgpl-docs"),
|
||||
not(all(feature = "embed-lgpl-docs", feature = "purge-lgpl-docs"))
|
||||
))]
|
||||
fn manage_docs() {
|
||||
const PATH: &str = "src";
|
||||
const IGNORES: &[&str] = &[];
|
||||
lgpl_docs::purge(PATH, IGNORES);
|
||||
if cfg!(feature = "embed-lgpl-docs") {
|
||||
lgpl_docs::embed(lgpl_docs::Library::GstApp, PATH, IGNORES);
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(any(
|
||||
all(feature = "embed-lgpl-docs", feature = "purge-lgpl-docs"),
|
||||
not(any(feature = "embed-lgpl-docs", feature = "purge-lgpl-docs"))
|
||||
))]
|
||||
fn manage_docs() {}
|
|
@ -10,7 +10,6 @@ readme = "README.md"
|
|||
homepage = "https://gstreamer.freedesktop.org"
|
||||
documentation = "https://gstreamer.pages.freedesktop.org/gstreamer-rs/gstreamer_audio/"
|
||||
keywords = ["gstreamer", "multimedia", "audio", "video", "gnome"]
|
||||
build = "build.rs"
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
|
|
|
@ -1,22 +0,0 @@
|
|||
fn main() {
|
||||
manage_docs();
|
||||
}
|
||||
|
||||
#[cfg(all(
|
||||
any(feature = "embed-lgpl-docs", feature = "purge-lgpl-docs"),
|
||||
not(all(feature = "embed-lgpl-docs", feature = "purge-lgpl-docs"))
|
||||
))]
|
||||
fn manage_docs() {
|
||||
const PATH: &str = "src";
|
||||
const IGNORES: &[&str] = &[];
|
||||
lgpl_docs::purge(PATH, IGNORES);
|
||||
if cfg!(feature = "embed-lgpl-docs") {
|
||||
lgpl_docs::embed(lgpl_docs::Library::GstAudio, PATH, IGNORES);
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(any(
|
||||
all(feature = "embed-lgpl-docs", feature = "purge-lgpl-docs"),
|
||||
not(any(feature = "embed-lgpl-docs", feature = "purge-lgpl-docs"))
|
||||
))]
|
||||
fn manage_docs() {}
|
|
@ -10,7 +10,6 @@ readme = "README.md"
|
|||
homepage = "https://gstreamer.freedesktop.org"
|
||||
documentation = "https://gstreamer.pages.freedesktop.org/gstreamer-rs/gstreamer_base/"
|
||||
keywords = ["gstreamer", "multimedia", "audio", "video", "gnome"]
|
||||
build = "build.rs"
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
|
|
|
@ -1,22 +0,0 @@
|
|||
fn main() {
|
||||
manage_docs();
|
||||
}
|
||||
|
||||
#[cfg(all(
|
||||
any(feature = "embed-lgpl-docs", feature = "purge-lgpl-docs"),
|
||||
not(all(feature = "embed-lgpl-docs", feature = "purge-lgpl-docs"))
|
||||
))]
|
||||
fn manage_docs() {
|
||||
const PATH: &str = "src";
|
||||
const IGNORES: &[&str] = &[];
|
||||
lgpl_docs::purge(PATH, IGNORES);
|
||||
if cfg!(feature = "embed-lgpl-docs") {
|
||||
lgpl_docs::embed(lgpl_docs::Library::GstBase, PATH, IGNORES);
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(any(
|
||||
all(feature = "embed-lgpl-docs", feature = "purge-lgpl-docs"),
|
||||
not(any(feature = "embed-lgpl-docs", feature = "purge-lgpl-docs"))
|
||||
))]
|
||||
fn manage_docs() {}
|
|
@ -10,7 +10,6 @@ readme = "README.md"
|
|||
homepage = "https://gstreamer.freedesktop.org"
|
||||
documentation = "https://gstreamer.pages.freedesktop.org/gstreamer-rs/gstreamer_check/"
|
||||
keywords = ["gstreamer", "multimedia", "audio", "video", "gnome"]
|
||||
build = "build.rs"
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
|
|
|
@ -1,22 +0,0 @@
|
|||
fn main() {
|
||||
manage_docs();
|
||||
}
|
||||
|
||||
#[cfg(all(
|
||||
any(feature = "embed-lgpl-docs", feature = "purge-lgpl-docs"),
|
||||
not(all(feature = "embed-lgpl-docs", feature = "purge-lgpl-docs"))
|
||||
))]
|
||||
fn manage_docs() {
|
||||
const PATH: &str = "src";
|
||||
const IGNORES: &[&str] = &[];
|
||||
lgpl_docs::purge(PATH, IGNORES);
|
||||
if cfg!(feature = "embed-lgpl-docs") {
|
||||
lgpl_docs::embed(lgpl_docs::Library::GstCheck, PATH, IGNORES);
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(any(
|
||||
all(feature = "embed-lgpl-docs", feature = "purge-lgpl-docs"),
|
||||
not(any(feature = "embed-lgpl-docs", feature = "purge-lgpl-docs"))
|
||||
))]
|
||||
fn manage_docs() {}
|
|
@ -10,7 +10,6 @@ readme = "README.md"
|
|||
homepage = "https://gstreamer.freedesktop.org"
|
||||
documentation = "https://gstreamer.pages.freedesktop.org/gstreamer-rs/gstreamer_controller/"
|
||||
keywords = ["gstreamer", "multimedia", "audio", "video", "gnome"]
|
||||
build = "build.rs"
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
|
|
|
@ -1,22 +0,0 @@
|
|||
fn main() {
|
||||
manage_docs();
|
||||
}
|
||||
|
||||
#[cfg(all(
|
||||
any(feature = "embed-lgpl-docs", feature = "purge-lgpl-docs"),
|
||||
not(all(feature = "embed-lgpl-docs", feature = "purge-lgpl-docs"))
|
||||
))]
|
||||
fn manage_docs() {
|
||||
const PATH: &str = "src";
|
||||
const IGNORES: &[&str] = &[];
|
||||
lgpl_docs::purge(PATH, IGNORES);
|
||||
if cfg!(feature = "embed-lgpl-docs") {
|
||||
lgpl_docs::embed(lgpl_docs::Library::GstController, PATH, IGNORES);
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(any(
|
||||
all(feature = "embed-lgpl-docs", feature = "purge-lgpl-docs"),
|
||||
not(any(feature = "embed-lgpl-docs", feature = "purge-lgpl-docs"))
|
||||
))]
|
||||
fn manage_docs() {}
|
|
@ -10,7 +10,6 @@ readme = "README.md"
|
|||
homepage = "https://gstreamer.freedesktop.org"
|
||||
documentation = "https://gstreamer.pages.freedesktop.org/gstreamer-rs/gstreamer_editing_services/"
|
||||
keywords = ["gstreamer", "multimedia", "gnome", "nle"]
|
||||
build = "build.rs"
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
|
|
|
@ -1,22 +0,0 @@
|
|||
fn main() {
|
||||
manage_docs();
|
||||
}
|
||||
|
||||
#[cfg(all(
|
||||
any(feature = "embed-lgpl-docs", feature = "purge-lgpl-docs"),
|
||||
not(all(feature = "embed-lgpl-docs", feature = "purge-lgpl-docs"))
|
||||
))]
|
||||
fn manage_docs() {
|
||||
const PATH: &str = "src";
|
||||
const IGNORES: &[&str] = &[];
|
||||
lgpl_docs::purge(PATH, IGNORES);
|
||||
if cfg!(feature = "embed-lgpl-docs") {
|
||||
lgpl_docs::embed(lgpl_docs::Library::GES, PATH, IGNORES);
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(any(
|
||||
all(feature = "embed-lgpl-docs", feature = "purge-lgpl-docs"),
|
||||
not(any(feature = "embed-lgpl-docs", feature = "purge-lgpl-docs"))
|
||||
))]
|
||||
fn manage_docs() {}
|
|
@ -13,7 +13,6 @@ readme = "README.md"
|
|||
homepage = "https://gstreamer.freedesktop.org"
|
||||
documentation = "https://gstreamer.pages.freedesktop.org/gstreamer-rs/gstreamer_gl/"
|
||||
keywords = ["gstreamer", "multimedia", "audio", "video", "gnome"]
|
||||
build = "build.rs"
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
|
|
|
@ -1,22 +0,0 @@
|
|||
fn main() {
|
||||
manage_docs();
|
||||
}
|
||||
|
||||
#[cfg(all(
|
||||
any(feature = "embed-lgpl-docs", feature = "purge-lgpl-docs"),
|
||||
not(all(feature = "embed-lgpl-docs", feature = "purge-lgpl-docs"))
|
||||
))]
|
||||
fn manage_docs() {
|
||||
const PATH: &str = "src";
|
||||
const IGNORES: &[&str] = &[];
|
||||
lgpl_docs::purge(PATH, IGNORES);
|
||||
if cfg!(feature = "embed-lgpl-docs") {
|
||||
lgpl_docs::embed(lgpl_docs::Library::GstGL, PATH, IGNORES);
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(any(
|
||||
all(feature = "embed-lgpl-docs", feature = "purge-lgpl-docs"),
|
||||
not(any(feature = "embed-lgpl-docs", feature = "purge-lgpl-docs"))
|
||||
))]
|
||||
fn manage_docs() {}
|
|
@ -13,7 +13,6 @@ readme = "README.md"
|
|||
homepage = "https://gstreamer.freedesktop.org"
|
||||
documentation = "https://gstreamer.pages.freedesktop.org/gstreamer-rs/gstreamer_gl_egl/"
|
||||
keywords = ["gstreamer", "multimedia", "audio", "video", "gnome"]
|
||||
build = "../build.rs"
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
|
|
|
@ -13,7 +13,6 @@ readme = "README.md"
|
|||
homepage = "https://gstreamer.freedesktop.org"
|
||||
documentation = "https://gstreamer.pages.freedesktop.org/gstreamer-rs/gstreamer_gl_wayland/"
|
||||
keywords = ["gstreamer", "multimedia", "audio", "video", "gnome"]
|
||||
build = "../build.rs"
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
|
|
|
@ -13,7 +13,6 @@ readme = "README.md"
|
|||
homepage = "https://gstreamer.freedesktop.org"
|
||||
documentation = "https://gstreamer.pages.freedesktop.org/gstreamer-rs/gstreamer_gl_x11/"
|
||||
keywords = ["gstreamer", "multimedia", "audio", "video", "gnome"]
|
||||
build = "../build.rs"
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
|
|
|
@ -10,7 +10,6 @@ readme = "README.md"
|
|||
homepage = "https://gstreamer.freedesktop.org"
|
||||
documentation = "https://gstreamer.pages.freedesktop.org/gstreamer-rs/gstreamer_net/"
|
||||
keywords = ["gstreamer", "multimedia", "audio", "video", "gnome"]
|
||||
build = "build.rs"
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
|
|
|
@ -1,22 +0,0 @@
|
|||
fn main() {
|
||||
manage_docs();
|
||||
}
|
||||
|
||||
#[cfg(all(
|
||||
any(feature = "embed-lgpl-docs", feature = "purge-lgpl-docs"),
|
||||
not(all(feature = "embed-lgpl-docs", feature = "purge-lgpl-docs"))
|
||||
))]
|
||||
fn manage_docs() {
|
||||
const PATH: &str = "src";
|
||||
const IGNORES: &[&str] = &[];
|
||||
lgpl_docs::purge(PATH, IGNORES);
|
||||
if cfg!(feature = "embed-lgpl-docs") {
|
||||
lgpl_docs::embed(lgpl_docs::Library::GstNet, PATH, IGNORES);
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(any(
|
||||
all(feature = "embed-lgpl-docs", feature = "purge-lgpl-docs"),
|
||||
not(any(feature = "embed-lgpl-docs", feature = "purge-lgpl-docs"))
|
||||
))]
|
||||
fn manage_docs() {}
|
|
@ -10,7 +10,6 @@ readme = "README.md"
|
|||
homepage = "https://gstreamer.freedesktop.org"
|
||||
documentation = "https://gstreamer.pages.freedesktop.org/gstreamer-rs/gstreamer_pbutils/"
|
||||
keywords = ["gstreamer", "multimedia", "audio", "pbutils", "gnome"]
|
||||
build = "build.rs"
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
|
|
|
@ -1,22 +0,0 @@
|
|||
fn main() {
|
||||
manage_docs();
|
||||
}
|
||||
|
||||
#[cfg(all(
|
||||
any(feature = "embed-lgpl-docs", feature = "purge-lgpl-docs"),
|
||||
not(all(feature = "embed-lgpl-docs", feature = "purge-lgpl-docs"))
|
||||
))]
|
||||
fn manage_docs() {
|
||||
const PATH: &str = "src";
|
||||
const IGNORES: &[&str] = &[];
|
||||
lgpl_docs::purge(PATH, IGNORES);
|
||||
if cfg!(feature = "embed-lgpl-docs") {
|
||||
lgpl_docs::embed(lgpl_docs::Library::GstPbutils, PATH, IGNORES);
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(any(
|
||||
all(feature = "embed-lgpl-docs", feature = "purge-lgpl-docs"),
|
||||
not(any(feature = "embed-lgpl-docs", feature = "purge-lgpl-docs"))
|
||||
))]
|
||||
fn manage_docs() {}
|
|
@ -10,7 +10,6 @@ readme = "README.md"
|
|||
homepage = "https://gstreamer.freedesktop.org"
|
||||
documentation = "https://gstreamer.pages.freedesktop.org/gstreamer-rs/gstreamer_player/"
|
||||
keywords = ["gstreamer", "multimedia", "audio", "video", "gnome"]
|
||||
build = "build.rs"
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
|
|
|
@ -1,22 +0,0 @@
|
|||
fn main() {
|
||||
manage_docs();
|
||||
}
|
||||
|
||||
#[cfg(all(
|
||||
any(feature = "embed-lgpl-docs", feature = "purge-lgpl-docs"),
|
||||
not(all(feature = "embed-lgpl-docs", feature = "purge-lgpl-docs"))
|
||||
))]
|
||||
fn manage_docs() {
|
||||
const PATH: &str = "src";
|
||||
const IGNORES: &[&str] = &[];
|
||||
lgpl_docs::purge(PATH, IGNORES);
|
||||
if cfg!(feature = "embed-lgpl-docs") {
|
||||
lgpl_docs::embed(lgpl_docs::Library::GstPlayer, PATH, IGNORES);
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(any(
|
||||
all(feature = "embed-lgpl-docs", feature = "purge-lgpl-docs"),
|
||||
not(any(feature = "embed-lgpl-docs", feature = "purge-lgpl-docs"))
|
||||
))]
|
||||
fn manage_docs() {}
|
|
@ -10,7 +10,6 @@ readme = "README.md"
|
|||
homepage = "https://gstreamer.freedesktop.org"
|
||||
documentation = "https://gstreamer.pages.freedesktop.org/gstreamer-rs/gstreamer_rtp/"
|
||||
keywords = ["gstreamer", "multimedia", "audio", "video", "gnome"]
|
||||
build = "build.rs"
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
|
|
|
@ -1,22 +0,0 @@
|
|||
fn main() {
|
||||
manage_docs();
|
||||
}
|
||||
|
||||
#[cfg(all(
|
||||
any(feature = "embed-lgpl-docs", feature = "purge-lgpl-docs"),
|
||||
not(all(feature = "embed-lgpl-docs", feature = "purge-lgpl-docs"))
|
||||
))]
|
||||
fn manage_docs() {
|
||||
const PATH: &str = "src";
|
||||
const IGNORES: &[&str] = &[];
|
||||
lgpl_docs::purge(PATH, IGNORES);
|
||||
if cfg!(feature = "embed-lgpl-docs") {
|
||||
lgpl_docs::embed(lgpl_docs::Library::GstRtp, PATH, IGNORES);
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(any(
|
||||
all(feature = "embed-lgpl-docs", feature = "purge-lgpl-docs"),
|
||||
not(any(feature = "embed-lgpl-docs", feature = "purge-lgpl-docs"))
|
||||
))]
|
||||
fn manage_docs() {}
|
|
@ -10,7 +10,6 @@ readme = "README.md"
|
|||
homepage = "https://gstreamer.freedesktop.org"
|
||||
documentation = "https://gstreamer.pages.freedesktop.org/gstreamer-rs/gstreamer_rtsp_server/"
|
||||
keywords = ["gstreamer", "multimedia", "audio", "video", "gnome"]
|
||||
build = "build.rs"
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
|
|
|
@ -1,22 +0,0 @@
|
|||
fn main() {
|
||||
manage_docs();
|
||||
}
|
||||
|
||||
#[cfg(all(
|
||||
any(feature = "embed-lgpl-docs", feature = "purge-lgpl-docs"),
|
||||
not(all(feature = "embed-lgpl-docs", feature = "purge-lgpl-docs"))
|
||||
))]
|
||||
fn manage_docs() {
|
||||
const PATH: &str = "src";
|
||||
const IGNORES: &[&str] = &[];
|
||||
lgpl_docs::purge(PATH, IGNORES);
|
||||
if cfg!(feature = "embed-lgpl-docs") {
|
||||
lgpl_docs::embed(lgpl_docs::Library::GstRtspServer, PATH, IGNORES);
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(any(
|
||||
all(feature = "embed-lgpl-docs", feature = "purge-lgpl-docs"),
|
||||
not(any(feature = "embed-lgpl-docs", feature = "purge-lgpl-docs"))
|
||||
))]
|
||||
fn manage_docs() {}
|
|
@ -10,7 +10,6 @@ readme = "README.md"
|
|||
homepage = "https://gstreamer.freedesktop.org"
|
||||
documentation = "https://gstreamer.pages.freedesktop.org/gstreamer-rs/gstreamer_rtsp/"
|
||||
keywords = ["gstreamer", "multimedia", "audio", "video", "gnome"]
|
||||
build = "build.rs"
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
|
|
|
@ -1,22 +0,0 @@
|
|||
fn main() {
|
||||
manage_docs();
|
||||
}
|
||||
|
||||
#[cfg(all(
|
||||
any(feature = "embed-lgpl-docs", feature = "purge-lgpl-docs"),
|
||||
not(all(feature = "embed-lgpl-docs", feature = "purge-lgpl-docs"))
|
||||
))]
|
||||
fn manage_docs() {
|
||||
const PATH: &str = "src";
|
||||
const IGNORES: &[&str] = &[];
|
||||
lgpl_docs::purge(PATH, IGNORES);
|
||||
if cfg!(feature = "embed-lgpl-docs") {
|
||||
lgpl_docs::embed(lgpl_docs::Library::GstRtsp, PATH, IGNORES);
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(any(
|
||||
all(feature = "embed-lgpl-docs", feature = "purge-lgpl-docs"),
|
||||
not(any(feature = "embed-lgpl-docs", feature = "purge-lgpl-docs"))
|
||||
))]
|
||||
fn manage_docs() {}
|
|
@ -10,7 +10,6 @@ readme = "README.md"
|
|||
homepage = "https://gstreamer.freedesktop.org"
|
||||
documentation = "https://gstreamer.pages.freedesktop.org/gstreamer-rs/gstreamer_sdp/"
|
||||
keywords = ["gstreamer", "multimedia", "audio", "video", "gnome"]
|
||||
build = "build.rs"
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
|
|
|
@ -1,22 +0,0 @@
|
|||
fn main() {
|
||||
manage_docs();
|
||||
}
|
||||
|
||||
#[cfg(all(
|
||||
any(feature = "embed-lgpl-docs", feature = "purge-lgpl-docs"),
|
||||
not(all(feature = "embed-lgpl-docs", feature = "purge-lgpl-docs"))
|
||||
))]
|
||||
fn manage_docs() {
|
||||
const PATH: &str = "src";
|
||||
const IGNORES: &[&str] = &[];
|
||||
lgpl_docs::purge(PATH, IGNORES);
|
||||
if cfg!(feature = "embed-lgpl-docs") {
|
||||
lgpl_docs::embed(lgpl_docs::Library::GstSdp, PATH, IGNORES);
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(any(
|
||||
all(feature = "embed-lgpl-docs", feature = "purge-lgpl-docs"),
|
||||
not(any(feature = "embed-lgpl-docs", feature = "purge-lgpl-docs"))
|
||||
))]
|
||||
fn manage_docs() {}
|
|
@ -10,7 +10,6 @@ readme = "README.md"
|
|||
homepage = "https://gstreamer.freedesktop.org"
|
||||
documentation = "https://gstreamer.pages.freedesktop.org/gstreamer-rs/gstreamer_video/"
|
||||
keywords = ["gstreamer", "multimedia", "audio", "video", "gnome"]
|
||||
build = "build.rs"
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
|
|
|
@ -1,22 +0,0 @@
|
|||
fn main() {
|
||||
manage_docs();
|
||||
}
|
||||
|
||||
#[cfg(all(
|
||||
any(feature = "embed-lgpl-docs", feature = "purge-lgpl-docs"),
|
||||
not(all(feature = "embed-lgpl-docs", feature = "purge-lgpl-docs"))
|
||||
))]
|
||||
fn manage_docs() {
|
||||
const PATH: &str = "src";
|
||||
const IGNORES: &[&str] = &[];
|
||||
lgpl_docs::purge(PATH, IGNORES);
|
||||
if cfg!(feature = "embed-lgpl-docs") {
|
||||
lgpl_docs::embed(lgpl_docs::Library::GstVideo, PATH, IGNORES);
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(any(
|
||||
all(feature = "embed-lgpl-docs", feature = "purge-lgpl-docs"),
|
||||
not(any(feature = "embed-lgpl-docs", feature = "purge-lgpl-docs"))
|
||||
))]
|
||||
fn manage_docs() {}
|
|
@ -10,7 +10,6 @@ readme = "README.md"
|
|||
homepage = "https://gstreamer.freedesktop.org"
|
||||
documentation = "https://gstreamer.pages.freedesktop.org/gstreamer-rs/gstreamer_webrtc/"
|
||||
keywords = ["gstreamer", "multimedia", "audio", "video", "gnome"]
|
||||
build = "build.rs"
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
|
|
|
@ -1,22 +0,0 @@
|
|||
fn main() {
|
||||
manage_docs();
|
||||
}
|
||||
|
||||
#[cfg(all(
|
||||
any(feature = "embed-lgpl-docs", feature = "purge-lgpl-docs"),
|
||||
not(all(feature = "embed-lgpl-docs", feature = "purge-lgpl-docs"))
|
||||
))]
|
||||
fn manage_docs() {
|
||||
const PATH: &str = "src";
|
||||
const IGNORES: &[&str] = &[];
|
||||
lgpl_docs::purge(PATH, IGNORES);
|
||||
if cfg!(feature = "embed-lgpl-docs") {
|
||||
lgpl_docs::embed(lgpl_docs::Library::GstWebRTC, PATH, IGNORES);
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(any(
|
||||
all(feature = "embed-lgpl-docs", feature = "purge-lgpl-docs"),
|
||||
not(any(feature = "embed-lgpl-docs", feature = "purge-lgpl-docs"))
|
||||
))]
|
||||
fn manage_docs() {}
|
|
@ -10,7 +10,6 @@ readme = "README.md"
|
|||
homepage = "https://gstreamer.freedesktop.org"
|
||||
documentation = "https://gstreamer.pages.freedesktop.org/gstreamer-rs/gstreamer/"
|
||||
keywords = ["gstreamer", "multimedia", "audio", "video", "gnome"]
|
||||
build = "build.rs"
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
|
|
|
@ -1,22 +0,0 @@
|
|||
fn main() {
|
||||
manage_docs();
|
||||
}
|
||||
|
||||
#[cfg(all(
|
||||
any(feature = "embed-lgpl-docs", feature = "purge-lgpl-docs"),
|
||||
not(all(feature = "embed-lgpl-docs", feature = "purge-lgpl-docs"))
|
||||
))]
|
||||
fn manage_docs() {
|
||||
const PATH: &str = "src";
|
||||
const IGNORES: &[&str] = &[];
|
||||
lgpl_docs::purge(PATH, IGNORES);
|
||||
if cfg!(feature = "embed-lgpl-docs") {
|
||||
lgpl_docs::embed(lgpl_docs::Library::Gst, PATH, IGNORES);
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(any(
|
||||
all(feature = "embed-lgpl-docs", feature = "purge-lgpl-docs"),
|
||||
not(any(feature = "embed-lgpl-docs", feature = "purge-lgpl-docs"))
|
||||
))]
|
||||
fn manage_docs() {}
|
Loading…
Reference in a new issue