...
This commit is contained in:
parent
f8c9c00a80
commit
6005bcc4c6
6 changed files with 17 additions and 15 deletions
22
Cargo.lock
generated
22
Cargo.lock
generated
|
@ -334,7 +334,7 @@ version = "0.1.0"
|
|||
dependencies = [
|
||||
"failure 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"imlib2-sys 0.1.0",
|
||||
"xlib 0.1.0",
|
||||
"leanshot_xlib 0.1.0",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
@ -373,11 +373,20 @@ dependencies = [
|
|||
"gl 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"glutin 0.18.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"imlib2 0.1.0",
|
||||
"leanshot_xlib 0.1.0",
|
||||
"nanovg 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"png 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"structopt 0.2.10 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"time 0.1.40 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"xlib 0.1.0",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "leanshot_xlib"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"failure 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"libc 0.2.43 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"x11 2.18.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
@ -998,15 +1007,6 @@ dependencies = [
|
|||
"pkg-config 0.3.14 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "xlib"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"failure 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"libc 0.2.43 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"x11 2.18.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "xml-rs"
|
||||
version = "0.7.0"
|
||||
|
|
|
@ -18,4 +18,4 @@ nanovg = { version = "1.0.2", features = ["gl3"] }
|
|||
png = "0.12"
|
||||
structopt = "0.2"
|
||||
time = "0.1"
|
||||
xlib = { version = "0.1", path = "./xlib" }
|
||||
leanshot_xlib = { version = "0.1", path = "./xlib" }
|
||||
|
|
|
@ -6,4 +6,4 @@ authors = ["Michael Zhang <failed.down@gmail.com>"]
|
|||
[dependencies]
|
||||
failure = "0.1"
|
||||
imlib2-sys = { path = "imlib2-sys" }
|
||||
xlib = { path = "../xlib" }
|
||||
leanshot_xlib = { path = "../xlib" }
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
[package]
|
||||
name = "imlib2-sys"
|
||||
version = "0.1.0"
|
||||
description = "ffi for imlib2"
|
||||
license-file = "../../LICENSE"
|
||||
authors = ["Michael Zhang <failed.down@gmail.com>"]
|
||||
build = "build.rs"
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#[macro_use]
|
||||
extern crate failure;
|
||||
extern crate imlib2_sys;
|
||||
extern crate xlib;
|
||||
extern crate leanshot_xlib as xlib;
|
||||
|
||||
mod errors;
|
||||
mod image;
|
||||
|
|
|
@ -12,7 +12,7 @@ extern crate png;
|
|||
#[macro_use]
|
||||
extern crate structopt;
|
||||
extern crate time;
|
||||
extern crate xlib;
|
||||
extern crate leanshot_xlib as xlib;
|
||||
|
||||
mod capture;
|
||||
mod errors;
|
||||
|
|
Loading…
Reference in a new issue