diff options
| author | mat <git@matdoes.dev> | 2023-11-18 00:58:47 -0600 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2023-11-18 00:58:47 -0600 |
| commit | 9633508a3a31a70c657329fdeca0050b7082959e (patch) | |
| tree | 9973ed4e60a0bd2b77413a195b2a166854f04d43 /azalea-nbt | |
| parent | b79ae025f08935044c621259d4e0c4bb72bbcd7f (diff) | |
| download | azalea-drasl-9633508a3a31a70c657329fdeca0050b7082959e.tar.xz | |
replace log with tracing
Diffstat (limited to 'azalea-nbt')
| -rw-r--r-- | azalea-nbt/Cargo.toml | 2 | ||||
| -rwxr-xr-x | azalea-nbt/src/decode.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/azalea-nbt/Cargo.toml b/azalea-nbt/Cargo.toml index 4f78adb9..788d4a07 100644 --- a/azalea-nbt/Cargo.toml +++ b/azalea-nbt/Cargo.toml @@ -14,7 +14,7 @@ byteorder = "^1.5.0" compact_str = { version = "0.7.1", features = ["serde"] } enum-as-inner = "0.6.0" flate2 = "^1.0.28" -log = "0.4.20" +tracing = "0.1.40" serde = { version = "^1.0", features = ["derive"], optional = true } thiserror = "1.0.50" diff --git a/azalea-nbt/src/decode.rs b/azalea-nbt/src/decode.rs index b2cc8c77..23247b74 100755 --- a/azalea-nbt/src/decode.rs +++ b/azalea-nbt/src/decode.rs @@ -3,8 +3,8 @@ use crate::Error; use azalea_buf::{BufReadError, McBufReadable}; use byteorder::{ReadBytesExt, BE}; use flate2::read::{GzDecoder, ZlibDecoder}; -use log::warn; use std::io::{BufRead, Cursor, Read}; +use tracing::warn; #[inline] fn read_bytes<'a>(buf: &'a mut Cursor<&[u8]>, length: usize) -> Result<&'a [u8], Error> { |
