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 /lib | |
parent | e6ee0c4246c95d48dc7a63565ccb6f022f67dbec (diff) |
restructure repo into bin, lib and macros
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Cargo.toml | 8 | ||||
-rw-r--r-- | lib/src/lib.rs | 7 |
2 files changed, 15 insertions, 0 deletions
diff --git a/lib/Cargo.toml b/lib/Cargo.toml new file mode 100644 index 0000000..49e2e49 --- /dev/null +++ b/lib/Cargo.toml | |||
@@ -0,0 +1,8 @@ | |||
1 | [package] | ||
2 | name = "lib" | ||
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/lib/src/lib.rs b/lib/src/lib.rs new file mode 100644 index 0000000..31e1bb2 --- /dev/null +++ b/lib/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 | } | ||