Skip to content

Commit

Permalink
Updated dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
bvssvni committed Jun 2, 2019
1 parent b171446 commit 1da4069
Show file tree
Hide file tree
Showing 11 changed files with 19 additions and 19 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Expand Up @@ -45,7 +45,7 @@ name = "shapes"
path = "src/shapes.rs"

[dependencies]
piston_window = "0.93.0"
piston_window = "0.94.0"
find_folder = "0.3.0"
piston-ai_behavior = "0.28.0"
piston2d-sprite = "0.52.0"
Expand All @@ -57,4 +57,4 @@ gfx_device_gl = "0.15.0"
vecmath = "1.0.0"
camera_controllers = "0.28.0"
rand = "0.6.0"
shader_version = "0.3.0"
shader_version = "0.5.0"
8 changes: 4 additions & 4 deletions freetype/Cargo.toml
Expand Up @@ -9,9 +9,9 @@ name = "piston-example-freetype"
path = "src/main.rs"

[dependencies]
piston = "0.43.0"
piston2d-opengl_graphics = "0.62.0"
piston = "0.44.0"
piston2d-opengl_graphics = "0.64.0"
piston2d-graphics = "0.32.0"
pistoncore-sdl2_window = "0.56.0"
freetype-rs = "0.19.0"
pistoncore-sdl2_window = "0.58.0"
freetype-rs = "0.20.0"
find_folder = "0.3.0"
2 changes: 1 addition & 1 deletion freetype/src/main.rs
Expand Up @@ -55,7 +55,7 @@ fn main() {
let mut window: Sdl2Window =
WindowSettings::new("piston-example-freetype", [300, 300])
.exit_on_esc(true)
.opengl(opengl)
.graphics_api(opengl)
.build()
.unwrap();

Expand Down
2 changes: 1 addition & 1 deletion src/cube.rs
Expand Up @@ -51,7 +51,7 @@ fn main() {
WindowSettings::new("piston: cube", [640, 480])
.exit_on_esc(true)
.samples(4)
.opengl(opengl)
.graphics_api(opengl)
.build()
.unwrap();
window.set_capture_cursor(true);
Expand Down
2 changes: 1 addition & 1 deletion src/deform.rs
Expand Up @@ -16,7 +16,7 @@ fn main() {
let mut window: PistonWindow =
WindowSettings::new("piston-example-deform", [300, 300])
.exit_on_esc(true)
.opengl(opengl)
.graphics_api(opengl)
.samples(4)
.build()
.unwrap();
Expand Down
2 changes: 1 addition & 1 deletion src/image.rs
Expand Up @@ -8,7 +8,7 @@ fn main() {
let mut window: PistonWindow =
WindowSettings::new("piston: image", [300, 300])
.exit_on_esc(true)
.opengl(opengl)
.graphics_api(opengl)
.build()
.unwrap();

Expand Down
2 changes: 1 addition & 1 deletion src/paint.rs
Expand Up @@ -11,7 +11,7 @@ fn main() {
let mut window: PistonWindow =
WindowSettings::new("piston: paint", (width, height))
.exit_on_esc(true)
.opengl(opengl)
.graphics_api(opengl)
.build()
.unwrap();

Expand Down
2 changes: 1 addition & 1 deletion src/shapes.rs
Expand Up @@ -6,7 +6,7 @@ fn main() {
let opengl = OpenGL::V3_2;
let mut window: PistonWindow = WindowSettings::new("shapes", [512; 2])
.exit_on_esc(true)
.opengl(opengl)
.graphics_api(opengl)
.build()
.unwrap();
window.set_lazy(true);
Expand Down
2 changes: 1 addition & 1 deletion src/sprite.rs
Expand Up @@ -21,7 +21,7 @@ fn main() {
let mut window: PistonWindow =
WindowSettings::new("piston: sprite", (width, height))
.exit_on_esc(true)
.opengl(opengl)
.graphics_api(opengl)
.build()
.unwrap();

Expand Down
10 changes: 5 additions & 5 deletions user_input/Cargo.toml
Expand Up @@ -9,21 +9,21 @@ name = "piston-example-user_input"
path = "src/main.rs"

[dependencies]
piston = "0.43.0"
piston2d-opengl_graphics = "0.62.0"
piston = "0.44.0"
piston2d-opengl_graphics = "0.64.0"
piston2d-graphics = "0.32.0"
piston2d-touch_visualizer = "0.18.0"

[dependencies.pistoncore-sdl2_window]
version = "0.56.0"
version = "0.58.0"
optional = true

[dependencies.pistoncore-glfw_window]
version = "0.51.0"
version = "0.53.0"
optional = true

[dependencies.pistoncore-glutin_window]
version = "0.55.0"
version = "0.57.0"
optional = true

[features]
Expand Down
2 changes: 1 addition & 1 deletion user_input/src/main.rs
Expand Up @@ -29,7 +29,7 @@ type AxisValues = HashMap<(i32, u8), f64>;
fn main() {
let opengl = OpenGL::V3_2;
let mut window: AppWindow = WindowSettings::new("piston-example-user_input", [600, 600])
.exit_on_esc(true).opengl(opengl).build().unwrap();
.exit_on_esc(true).graphics_api(opengl).build().unwrap();

println!("Press C to turn capture cursor on/off");

Expand Down

0 comments on commit 1da4069

Please sign in to comment.