diff options
author | Akshay <[email protected]> | 2021-09-11 16:48:09 +0100 |
---|---|---|
committer | Akshay <[email protected]> | 2021-09-11 16:48:09 +0100 |
commit | 171a4fa4d15c4be14d63fdc5d258610bb26bd162 (patch) | |
tree | 3a8c105edb03481fe11e1486a23d165a686aecd5 /macros | |
parent | e6ee0c4246c95d48dc7a63565ccb6f022f67dbec (diff) |
restructure repo into bin, lib and macros
Diffstat (limited to 'macros')
-rw-r--r-- | macros/Cargo.toml | 8 | ||||
-rw-r--r-- | macros/src/lib.rs | 7 |
2 files changed, 15 insertions, 0 deletions
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 @@ | |||
1 | [package] | ||
2 | name = "macros" | ||
3 | version = "0.1.0" | ||
4 | edition = "2018" | ||
5 | |||
6 | # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
7 | |||
8 | [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 @@ | |||
1 | #[cfg(test)] | ||
2 | mod tests { | ||
3 | #[test] | ||
4 | fn it_works() { | ||
5 | assert_eq!(2 + 2, 4); | ||
6 | } | ||
7 | } | ||