remove an unused thing from dependencies

This commit is contained in:
mat 2022-04-24 14:44:02 -05:00
parent 7a272c216b
commit b43ad19636
3 changed files with 2 additions and 13 deletions

10
Cargo.lock generated
View file

@ -180,15 +180,6 @@ version = "1.1.0"
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"
@ -697,7 +688,6 @@ checksum = "0ab1bc2a289d34bd04a330323ac98a1b4bc82c9d9fcb1e66b63caa84da26b575"
name = "packet-macros"
version = "0.1.0"
dependencies = [
"casey",
"proc-macro2",
"quote",
"syn",

View file

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

View file

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