summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNao Pross <naopross@thearcway.org>2018-12-17 09:26:07 +0100
committerNao Pross <naopross@thearcway.org>2018-12-17 09:26:07 +0100
commit154ef5f8f9ef1b0d741d4182307d398577d91bff (patch)
tree64ba42b4e3d6d0ea2327a625103aa58fbec06784
parentLoad tilesets from assets (diff)
downloadSubconscious-rs-154ef5f8f9ef1b0d741d4182307d398577d91bff.tar.gz
Subconscious-rs-154ef5f8f9ef1b0d741d4182307d398577d91bff.zip
Move back from Rust 2018 edition to stable
Diffstat (limited to '')
-rw-r--r--Cargo.toml1
-rw-r--r--src/graphics.rs2
-rw-r--r--src/main.rs2
3 files changed, 2 insertions, 3 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 90e497e..5cea65e 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -2,7 +2,6 @@
name = "subconscious-rs"
version = "0.1.0"
authors = ["Nao Pross <naopross@thearcway.org>"]
-edition = "2018"
[dependencies]
sfml = "0.14.0"
diff --git a/src/graphics.rs b/src/graphics.rs
index deff94e..0edb4ad 100644
--- a/src/graphics.rs
+++ b/src/graphics.rs
@@ -1,5 +1,3 @@
-extern crate sfml;
-
use std::collections::HashMap;
use sfml::window::{
ContextSettings,
diff --git a/src/main.rs b/src/main.rs
index 9eb709f..3cf9d47 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -1,5 +1,7 @@
#[macro_use]
extern crate rust_embed;
+extern crate sfml;
+extern crate tiled;
mod game;
mod graphics;