From 412f246513168a5e70d9c3397ad14f87b5979005 Mon Sep 17 00:00:00 2001 From: Matthew Hall <matthew@quickbeam.me.uk> Date: Tue, 7 Oct 2014 19:52:52 +0100 Subject: [PATCH] Move src/main.rs to examples --- Cargo.toml | 8 ++++++++ {src => examples}/main.rs | 0 2 files changed, 8 insertions(+) rename {src => examples}/main.rs (100%) diff --git a/Cargo.toml b/Cargo.toml index 1a14d14..b78dc77 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,6 +4,14 @@ name = "tiled" version = "0.0.1" authors = ["Matthew Hall <matthew@quickbeam.me.uk>"] +[lib] +name = "tiled" +path = "src/lib.rs" + +[[example]] +name = "example" +path = "examples/main.rs" + [dependencies.rust-xml] git = "https://github.com/netvl/rust-xml.git" diff --git a/src/main.rs b/examples/main.rs similarity index 100% rename from src/main.rs rename to examples/main.rs -- GitLab