tutorials: Move from failure to anyhow

This commit is contained in:
Sebastian Dröge 2020-10-10 10:52:15 +03:00
parent dc9a9c4d78
commit 096ce958a4
3 changed files with 5 additions and 5 deletions

View file

@ -14,7 +14,7 @@ gstreamer-video = { path = "../gstreamer-video" }
gstreamer-app = { path = "../gstreamer-app" }
gstreamer-pbutils = { path = "../gstreamer-pbutils" }
byte-slice-cast = "0.3"
failure = "0.1.0"
anyhow = "1"
[features]
tutorial5 = ["gtk", "gdk"]

View file

@ -3,8 +3,8 @@ extern crate gstreamer as gst;
use gst::prelude::*;
use std::io::Write;
extern crate failure;
use failure::Error;
extern crate anyhow;
use anyhow::Error;
#[path = "../tutorials-common.rs"]
mod tutorials_common;

View file

@ -1,5 +1,5 @@
extern crate failure;
use failure::Error;
extern crate anyhow;
use anyhow::Error;
extern crate glib;
extern crate gstreamer as gst;