mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-29 21:11:14 +00:00
1ffa02fc1f
Apply import cleanups from https://github.com/gtk-rs/gir/pull/1043, omitting `use` statements where unnecessary or guarding them with versioning constraints to prevent `unused_imports` warnings. Removes unnecessary `mut_override` with https://github.com/gtk-rs/gir/pull/1044 as well.
17 lines
478 B
Rust
17 lines
478 B
Rust
// This file was generated by gir (https://github.com/gtk-rs/gir @ c85699a)
|
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 796f93f7)
|
|
// DO NOT EDIT
|
|
|
|
#[cfg(not(feature = "dox"))]
|
|
use std::process;
|
|
|
|
#[cfg(feature = "dox")]
|
|
fn main() {} // prevent linking libraries to avoid documentation failure
|
|
|
|
#[cfg(not(feature = "dox"))]
|
|
fn main() {
|
|
if let Err(s) = system_deps::Config::new().probe() {
|
|
println!("cargo:warning={}", s);
|
|
process::exit(1);
|
|
}
|
|
}
|