From 171a4fa4d15c4be14d63fdc5d258610bb26bd162 Mon Sep 17 00:00:00 2001 From: Akshay Date: Sat, 11 Sep 2021 21:18:09 +0530 Subject: restructure repo into bin, lib and macros --- macros/Cargo.toml | 8 ++++++++ macros/src/lib.rs | 7 +++++++ 2 files changed, 15 insertions(+) create mode 100644 macros/Cargo.toml create mode 100644 macros/src/lib.rs (limited to 'macros') diff --git a/macros/Cargo.toml b/macros/Cargo.toml new file mode 100644 index 0000000..6a47e03 --- /dev/null +++ b/macros/Cargo.toml @@ -0,0 +1,8 @@ +[package] +name = "macros" +version = "0.1.0" +edition = "2018" + +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[dependencies] diff --git a/macros/src/lib.rs b/macros/src/lib.rs new file mode 100644 index 0000000..31e1bb2 --- /dev/null +++ b/macros/src/lib.rs @@ -0,0 +1,7 @@ +#[cfg(test)] +mod tests { + #[test] + fn it_works() { + assert_eq!(2 + 2, 4); + } +} -- cgit v1.2.3