aboutsummaryrefslogtreecommitdiff
path: root/minecraft-client
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2021-12-06 00:28:40 -0600
committermat <github@matdoes.dev>2021-12-06 00:28:40 -0600
commit5029a09963b5753c1f9b7f777f28e1c0951343e7 (patch)
tree2e0e37029bf031adc3e28713828e7d4be7336ccb /minecraft-client
downloadazalea-drasl-5029a09963b5753c1f9b7f777f28e1c0951343e7.tar.xz
Initial commit
Diffstat (limited to 'minecraft-client')
-rw-r--r--minecraft-client/Cargo.toml9
-rw-r--r--minecraft-client/src/lib.rs10
2 files changed, 19 insertions, 0 deletions
diff --git a/minecraft-client/Cargo.toml b/minecraft-client/Cargo.toml
new file mode 100644
index 00000000..10a0ecbf
--- /dev/null
+++ b/minecraft-client/Cargo.toml
@@ -0,0 +1,9 @@
+[package]
+name = "minecraft-client"
+version = "0.1.0"
+edition = "2021"
+
+# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
+
+[dependencies]
+minecraft-protocol = { path = "../minecraft-protocol" } \ No newline at end of file
diff --git a/minecraft-client/src/lib.rs b/minecraft-client/src/lib.rs
new file mode 100644
index 00000000..2670101f
--- /dev/null
+++ b/minecraft-client/src/lib.rs
@@ -0,0 +1,10 @@
+use minecraft_protocol;
+
+#[cfg(test)]
+mod tests {
+ #[test]
+ fn it_works() {
+ let result = 2 + 2;
+ assert_eq!(result, 4);
+ }
+}