summaryrefslogtreecommitdiffstats
path: root/src
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 /src
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--src/graphics.rs2
-rw-r--r--src/main.rs2
2 files changed, 2 insertions, 2 deletions
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;