Update deps + upgrade examples to rust 2018

This commit is contained in:
Rukai 2019-05-07 17:46:22 +10:00
parent 6b92c37fa0
commit 16cc03be31
7 changed files with 262 additions and 249 deletions

493
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -5,6 +5,7 @@ authors = [
"Dzmitry Malyshau <kvark@mozilla.com>",
"Joshua Groves <josh@joshgroves.com>",
]
edition = "2018"
publish = false
[[bin]]
@ -26,4 +27,4 @@ vulkan = ["wgpu/vulkan"]
[dependencies]
wgpu-native = { path = "../wgpu-native" }
wgpu = { path = "../wgpu-rs" }
env_logger = "0.5"
env_logger = "0.6"

View File

@ -1,7 +1,3 @@
extern crate env_logger;
extern crate wgpu;
extern crate wgpu_native;
use std::str::FromStr;
fn main() {

View File

@ -1,6 +1,3 @@
extern crate env_logger;
extern crate wgpu;
fn main() {
env_logger::init();

View File

@ -27,6 +27,6 @@ vulkan = ["wgpu/vulkan"]
[dependencies]
wgpu = { path = "../wgpu-rs" }
cgmath = "0.17"
env_logger = "0.5"
env_logger = "0.6"
glsl-to-spirv = "0.1"
log = "0.4"

View File

@ -28,7 +28,7 @@ bitflags = "1.0"
copyless = "0.1"
lazy_static = "1.1.0"
log = "0.4"
parking_lot = { version = "0.7" }
parking_lot = { version = "0.8" }
hal = { package = "gfx-hal", version = "0.1" }
gfx-backend-empty = { version = "0.1.1" }
gfx-backend-vulkan = { version = "0.1", optional = true }

View File

@ -19,7 +19,7 @@ metal = ["wgpu-native/gfx-backend-metal"]
[dependencies]
wgpu-native = { path = "../wgpu-native", version = "0.2", features = ["remote"] }
ipc-channel = "0.11"
ipc-channel = "0.12"
log = "0.4"
parking_lot = { version = "0.7" }
parking_lot = { version = "0.8" }
serde = { version = "1.0", features = ["serde_derive"] }