sunny, sunny-asm: create crates

This commit is contained in:
Leonora Tindall 2020-06-19 17:49:51 -05:00
parent 5a67abf17d
commit 4bca3123f0
Signed by: nora
GPG Key ID: 7A8B52EC67E09AAF
8 changed files with 47 additions and 0 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
target/
sunny/Cargo.lock

10
Cargo.lock generated Normal file
View File

@ -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"

5
Cargo.toml Normal file
View File

@ -0,0 +1,5 @@
[workspace]
members = [
"sunny",
"sunny-asm"
]

0
example.sny Normal file
View File

9
sunny-asm/Cargo.toml Normal file
View File

@ -0,0 +1,9 @@
[package]
name = "sunny-asm"
version = "0.1.0"
authors = ["Leonora Tindall <nora@nora.codes>"]
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]

3
sunny-asm/src/main.rs Normal file
View File

@ -0,0 +1,3 @@
fn main() {
println!("Hello, world!");
}

9
sunny/Cargo.toml Normal file
View File

@ -0,0 +1,9 @@
[package]
name = "sunny"
version = "0.1.0"
authors = ["Leonora Tindall <nora@nora.codes>"]
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]

9
sunny/src/lib.rs Normal file
View File

@ -0,0 +1,9 @@
#[cfg(test)]
mod tests {
#[test]
fn it_works() {
assert_eq!(2 + 2, 4);
}
}