Commit 27546173 authored by Zeeshan Ali's avatar Zeeshan Ali

gst-inspect: Require nix crate

parent 206e9809
......@@ -8,8 +8,13 @@ glib = { git = "https://github.com/gtk-rs/glib" }
glib-sys = { git = "https://github.com/gtk-rs/sys" }
gstreamer = { path = "../gstreamer" }
gstreamer-sys = { git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys" }
nix = { version = "0.11.0", optional = true }
[features]
default = ["gst-inspect"]
gst-inspect = ["nix"]
[[bin]]
name = "gst-inspect"
path = "src/gst-inspect.rs"
required-features = ["gst-inspect"]
......@@ -5,6 +5,8 @@ use gst::prelude::*;
extern crate glib;
extern crate glib_sys as glib_ffi;
extern crate nix;
fn main() {
if let Err(e) = gst::init() {
// FIXME: Color output
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment