Bump dependencies

This commit is contained in:
Roey Darwish Dror
2019-08-01 15:10:23 +03:00
parent 156c4d35e6
commit a98e22e674
3 changed files with 93 additions and 135 deletions

View File

@@ -3,7 +3,7 @@ use std::path::PathBuf;
use structopt::StructOpt;
fn parse_bytes(src: &str) -> Result<Byte, &'static str> {
Byte::from_string(src).map_err(|_| "Invalid image size")
Byte::from_str(src).map_err(|_| "Invalid image size")
}
#[derive(StructOpt)]