From 4bca3123f03ad6916771d1a46a88aaf2221ca440 Mon Sep 17 00:00:00 2001 From: Leonora Tindall Date: Fri, 19 Jun 2020 17:49:51 -0500 Subject: [PATCH] sunny, sunny-asm: create crates --- .gitignore | 2 ++ Cargo.lock | 10 ++++++++++ Cargo.toml | 5 +++++ example.sny | 0 sunny-asm/Cargo.toml | 9 +++++++++ sunny-asm/src/main.rs | 3 +++ sunny/Cargo.toml | 9 +++++++++ sunny/src/lib.rs | 9 +++++++++ 8 files changed, 47 insertions(+) create mode 100644 .gitignore create mode 100644 Cargo.lock create mode 100644 Cargo.toml create mode 100644 example.sny create mode 100644 sunny-asm/Cargo.toml create mode 100644 sunny-asm/src/main.rs create mode 100644 sunny/Cargo.toml create mode 100644 sunny/src/lib.rs diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f645cbb --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +target/ +sunny/Cargo.lock \ No newline at end of file diff --git a/Cargo.lock b/Cargo.lock new file mode 100644 index 0000000..fbbf63b --- /dev/null +++ b/Cargo.lock @@ -0,0 +1,10 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +[[package]] +name = "sunny" +version = "0.1.0" + +[[package]] +name = "sunny-asm" +version = "0.1.0" + diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..3cca0c7 --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,5 @@ +[workspace] +members = [ + "sunny", + "sunny-asm" +] diff --git a/example.sny b/example.sny new file mode 100644 index 0000000..e69de29 diff --git a/sunny-asm/Cargo.toml b/sunny-asm/Cargo.toml new file mode 100644 index 0000000..4cd04d8 --- /dev/null +++ b/sunny-asm/Cargo.toml @@ -0,0 +1,9 @@ +[package] +name = "sunny-asm" +version = "0.1.0" +authors = ["Leonora Tindall "] +edition = "2018" + +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[dependencies] diff --git a/sunny-asm/src/main.rs b/sunny-asm/src/main.rs new file mode 100644 index 0000000..e7a11a9 --- /dev/null +++ b/sunny-asm/src/main.rs @@ -0,0 +1,3 @@ +fn main() { + println!("Hello, world!"); +} diff --git a/sunny/Cargo.toml b/sunny/Cargo.toml new file mode 100644 index 0000000..79dfb29 --- /dev/null +++ b/sunny/Cargo.toml @@ -0,0 +1,9 @@ +[package] +name = "sunny" +version = "0.1.0" +authors = ["Leonora Tindall "] +edition = "2018" + +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[dependencies] diff --git a/sunny/src/lib.rs b/sunny/src/lib.rs new file mode 100644 index 0000000..3a445b4 --- /dev/null +++ b/sunny/src/lib.rs @@ -0,0 +1,9 @@ + + +#[cfg(test)] +mod tests { + #[test] + fn it_works() { + assert_eq!(2 + 2, 4); + } +}