aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xCargo.lock10
-rwxr-xr-xazalea-nbt/src/encode.rs4
-rwxr-xr-xazalea-protocol/packet-macros/Cargo.toml1
3 files changed, 2 insertions, 13 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 8d94c26c..a0d60170 100755
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -181,15 +181,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c4872d67bab6358e59559027aa3b9157c53d9358c51423c17554809a8858e0f8"
[[package]]
-name = "casey"
-version = "0.3.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fabe85130dda9cf267715582ce6cf1ab581c8dfe3cb33f7065fee0f14e3fea14"
-dependencies = [
- "syn",
-]
-
-[[package]]
name = "cast"
version = "0.2.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -697,7 +688,6 @@ checksum = "0ab1bc2a289d34bd04a330323ac98a1b4bc82c9d9fcb1e66b63caa84da26b575"
name = "packet-macros"
version = "0.1.0"
dependencies = [
- "casey",
"proc-macro2",
"quote",
"syn",
diff --git a/azalea-nbt/src/encode.rs b/azalea-nbt/src/encode.rs
index c765d4a7..0a0237d3 100755
--- a/azalea-nbt/src/encode.rs
+++ b/azalea-nbt/src/encode.rs
@@ -5,6 +5,8 @@ use flate2::write::{GzEncoder, ZlibEncoder};
use std::collections::HashMap;
use std::io::Write;
+// who needs friends when you've got code that runs in nanoseconds?
+
#[inline]
fn write_string(writer: &mut dyn Write, string: &str) -> Result<(), Error> {
writer.write_i16::<BE>(string.len() as i16)?;
@@ -13,8 +15,6 @@ fn write_string(writer: &mut dyn Write, string: &str) -> Result<(), Error> {
Ok(())
}
-// who needs friends when you've got code that runs in nanoseconds?
-
#[inline]
fn write_compound(
writer: &mut dyn Write,
diff --git a/azalea-protocol/packet-macros/Cargo.toml b/azalea-protocol/packet-macros/Cargo.toml
index 5a301756..2c0f36d7 100755
--- a/azalea-protocol/packet-macros/Cargo.toml
+++ b/azalea-protocol/packet-macros/Cargo.toml
@@ -8,7 +8,6 @@ proc-macro = true
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
-casey = "^0.3.3"
proc-macro2 = "^1.0.36"
quote = "^1.0.10"
syn = "^1.0.82"