update deps

This commit is contained in:
Michael Zhang 2019-01-22 16:22:07 -06:00
parent 22b6e7556f
commit 5b7e0c98a7
No known key found for this signature in database
GPG key ID: 5BAEFE5D04F0CE6C
5 changed files with 489 additions and 307 deletions

783
Cargo.lock generated

File diff suppressed because it is too large Load diff

View file

@ -1,7 +1,7 @@
[package] [package]
name = "leanshot" name = "leanshot"
description = "Screenshot capture for Linux." description = "Screenshot capture for Linux."
version = "0.3.2" version = "0.3.3"
repository = "https://github.com/iptq/leanshot" repository = "https://github.com/iptq/leanshot"
license-file = "LICENSE" license-file = "LICENSE"
authors = ["Michael Zhang <failed.down@gmail.com>"] authors = ["Michael Zhang <failed.down@gmail.com>"]
@ -11,12 +11,12 @@ members = [".", "imlib2", "imlib2/imlib2-sys", "xlib"]
[dependencies] [dependencies]
failure = "0.1" failure = "0.1"
gl = "0.10" gl = "0.11"
glutin = "0.18" glutin = "0.19"
imlib2 = { version = "0.1", path = "./imlib2" } imlib2 = { version = "0.1", path = "./imlib2" }
leanshot_xlib = { version = "0.1", path = "./xlib" } leanshot_xlib = { version = "0.1", path = "./xlib" }
nanovg = { version = "1.0.2", features = ["gl3"] } nanovg = { version = "1.0.2", features = ["gl3"] }
png = "0.12" png = "0.14"
structopt = "0.2" structopt = "0.2"
time = "0.1" time = "0.1"
x11 = { version = "2.18", features = ["xlib"] } x11 = { version = "2.18", features = ["xlib"] }

View file

@ -2,6 +2,7 @@ leanshot
======== ========
[![](https://api.travis-ci.org/iptq/leanshot.svg?branch=develop)](https://travis-ci.org/iptq/leanshot) [![](https://api.travis-ci.org/iptq/leanshot.svg?branch=develop)](https://travis-ci.org/iptq/leanshot)
[![dependency status](https://deps.rs/repo/github/iptq/leanshot/status.svg)](https://deps.rs/repo/github/iptq/leanshot)
Screenshot-capturing utility. Screenshot-capturing utility.

View file

@ -10,4 +10,4 @@ build = "build.rs"
path = "lib.rs" path = "lib.rs"
[build-dependencies] [build-dependencies]
bindgen = "0.40" bindgen = "0.47"

View file

@ -13,7 +13,7 @@ pub enum Region {
/// Optiosn for screenshot /// Optiosn for screenshot
#[derive(StructOpt)] #[derive(StructOpt)]
pub struct Options { pub struct Options {
/// The region to select /// The region to select (fullscreen | window | select)
#[structopt(parse(try_from_str = "Region::from_str"))] #[structopt(parse(try_from_str = "Region::from_str"))]
pub region: Region, pub region: Region,