diff options
| author | mat <github@matdoes.dev> | 2022-09-05 10:38:40 -0500 |
|---|---|---|
| committer | mat <github@matdoes.dev> | 2022-09-05 10:38:40 -0500 |
| commit | 4301a2f2d4c711fd50a54cf065079c42b89a72f2 (patch) | |
| tree | 8eea78c5d984032e49108c4cfde7ec0e4de1fc57 /azalea | |
| parent | e9f88ce546acb57fe190740d0a74ae0ce6c8d671 (diff) | |
| download | azalea-drasl-4301a2f2d4c711fd50a54cf065079c42b89a72f2.tar.xz | |
Publish empty azalea crate
Diffstat (limited to 'azalea')
| -rw-r--r-- | azalea/Cargo.toml | 11 | ||||
| -rw-r--r-- | azalea/README.md | 1 | ||||
| -rw-r--r-- | azalea/src/lib.rs | 14 |
3 files changed, 26 insertions, 0 deletions
diff --git a/azalea/Cargo.toml b/azalea/Cargo.toml new file mode 100644 index 00000000..7f6aeb9f --- /dev/null +++ b/azalea/Cargo.toml @@ -0,0 +1,11 @@ +[package] +description = "Advertisement crate for Azalea." +edition = "2021" +license = "MIT" + +name = "azalea" +version = "0.1.0" + +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[dependencies] diff --git a/azalea/README.md b/azalea/README.md new file mode 100644 index 00000000..fa77cd12 --- /dev/null +++ b/azalea/README.md @@ -0,0 +1 @@ +This is currently an advertisement crate for [Azalea](https://github.com/mat-1/azalea), it will have more stuff later! diff --git a/azalea/src/lib.rs b/azalea/src/lib.rs new file mode 100644 index 00000000..7d12d9af --- /dev/null +++ b/azalea/src/lib.rs @@ -0,0 +1,14 @@ +pub fn add(left: usize, right: usize) -> usize { + left + right +} + +#[cfg(test)] +mod tests { + use super::*; + + #[test] + fn it_works() { + let result = add(2, 2); + assert_eq!(result, 4); + } +} |
