From 73f84cc379057f972900e7eab99ace36cb9b1f31 Mon Sep 17 00:00:00 2001 From: Ishan Jain Date: Mon, 1 Jun 2020 17:22:34 +0530 Subject: [PATCH] updated deps, added CI config --- .gitlab-ci.yml | 15 +++++++++++++++ Cargo.lock | 24 +++++++++++------------- Cargo.toml | 4 ++-- rust-toolchain | 2 +- 4 files changed, 29 insertions(+), 16 deletions(-) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..942944a --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,15 @@ +# This file is a template, and might need editing before it works on your project. +# Official language image. Look for the different tagged releases at: +# https://hub.docker.com/r/library/rust/tags/ +image: "rust:latest" + +# Use cargo to test the project +test:cargo: + script: + - rustc --version && cargo --version # Print version info for debugging + - cargo test --all --verbose + +cache: + paths: + - cargo/ + - target/ diff --git a/Cargo.lock b/Cargo.lock index 222f446..f37bbb5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4,29 +4,27 @@ name = "either" version = "1.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" - -[[package]] -name = "interpreter" -version = "0.1.0" -dependencies = [ - "itertools 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)", - "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", -] +checksum = "bb1f6b1ce1c140482ea30ddd3335fc0024ac7ee112895426e0a629a6c20adfe3" [[package]] name = "itertools" version = "0.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f56a2d0bc861f9165be4eb3442afd3c236d8a98afd426f65d92324ae1091a484" dependencies = [ - "either 1.5.3 (registry+https://github.com/rust-lang/crates.io-index)", + "either", ] [[package]] name = "lazy_static" version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" -[metadata] -"checksum either 1.5.3 (registry+https://github.com/rust-lang/crates.io-index)" = "bb1f6b1ce1c140482ea30ddd3335fc0024ac7ee112895426e0a629a6c20adfe3" -"checksum itertools 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)" = "f56a2d0bc861f9165be4eb3442afd3c236d8a98afd426f65d92324ae1091a484" -"checksum lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" +[[package]] +name = "monkey-interpreter" +version = "0.1.0" +dependencies = [ + "itertools", + "lazy_static", +] diff --git a/Cargo.toml b/Cargo.toml index 89f2c11..ea8846c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,9 +1,9 @@ [package] -name = "interpreter" +name = "monkey-interpreter" version = "0.1.0" authors = ["ishanjain28 "] edition = "2018" [dependencies] lazy_static = "1.4.0" -itertools = "0.8.2" \ No newline at end of file +itertools = "0.8.2" diff --git a/rust-toolchain b/rust-toolchain index ee41258..29cb0a8 100644 --- a/rust-toolchain +++ b/rust-toolchain @@ -1 +1 @@ -nightly-2020-01-08 +nightly-2020-05-31