From d77d4ca49cc2b4954105f2eb3d9d6209ac4a683d Mon Sep 17 00:00:00 2001 From: Denis Golubev Date: Sat, 3 Sep 2016 17:00:53 +0200 Subject: [PATCH] Remove added piston2d_graphics dependency again (Piston reexports graphics::DrawState) --- Cargo.lock | 1 - Cargo.toml | 3 +-- src/main.rs | 1 - 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 286870b..e93983d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2,7 +2,6 @@ name = "rust-2048" version = "0.0.0" dependencies = [ - "piston2d-graphics 0.17.0 (registry+https://github.com/rust-lang/crates.io-index)", "piston2d-opengl_graphics 0.32.0 (registry+https://github.com/rust-lang/crates.io-index)", "piston_window 0.52.0 (registry+https://github.com/rust-lang/crates.io-index)", "pistoncore-sdl2_window 0.34.0 (registry+https://github.com/rust-lang/crates.io-index)", diff --git a/Cargo.toml b/Cargo.toml index 2df04e5..3dbb27f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,7 +12,6 @@ path = "src/main.rs" [dependencies] rustc-serialize = "0.3" rand = "0.3.7" -piston_window = "0.52.0" -piston2d-graphics = "0.17.0" +piston_window = "0.52.0" pistoncore-sdl2_window = "0.34.0" piston2d-opengl_graphics = "0.32.0" diff --git a/src/main.rs b/src/main.rs index 5fb216c..d3ae7d8 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,7 +1,6 @@ extern crate rustc_serialize; extern crate rand; extern crate piston_window; -extern crate graphics; extern crate opengl_graphics; extern crate sdl2_window;