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-app = { path = "../gstreamer-app" }
gstreamer-pbutils = { path = "../gstreamer-pbutils" } gstreamer-pbutils = { path = "../gstreamer-pbutils" }
byte-slice-cast = "0.3" byte-slice-cast = "0.3"
failure = "0.1.0" anyhow = "1"
[features] [features]
tutorial5 = ["gtk", "gdk"] tutorial5 = ["gtk", "gdk"]

View file

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

View file

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