From cbcd4822a2c184746b7317e9f142d9de38300710 Mon Sep 17 00:00:00 2001 From: Bryan Chen <xlchen1291@gmail.com> Date: Wed, 30 Oct 2019 13:58:11 +1300 Subject: [PATCH] remove workspace --- Cargo.toml | 8 -------- Makefile | 2 +- utilities/src/lib.rs | 4 ---- 3 files changed, 1 insertion(+), 13 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 35dfd68..6db63eb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,11 +22,3 @@ std = [ "traits/std", "utilities/std", ] - -[workspace] -members = [ - "oracle", - "tokens", - "traits", - "utilities", -] diff --git a/Makefile b/Makefile index 4be038b..7b84233 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ check-tests: githooks cargo check --all --tests test: githooks - cargo test + cargo test --all GITHOOKS_SRC = $(wildcard githooks/*) GITHOOKS_DEST = $(patsubst githooks/%, .git/hooks/%, $(GITHOOKS_SRC)) diff --git a/utilities/src/lib.rs b/utilities/src/lib.rs index 8a3fb68..c604056 100644 --- a/utilities/src/lib.rs +++ b/utilities/src/lib.rs @@ -4,10 +4,6 @@ pub fn add(a: u32, b: u32) -> u32 { a + b } -pub fn test() -> Vec<u32> { - vec![1] -} - #[cfg(test)] mod tests { use super::*; -- GitLab