Skip to content

Commit

Permalink
Update deps + upgrade examples to rust 2018
Browse files Browse the repository at this point in the history
  • Loading branch information
rukai committed May 7, 2019
1 parent 6b92c37 commit 16cc03b
Show file tree
Hide file tree
Showing 7 changed files with 262 additions and 249 deletions.
493 changes: 256 additions & 237 deletions Cargo.lock

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion examples/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ authors = [
"Dzmitry Malyshau <[email protected]>",
"Joshua Groves <[email protected]>",
]
edition = "2018"
publish = false

[[bin]]
Expand All @@ -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"
4 changes: 0 additions & 4 deletions examples/hello_compute_rust/main.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
extern crate env_logger;
extern crate wgpu;
extern crate wgpu_native;

use std::str::FromStr;

fn main() {
Expand Down
3 changes: 0 additions & 3 deletions examples/hello_triangle_rust/main.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
extern crate env_logger;
extern crate wgpu;

fn main() {
env_logger::init();

Expand Down
2 changes: 1 addition & 1 deletion gfx-examples/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
2 changes: 1 addition & 1 deletion wgpu-native/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down
4 changes: 2 additions & 2 deletions wgpu-remote/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"] }

0 comments on commit 16cc03b

Please sign in to comment.