diff --git a/Cargo.toml b/Cargo.toml index fb7f00f..a91ff80 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "engiffen" -version = "0.8.1" +version = "0.8.2" authors = ["Jesse Bees "] description = """ Encodes GIF images from sequences of images. Includes an installable @@ -24,13 +24,13 @@ debug-stderr = [] globbing = ["glob"] [dependencies] -lab = "~0.4" -image = "~0.13" +lab = "~0.8" +image = "~0.19" gif = "~0.9" -color_quant = "~1.0.0" -getopts = "0.2.14" -rayon = "~0.7" -rand = "~0.3" +color_quant = "~1.1" +getopts = "0.2.21" +rayon = "~1.8" +rand = "~0.4" fnv = "~1.0" glob = { version = "~0.2", optional = true } diff --git a/src/main.rs b/src/main.rs index 65d1c1e..6c0646b 100644 --- a/src/main.rs +++ b/src/main.rs @@ -42,7 +42,7 @@ impl fmt::Display for RuntimeError { } } -fn run_engiffen(args: &Args) -> Result<((Option, Duration)), RuntimeError> { +fn run_engiffen(args: &Args) -> Result<(Option, Duration), RuntimeError> { let mut source_images: Vec<_> = match args.source { SourceImages::StartEnd(ref dir, ref start_path, ref end_path) => { let start_string = start_path.as_os_str(); diff --git a/src/parse_args.rs b/src/parse_args.rs index 9b15e37..f589f24 100644 --- a/src/parse_args.rs +++ b/src/parse_args.rs @@ -83,7 +83,7 @@ impl error::Error for ArgsError { } } - fn cause(&self) -> Option<&error::Error> { +fn cause(&self) -> Option<&dyn error::Error> { match *self { ArgsError::Parse(ref err) => Some(err), ArgsError::ParseInt(ref err) => Some(err),