Browse Source

sunny, sunny-asm: create crates

trunk
Leonora Tindall 1 year ago
parent
commit
4bca3123f0
Signed by: nora GPG Key ID: 7A8B52EC67E09AAF
  1. 2
      .gitignore
  2. 10
      Cargo.lock
  3. 5
      Cargo.toml
  4. 0
      example.sny
  5. 9
      sunny-asm/Cargo.toml
  6. 3
      sunny-asm/src/main.rs
  7. 9
      sunny/Cargo.toml
  8. 9
      sunny/src/lib.rs

2
.gitignore

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

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

5
Cargo.toml

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

0
example.sny

9
sunny-asm/Cargo.toml

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

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

9
sunny/Cargo.toml

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

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