From daf2384e22166e53cd6fabb96fcf82f1a8321aec Mon Sep 17 00:00:00 2001
From: Louis Capitanchik <contact@louiscap.co>
Date: Wed, 18 Oct 2017 15:12:30 +0100
Subject: [PATCH] Build optimisation

---
 Cargo.toml  | 6 ++++++
 src/main.rs | 2 ++
 2 files changed, 8 insertions(+)

diff --git a/Cargo.toml b/Cargo.toml
index d1ef5df..d20f86c 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -18,6 +18,12 @@ exlude = [
 	"example/*",
 ]
 
+[badges]
+travis-ci = { repository = "commander-lol/rust-swerve", branch = "master" }
+
+[profile.release]
+lto = true
+
 [dependencies]
 
 rocket = "0.3.3"
diff --git a/src/main.rs b/src/main.rs
index b36b877..1308622 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -1,6 +1,8 @@
 #![feature(plugin)]
+#![feature(alloc_system)]
 #![plugin(rocket_codegen)]
 
+extern crate alloc_system;
 extern crate rocket;
 extern crate docopt;
 extern crate swerve;
-- 
GitLab