From 63c70ca51f01507bc5933205e83feff5d021e43b Mon Sep 17 00:00:00 2001 From: Anders Nilsson <anders.nilsson@control.lth.se> Date: Wed, 25 Nov 2015 14:59:28 +0100 Subject: [PATCH] Started new project, city-pop --- city-pop/Cargo.lock | 33 +++++++++++++++++++++++++++++++++ city-pop/Cargo.toml | 12 ++++++++++++ city-pop/src/main.rs | 3 +++ 3 files changed, 48 insertions(+) create mode 100644 city-pop/Cargo.lock create mode 100644 city-pop/Cargo.toml create mode 100644 city-pop/src/main.rs diff --git a/city-pop/Cargo.lock b/city-pop/Cargo.lock new file mode 100644 index 0000000..88162d0 --- /dev/null +++ b/city-pop/Cargo.lock @@ -0,0 +1,33 @@ +[root] +name = "city-pop" +version = "0.1.0" +dependencies = [ + "csv 0.14.3 (registry+https://github.com/rust-lang/crates.io-index)", + "getopts 0.2.14 (registry+https://github.com/rust-lang/crates.io-index)", + "rustc-serialize 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "byteorder" +version = "0.3.13" +source = "registry+https://github.com/rust-lang/crates.io-index" + +[[package]] +name = "csv" +version = "0.14.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "byteorder 0.3.13 (registry+https://github.com/rust-lang/crates.io-index)", + "rustc-serialize 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "getopts" +version = "0.2.14" +source = "registry+https://github.com/rust-lang/crates.io-index" + +[[package]] +name = "rustc-serialize" +version = "0.3.16" +source = "registry+https://github.com/rust-lang/crates.io-index" + diff --git a/city-pop/Cargo.toml b/city-pop/Cargo.toml new file mode 100644 index 0000000..3cf1c8a --- /dev/null +++ b/city-pop/Cargo.toml @@ -0,0 +1,12 @@ +[package] +name = "city-pop" +version = "0.1.0" +authors = ["Anders Nilsson <anders.nilsson@control.lth.se>"] + +[[bin]] +name = "city-pop" + +[dependencies] +csv = "0.*" +rustc-serialize = "0.*" +getopts = "0.*" diff --git a/city-pop/src/main.rs b/city-pop/src/main.rs new file mode 100644 index 0000000..e7a11a9 --- /dev/null +++ b/city-pop/src/main.rs @@ -0,0 +1,3 @@ +fn main() { + println!("Hello, world!"); +} -- GitLab