1
2
Fork 0
mirror of https://github.com/mat-1/azalea.git synced 2025-08-02 06:16:04 +00:00

Publish empty azalea crate

This commit is contained in:
mat 2022-09-05 10:38:40 -05:00
parent e9f88ce546
commit 4301a2f2d4
5 changed files with 31 additions and 0 deletions

4
Cargo.lock generated
View file

@ -89,6 +89,10 @@ version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"
[[package]]
name = "azalea"
version = "0.1.0"
[[package]]
name = "azalea-auth"
version = "0.1.0"

View file

@ -1,6 +1,7 @@
[workspace]
members = [
"bot",
"azalea",
"azalea-client",
"azalea-protocol",
"azalea-chat",

11
azalea/Cargo.toml Normal file
View file

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

1
azalea/README.md Normal file
View file

@ -0,0 +1 @@
This is currently an advertisement crate for [Azalea](https://github.com/mat-1/azalea), it will have more stuff later!

14
azalea/src/lib.rs Normal file
View file

@ -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);
}
}